From 8c3cd50aab33ee9b838f57aa58ef911225b7ab68 Mon Sep 17 00:00:00 2001 From: Microsoft Graph DevX Tooling Date: Thu, 6 Apr 2023 07:21:52 +0000 Subject: [PATCH 1/2] Update generated files with build 112255 --- lib/admin/admin_request_builder.rb | 8 +- lib/admin/edge/edge.rb | 0 lib/admin/edge/edge_request_builder.rb | 159 ++++++++++ .../internet_explorer_mode.rb | 0 .../internet_explorer_mode_request_builder.rb | 174 +++++++++++ .../site_lists/count/count.rb | 0 .../site_lists/count/count_request_builder.rb | 95 ++++++ .../browser_site_list_item_request_builder.rb | 204 +++++++++++++ .../site_lists/item/item.rb | 0 .../site_lists/item/publish/publish.rb | 1 + .../item/publish/publish_post_request_body.rb | 139 +++++++++ .../item/publish/publish_request_builder.rb | 75 +++++ .../item/shared_cookies/count/count.rb | 0 .../count/count_request_builder.rb | 101 ++++++ ...wser_shared_cookie_item_request_builder.rb | 168 ++++++++++ .../item/shared_cookies/item/item.rb | 0 .../item/shared_cookies/shared_cookies.rb | 0 .../shared_cookies_request_builder.rb | 172 +++++++++++ .../site_lists/item/sites/count/count.rb | 0 .../item/sites/count/count_request_builder.rb | 101 ++++++ .../item/browser_site_item_request_builder.rb | 168 ++++++++++ .../site_lists/item/sites/item/item.rb | 0 .../site_lists/item/sites/sites.rb | 0 .../item/sites/sites_request_builder.rb | 172 +++++++++++ .../site_lists/site_lists.rb | 0 .../site_lists/site_lists_request_builder.rb | 166 ++++++++++ .../health_overviews_request_builder.rb | 2 +- .../item/issues/issues_request_builder.rb | 2 +- ...rvice_health_issue_item_request_builder.rb | 2 +- .../service_health_item_request_builder.rb | 2 +- .../issues/issues_request_builder.rb | 2 +- ...rvice_health_issue_item_request_builder.rb | 2 +- .../archive/archive_request_builder.rb | 2 +- .../favorite/favorite_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- ...ncement_attachment_item_request_builder.rb | 2 +- .../attachments_archive_request_builder.rb | 6 +- ...ice_update_message_item_request_builder.rb | 2 +- .../mark_read/mark_read_request_builder.rb | 2 +- .../mark_unread_request_builder.rb | 2 +- .../messages/messages_request_builder.rb | 2 +- .../unarchive/unarchive_request_builder.rb | 2 +- .../unfavorite/unfavorite_request_builder.rb | 2 +- .../service_announcement_request_builder.rb | 2 +- .../agreement_acceptances_request_builder.rb | 2 +- ...reement_acceptance_item_request_builder.rb | 2 +- lib/agreements/agreements_request_builder.rb | 2 +- .../acceptances_request_builder.rb | 2 +- ...reement_acceptance_item_request_builder.rb | 2 +- .../item/agreement_item_request_builder.rb | 2 +- .../item/file/file_request_builder.rb | 2 +- ..._file_localization_item_request_builder.rb | 2 +- ...ement_file_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../localizations_request_builder.rb | 2 +- .../item/files/files_request_builder.rb | 2 +- ..._file_localization_item_request_builder.rb | 2 +- ...ement_file_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../app_catalogs_request_builder.rb | 2 +- .../app_definitions_request_builder.rb | 2 +- .../item/bot/bot_request_builder.rb | 2 +- ...ams_app_definition_item_request_builder.rb | 2 +- .../item/teams_app_item_request_builder.rb | 2 +- .../teams_apps/teams_apps_request_builder.rb | 2 +- .../instantiate_request_builder.rb | 2 +- .../applications_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../item/add_key/add_key_request_builder.rb | 2 +- .../add_password_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../item/application_item_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../extension_properties_request_builder.rb | 2 +- ...extension_property_item_request_builder.rb | 2 +- ...ed_identity_credentials_request_builder.rb | 2 +- ...dentity_credential_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../item/logo/logo_request_builder.rb | 6 +- .../item/owners/ref/ref_request_builder.rb | 2 +- .../remove_key/remove_key_request_builder.rb | 2 +- .../remove_password_request_builder.rb | 2 +- .../set_verified_publisher_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- lib/audit_logs/audit_logs_request_builder.rb | 2 +- .../directory_audits_request_builder.rb | 2 +- .../directory_audit_item_request_builder.rb | 2 +- ...ing_object_summary_item_request_builder.rb | 2 +- .../provisioning_request_builder.rb | 2 +- .../item/sign_in_item_request_builder.rb | 2 +- .../sign_ins/sign_ins_request_builder.rb | 2 +- ...n_method_configurations_request_builder.rb | 2 +- ...thod_configuration_item_request_builder.rb | 2 +- ...n_method_configurations_request_builder.rb | 2 +- ...thod_configuration_item_request_builder.rb | 2 +- ...tication_methods_policy_request_builder.rb | 2 +- .../background_image_request_builder.rb | 6 +- .../banner_logo_request_builder.rb | 6 +- lib/branding/branding_request_builder.rb | 2 +- .../background_image_request_builder.rb | 6 +- .../banner_logo_request_builder.rb | 6 +- ...nding_localization_item_request_builder.rb | 2 +- .../square_logo_request_builder.rb | 6 +- .../localizations_request_builder.rb | 2 +- .../square_logo_request_builder.rb | 6 +- ...ased_auth_configuration_request_builder.rb | 2 +- ...auth_configuration_item_request_builder.rb | 2 +- lib/chats/chats_request_builder.rb | 2 +- lib/chats/item/chat_item_request_builder.rb | 2 +- .../hide_for_user_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../last_message_preview_request_builder.rb | 2 +- ...mark_chat_read_for_user_request_builder.rb | 2 +- ...rk_chat_unread_for_user_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 106 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 112 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._chat_message_info_item_request_builder.rb | 2 +- .../pinned_messages_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- lib/chats/item/tabs/tabs_request_builder.rb | 2 +- .../unhide_for_user_request_builder.rb | 2 +- .../call_records_request_builder.rb | 2 +- .../item/call_record_item_request_builder.rb | 2 +- .../item/segment_item_request_builder.rb | 2 +- .../item/segments/segments_request_builder.rb | 2 +- .../item/session_item_request_builder.rb | 2 +- .../item/sessions/sessions_request_builder.rb | 2 +- .../calls/calls_request_builder.rb | 2 +- .../add_large_gallery_view_request_builder.rb | 2 +- .../item/answer/answer_request_builder.rb | 2 +- .../audio_routing_groups_request_builder.rb | 2 +- ...udio_routing_group_item_request_builder.rb | 2 +- .../calls/item/call_item_request_builder.rb | 2 +- ...cancel_media_processing_request_builder.rb | 2 +- ...nge_screen_sharing_role_request_builder.rb | 2 +- ...ontent_sharing_sessions_request_builder.rb | 2 +- ...nt_sharing_session_item_request_builder.rb | 2 +- .../calls/item/mute/mute_request_builder.rb | 2 +- .../comms_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../invite/invite_request_builder.rb | 6 +- .../item/mute/mute_request_builder.rb | 2 +- .../item/participant_item_request_builder.rb | 2 +- .../start_hold_music_request_builder.rb | 2 +- .../stop_hold_music_request_builder.rb | 2 +- .../participants_request_builder.rb | 2 +- .../play_prompt_request_builder.rb | 2 +- .../record_response_request_builder.rb | 2 +- .../item/redirect/redirect_request_builder.rb | 2 +- .../item/reject/reject_request_builder.rb | 2 +- .../subscribe_to_tone_request_builder.rb | 2 +- .../item/transfer/transfer_request_builder.rb | 2 +- .../item/unmute/unmute_request_builder.rb | 2 +- ...update_recording_status_request_builder.rb | 2 +- ...nference_device_quality_request_builder.rb | 2 +- .../communications_request_builder.rb | 2 +- ...et_presences_by_user_id_request_builder.rb | 2 +- .../create_or_get_request_builder.rb | 2 +- .../attendance_reports_request_builder.rb | 2 +- .../attendance_records_request_builder.rb | 2 +- .../attendance_record_item_request_builder.rb | 2 +- ..._attendance_report_item_request_builder.rb | 2 +- .../attendee_report_request_builder.rb | 6 +- .../online_meeting_item_request_builder.rb | 2 +- .../online_meetings_request_builder.rb | 2 +- .../clear_presence_request_builder.rb | 2 +- .../item/presence_item_request_builder.rb | 2 +- .../set_presence_request_builder.rb | 2 +- ...user_preferred_presence_request_builder.rb | 2 +- .../presences/presences_request_builder.rb | 2 +- lib/compliance/compliance_request_builder.rb | 2 +- .../connections_request_builder.rb | 2 +- ...xternal_connection_item_request_builder.rb | 2 +- .../item/groups/groups_request_builder.rb | 2 +- .../external_group_item_request_builder.rb | 2 +- .../item/identity_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../external_item_item_request_builder.rb | 10 +- .../item/items/items_request_builder.rb | 2 +- ...nnection_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/schema/schema_request_builder.rb | 2 +- lib/contacts/contacts_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../item/org_contact_item_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- lib/contracts/contracts_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../item/contract_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../data_policy_operations_request_builder.rb | 2 +- ...a_policy_operation_item_request_builder.rb | 2 +- ...managed_app_protections_request_builder.rb | 2 +- ...ged_app_protection_item_request_builder.rb | 2 +- .../item/apps/apps_request_builder.rb | 2 +- ...managed_mobile_app_item_request_builder.rb | 2 +- .../deployment_summary_request_builder.rb | 2 +- ...managed_app_protections_request_builder.rb | 2 +- .../item/apps/apps_request_builder.rb | 2 +- ...managed_mobile_app_item_request_builder.rb | 2 +- ...ged_app_protection_item_request_builder.rb | 2 +- .../deployment_summary_request_builder.rb | 2 +- .../device_app_management_request_builder.rb | 2 +- ...managed_app_protections_request_builder.rb | 2 +- .../item/apps/apps_request_builder.rb | 2 +- ...managed_mobile_app_item_request_builder.rb | 2 +- .../deployment_summary_request_builder.rb | 2 +- ...ged_app_protection_item_request_builder.rb | 2 +- ...managed_app_policy_item_request_builder.rb | 2 +- .../target_apps_request_builder.rb | 2 +- .../managed_app_policies_request_builder.rb | 2 +- .../applied_policies_request_builder.rb | 2 +- ...managed_app_policy_item_request_builder.rb | 2 +- .../target_apps_request_builder.rb | 2 +- .../intended_policies_request_builder.rb | 2 +- ...managed_app_policy_item_request_builder.rb | 2 +- .../target_apps_request_builder.rb | 2 +- ...d_app_registration_item_request_builder.rb | 2 +- ...aged_app_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- ...naged_app_registrations_request_builder.rb | 2 +- ...managed_app_status_item_request_builder.rb | 2 +- .../managed_app_statuses_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ..._e_book_assignment_item_request_builder.rb | 2 +- .../device_states_request_builder.rb | 2 +- ...vice_install_state_item_request_builder.rb | 2 +- .../install_summary_request_builder.rb | 2 +- .../managed_e_book_item_request_builder.rb | 2 +- .../device_states_request_builder.rb | 2 +- ...vice_install_state_item_request_builder.rb | 2 +- ...tall_state_summary_item_request_builder.rb | 2 +- .../user_state_summary_request_builder.rb | 2 +- .../managed_e_books_request_builder.rb | 2 +- ..._protection_policy_item_request_builder.rb | 2 +- ...ion_protection_policies_request_builder.rb | 2 +- ...obile_app_category_item_request_builder.rb | 2 +- .../mobile_app_categories_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...uration_assignment_item_request_builder.rb | 2 +- .../device_status_summary_request_builder.rb | 2 +- .../device_statuses_request_builder.rb | 2 +- ...tion_device_status_item_request_builder.rb | 2 +- ..._app_configuration_item_request_builder.rb | 2 +- .../user_status_summary_request_builder.rb | 2 +- ...ration_user_status_item_request_builder.rb | 2 +- .../user_statuses_request_builder.rb | 2 +- ...bile_app_configurations_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...ile_app_assignment_item_request_builder.rb | 2 +- .../item/mobile_app_item_request_builder.rb | 2 +- .../mobile_apps_request_builder.rb | 2 +- .../item/apps/apps_request_builder.rb | 2 +- ...managed_mobile_app_item_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ..._policy_assignment_item_request_builder.rb | 2 +- .../deployment_summary_request_builder.rb | 2 +- .../target_apps_request_builder.rb | 2 +- ..._app_configuration_item_request_builder.rb | 2 +- ...aged_app_configurations_request_builder.rb | 2 +- .../item/vpp_token_item_request_builder.rb | 2 +- .../vpp_tokens/vpp_tokens_request_builder.rb | 2 +- ..._protection_policy_item_request_builder.rb | 2 +- ...ion_protection_policies_request_builder.rb | 2 +- ...otification_certificate_request_builder.rb | 2 +- .../audit_events_request_builder.rb | 2 +- .../item/audit_event_item_request_builder.rb | 2 +- ...nce_management_partners_request_builder.rb | 2 +- ...management_partner_item_request_builder.rb | 2 +- ...itional_access_settings_request_builder.rb | 2 +- .../detected_apps_request_builder.rb | 2 +- .../item/detected_app_item_request_builder.rb | 2 +- .../device_categories_request_builder.rb | 2 +- .../device_category_item_request_builder.rb | 2 +- ...ice_compliance_policies_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ..._policy_assignment_item_request_builder.rb | 2 +- ..._compliance_policy_item_request_builder.rb | 2 +- ...setting_state_summaries_request_builder.rb | 2 +- ...ate_device_summary_item_request_builder.rb | 2 +- .../device_status_overview_request_builder.rb | 2 +- .../device_statuses_request_builder.rb | 2 +- ...ance_device_status_item_request_builder.rb | 2 +- ...edule_actions_for_rules_request_builder.rb | 2 +- ...ed_action_for_rule_item_request_builder.rb | 2 +- ...liance_action_item_item_request_builder.rb | 2 +- ...d_action_configurations_request_builder.rb | 2 +- ...eduled_actions_for_rule_request_builder.rb | 2 +- .../user_status_overview_request_builder.rb | 2 +- ...liance_user_status_item_request_builder.rb | 2 +- .../user_statuses_request_builder.rb | 2 +- ...cy_device_state_summary_request_builder.rb | 2 +- ...setting_state_summaries_request_builder.rb | 2 +- ...ting_state_summary_item_request_builder.rb | 2 +- ...mpliance_setting_states_request_builder.rb | 2 +- ...ance_setting_state_item_request_builder.rb | 2 +- ..._device_state_summaries_request_builder.rb | 2 +- .../device_configurations_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...uration_assignment_item_request_builder.rb | 2 +- ...vice_configuration_item_request_builder.rb | 2 +- ...setting_state_summaries_request_builder.rb | 2 +- ...ate_device_summary_item_request_builder.rb | 2 +- .../device_status_overview_request_builder.rb | 2 +- .../device_statuses_request_builder.rb | 2 +- ...tion_device_status_item_request_builder.rb | 2 +- .../user_status_overview_request_builder.rb | 2 +- ...ration_user_status_item_request_builder.rb | 2 +- .../user_statuses_request_builder.rb | 2 +- ...rollment_configurations_request_builder.rb | 2 +- .../item/assign/assign_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...uration_assignment_item_request_builder.rb | 2 +- ...ment_configuration_item_request_builder.rb | 2 +- .../set_priority_request_builder.rb | 2 +- ...ice_management_partners_request_builder.rb | 2 +- ...management_partner_item_request_builder.rb | 2 +- .../device_management_request_builder.rb | 2 +- .../exchange_connectors_request_builder.rb | 2 +- ...exchange_connector_item_request_builder.rb | 2 +- .../item/sync/sync_request_builder.rb | 2 +- .../import/import_request_builder.rb | 2 +- ...pilot_device_identities_request_builder.rb | 2 +- ...ot_device_identity_item_request_builder.rb | 2 +- .../ios_update_statuses_request_builder.rb | 2 +- ...date_device_status_item_request_builder.rb | 2 +- .../clean_windows_device_request_builder.rb | 2 +- ...rom_shared_apple_device_request_builder.rb | 2 +- .../device_category_request_builder.rb | 2 +- ...ompliance_policy_states_request_builder.rb | 2 +- ...iance_policy_state_item_request_builder.rb | 2 +- ...ce_configuration_states_request_builder.rb | 2 +- ...onfiguration_state_item_request_builder.rb | 2 +- .../managed_device_item_request_builder.rb | 2 +- ..._windows_device_account_request_builder.rb | 2 +- .../windows_defender_scan_request_builder.rb | 2 +- .../item/wipe/wipe_request_builder.rb | 2 +- .../managed_devices_request_builder.rb | 2 +- ..._defense_connector_item_request_builder.rb | 2 +- ...reat_defense_connectors_request_builder.rb | 2 +- ...tification_message_item_request_builder.rb | 2 +- ...d_notification_messages_request_builder.rb | 2 +- ...n_message_template_item_request_builder.rb | 2 +- ...ation_message_templates_request_builder.rb | 2 +- ...assistance_partner_item_request_builder.rb | 2 +- ...ote_assistance_partners_request_builder.rb | 2 +- .../export_jobs_request_builder.rb | 2 +- ...agement_export_job_item_request_builder.rb | 2 +- .../get_cached_report_request_builder.rb | 2 +- ...y_non_compliance_report_request_builder.rb | 2 +- ...mpliance_summary_report_request_builder.rb | 2 +- ...g_non_compliance_report_request_builder.rb | 2 +- ...y_non_compliance_report_request_builder.rb | 2 +- ...mpliance_summary_report_request_builder.rb | 2 +- ...g_non_compliance_report_request_builder.rb | 2 +- ...g_contributing_profiles_request_builder.rb | 2 +- ..._intent_settings_report_request_builder.rb | 2 +- ...e_non_compliance_report_request_builder.rb | 2 +- ...ompliance_policy_report_request_builder.rb | 2 +- .../get_historical_report_request_builder.rb | 2 +- ...ces_and_settings_report_request_builder.rb | 2 +- ...non_compliance_metadata_request_builder.rb | 2 +- ...y_non_compliance_report_request_builder.rb | 2 +- ...mpliance_summary_report_request_builder.rb | 2 +- .../get_report_filters_request_builder.rb | 2 +- ...g_non_compliance_report_request_builder.rb | 2 +- .../reports/reports_request_builder.rb | 2 +- ...resource_operation_item_request_builder.rb | 2 +- .../resource_operations_request_builder.rb | 2 +- ...nt_role_assignment_item_request_builder.rb | 2 +- .../role_assignments_request_builder.rb | 2 +- .../role_assignment_item_request_builder.rb | 2 +- .../role_assignments_request_builder.rb | 2 +- .../role_definition_item_request_builder.rb | 2 +- .../role_definitions_request_builder.rb | 2 +- ...management_partner_item_request_builder.rb | 2 +- ...nse_management_partners_request_builder.rb | 2 +- .../acceptance_statuses_request_builder.rb | 2 +- ..._acceptance_status_item_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...ditions_assignment_item_request_builder.rb | 2 +- ...rms_and_conditions_item_request_builder.rb | 2 +- .../terms_and_conditions_request_builder.rb | 2 +- ...ubleshooting_event_item_request_builder.rb | 2 +- .../troubleshooting_events_request_builder.rb | 2 +- .../assign_user_to_device_request_builder.rb | 2 +- ...pdate_device_properties_request_builder.rb | 2 +- ...ot_device_identity_item_request_builder.rb | 2 +- ...pilot_device_identities_request_builder.rb | 2 +- ...p_learning_summary_item_request_builder.rb | 2 +- ..._app_learning_summaries_request_builder.rb | 2 +- ...k_learning_summary_item_request_builder.rb | 2 +- ...work_learning_summaries_request_builder.rb | 2 +- lib/devices/devices_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../item/device_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../administrative_units_request_builder.rb | 2 +- ...dministrative_unit_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/members/ref/ref_request_builder.rb | 2 +- ...ed_role_membership_item_request_builder.rb | 2 +- .../scoped_role_members_request_builder.rb | 2 +- .../deleted_items_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../directory_object_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- lib/directory/directory_request_builder.rb | 2 +- ...deration_configurations_request_builder.rb | 2 +- ...tity_provider_base_item_request_builder.rb | 2 +- ...ry_synchronization_item_request_builder.rb | 2 +- ...remises_synchronization_request_builder.rb | 2 +- .../directory_objects_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../directory_object_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- ...irectory_role_templates_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- ...tory_role_template_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../directory_roles_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../directory_role_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../item/members/ref/ref_request_builder.rb | 2 +- ...ed_role_membership_item_request_builder.rb | 2 +- .../scoped_members_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../domain_dns_records_request_builder.rb | 2 +- .../domain_dns_record_item_request_builder.rb | 2 +- lib/domains/domains_request_builder.rb | 2 +- .../item/domain_item_request_builder.rb | 2 +- ...ederation_configuration_request_builder.rb | 2 +- ..._domain_federation_item_request_builder.rb | 2 +- .../force_delete_request_builder.rb | 2 +- .../domain_dns_record_item_request_builder.rb | 2 +- ...e_configuration_records_request_builder.rb | 2 +- .../domain_dns_record_item_request_builder.rb | 2 +- ...erification_dns_records_request_builder.rb | 2 +- lib/drives/drives_request_builder.rb | 2 +- .../item/bundles/bundles_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- lib/drives/item/drive_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../analytics/analytics_request_builder.rb | 2 +- .../activities/activities_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item_activity_item_request_builder.rb | 2 +- ...item_activity_stat_item_request_builder.rb | 2 +- .../item_activity_stats_request_builder.rb | 2 +- .../item/checkin/checkin_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../item/content/content_request_builder.rb | 8 +- .../items/item/copy/copy_request_builder.rb | 2 +- .../create_link_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/drive_item_item_request_builder.rb | 2 +- .../item/invite/invite_request_builder.rb | 2 +- .../item/grant/grant_request_builder.rb | 2 +- .../item/permission_item_request_builder.rb | 2 +- .../permissions_request_builder.rb | 2 +- .../item/preview/preview_request_builder.rb | 2 +- .../item/restore/restore_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- .../thumbnail_set_item_request_builder.rb | 2 +- .../thumbnails/thumbnails_request_builder.rb | 2 +- .../validate_permission_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- ...drive_item_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../application_request_builder.rb | 2 +- .../calculate/calculate_request_builder.rb | 2 +- .../comments/comments_request_builder.rb | 2 +- ...book_comment_reply_item_request_builder.rb | 2 +- .../item/replies/replies_request_builder.rb | 2 +- .../workbook_comment_item_request_builder.rb | 2 +- .../create_session_request_builder.rb | 2 +- .../functions/abs/abs_request_builder.rb | 2 +- .../accr_int/accr_int_request_builder.rb | 2 +- .../accr_int_m/accr_int_m_request_builder.rb | 2 +- .../functions/acos/acos_request_builder.rb | 2 +- .../functions/acosh/acosh_request_builder.rb | 2 +- .../functions/acot/acot_request_builder.rb | 2 +- .../functions/acoth/acoth_request_builder.rb | 2 +- .../amor_degrc/amor_degrc_request_builder.rb | 2 +- .../amor_linc/amor_linc_request_builder.rb | 2 +- .../and_escaped/and_request_builder.rb | 2 +- .../arabic/arabic_request_builder.rb | 2 +- .../functions/areas/areas_request_builder.rb | 2 +- .../functions/asc/asc_request_builder.rb | 2 +- .../functions/asin/asin_request_builder.rb | 2 +- .../functions/asinh/asinh_request_builder.rb | 2 +- .../functions/atan/atan_request_builder.rb | 2 +- .../functions/atan2/atan2_request_builder.rb | 2 +- .../functions/atanh/atanh_request_builder.rb | 2 +- .../ave_dev/ave_dev_request_builder.rb | 2 +- .../average/average_request_builder.rb | 2 +- .../average_a/average_a_request_builder.rb | 2 +- .../average_if/average_if_request_builder.rb | 2 +- .../average_ifs_request_builder.rb | 2 +- .../baht_text/baht_text_request_builder.rb | 2 +- .../base/base_request_builder_escaped.rb | 2 +- .../bessel_i/bessel_i_request_builder.rb | 2 +- .../bessel_j/bessel_j_request_builder.rb | 2 +- .../bessel_k/bessel_k_request_builder.rb | 2 +- .../bessel_y/bessel_y_request_builder.rb | 2 +- .../beta_dist/beta_dist_request_builder.rb | 2 +- .../beta_inv/beta_inv_request_builder.rb | 2 +- .../bin2_dec/bin2_dec_request_builder.rb | 2 +- .../bin2_hex/bin2_hex_request_builder.rb | 2 +- .../bin2_oct/bin2_oct_request_builder.rb | 2 +- .../binom_dist/binom_dist_request_builder.rb | 2 +- .../binom_dist_range_request_builder.rb | 2 +- .../binom_inv/binom_inv_request_builder.rb | 2 +- .../bitand/bitand_request_builder.rb | 2 +- .../bitlshift/bitlshift_request_builder.rb | 2 +- .../functions/bitor/bitor_request_builder.rb | 2 +- .../bitrshift/bitrshift_request_builder.rb | 2 +- .../bitxor/bitxor_request_builder.rb | 2 +- .../ceiling_math_request_builder.rb | 2 +- .../ceiling_precise_request_builder.rb | 2 +- .../functions/char/char_request_builder.rb | 2 +- .../chi_sq_dist_request_builder.rb | 2 +- .../chi_sq_dist_r_t_request_builder.rb | 2 +- .../chi_sq_inv/chi_sq_inv_request_builder.rb | 2 +- .../chi_sq_inv_r_t_request_builder.rb | 2 +- .../choose/choose_request_builder.rb | 2 +- .../functions/clean/clean_request_builder.rb | 2 +- .../functions/code/code_request_builder.rb | 2 +- .../columns/columns_request_builder.rb | 2 +- .../combin/combin_request_builder.rb | 2 +- .../combina/combina_request_builder.rb | 2 +- .../complex/complex_request_builder.rb | 2 +- .../concatenate_request_builder.rb | 2 +- .../confidence_norm_request_builder.rb | 2 +- .../confidence_t_request_builder.rb | 2 +- .../convert/convert_request_builder.rb | 2 +- .../functions/cos/cos_request_builder.rb | 2 +- .../functions/cosh/cosh_request_builder.rb | 2 +- .../functions/cot/cot_request_builder.rb | 2 +- .../functions/coth/coth_request_builder.rb | 2 +- .../functions/count/count_request_builder.rb | 2 +- .../count_a/count_a_request_builder.rb | 2 +- .../count_blank_request_builder.rb | 2 +- .../count_if/count_if_request_builder.rb | 2 +- .../count_ifs/count_ifs_request_builder.rb | 2 +- .../coup_day_bs_request_builder.rb | 2 +- .../coup_days/coup_days_request_builder.rb | 2 +- .../coup_days_nc_request_builder.rb | 2 +- .../coup_ncd/coup_ncd_request_builder.rb | 2 +- .../coup_num/coup_num_request_builder.rb | 2 +- .../coup_pcd/coup_pcd_request_builder.rb | 2 +- .../functions/csc/csc_request_builder.rb | 2 +- .../functions/csch/csch_request_builder.rb | 2 +- .../cum_i_pmt/cum_i_pmt_request_builder.rb | 2 +- .../cum_princ/cum_princ_request_builder.rb | 2 +- .../functions/date/date_request_builder.rb | 2 +- .../datevalue/datevalue_request_builder.rb | 2 +- .../daverage/daverage_request_builder.rb | 2 +- .../functions/day/day_request_builder.rb | 2 +- .../functions/days/days_request_builder.rb | 2 +- .../days360/days360_request_builder.rb | 2 +- .../functions/db/db_request_builder.rb | 2 +- .../functions/dbcs/dbcs_request_builder.rb | 2 +- .../dcount/dcount_request_builder.rb | 2 +- .../dcount_a/dcount_a_request_builder.rb | 2 +- .../functions/ddb/ddb_request_builder.rb | 2 +- .../dec2_bin/dec2_bin_request_builder.rb | 2 +- .../dec2_hex/dec2_hex_request_builder.rb | 2 +- .../dec2_oct/dec2_oct_request_builder.rb | 2 +- .../decimal/decimal_request_builder.rb | 2 +- .../degrees/degrees_request_builder.rb | 2 +- .../functions/delta/delta_request_builder.rb | 2 +- .../dev_sq/dev_sq_request_builder.rb | 2 +- .../functions/dget/dget_request_builder.rb | 2 +- .../functions/disc/disc_request_builder.rb | 2 +- .../functions/dmax/dmax_request_builder.rb | 2 +- .../functions/dmin/dmin_request_builder.rb | 2 +- .../dollar/dollar_request_builder.rb | 2 +- .../dollar_de/dollar_de_request_builder.rb | 2 +- .../dollar_fr/dollar_fr_request_builder.rb | 2 +- .../dproduct/dproduct_request_builder.rb | 2 +- .../dst_dev/dst_dev_request_builder.rb | 2 +- .../dst_dev_p/dst_dev_p_request_builder.rb | 2 +- .../functions/dsum/dsum_request_builder.rb | 2 +- .../duration/duration_request_builder.rb | 2 +- .../functions/dvar/dvar_request_builder.rb | 2 +- .../dvar_p/dvar_p_request_builder.rb | 2 +- .../ecma_ceiling_request_builder.rb | 2 +- .../functions/edate/edate_request_builder.rb | 2 +- .../effect/effect_request_builder.rb | 2 +- .../eo_month/eo_month_request_builder.rb | 2 +- .../functions/erf/erf_request_builder.rb | 2 +- .../functions/erf_c/erf_c_request_builder.rb | 2 +- .../erf_c_precise_request_builder.rb | 2 +- .../erf_precise_request_builder.rb | 2 +- .../error_type/error_type_request_builder.rb | 2 +- .../functions/even/even_request_builder.rb | 2 +- .../functions/exact/exact_request_builder.rb | 2 +- .../functions/exp/exp_request_builder.rb | 2 +- .../expon_dist/expon_dist_request_builder.rb | 2 +- .../f_dist/f_dist_request_builder.rb | 2 +- .../f_dist_r_t/f_dist_r_t_request_builder.rb | 2 +- .../functions/f_inv/f_inv_request_builder.rb | 2 +- .../f_inv_r_t/f_inv_r_t_request_builder.rb | 2 +- .../functions/fact/fact_request_builder.rb | 2 +- .../fact_double_request_builder.rb | 2 +- .../functions/find/find_request_builder.rb | 2 +- .../find_b/find_b_request_builder.rb | 2 +- .../fisher/fisher_request_builder.rb | 2 +- .../fisher_inv/fisher_inv_request_builder.rb | 2 +- .../functions/fixed/fixed_request_builder.rb | 2 +- .../floor_math/floor_math_request_builder.rb | 2 +- .../floor_precise_request_builder.rb | 2 +- .../functions/functions_request_builder.rb | 2 +- .../functions/fv/fv_request_builder.rb | 2 +- .../fvschedule/fvschedule_request_builder.rb | 2 +- .../functions/gamma/gamma_request_builder.rb | 2 +- .../gamma_dist/gamma_dist_request_builder.rb | 2 +- .../gamma_inv/gamma_inv_request_builder.rb | 2 +- .../gamma_ln/gamma_ln_request_builder.rb | 2 +- .../gamma_ln_precise_request_builder.rb | 2 +- .../functions/gauss/gauss_request_builder.rb | 2 +- .../functions/gcd/gcd_request_builder.rb | 2 +- .../ge_step/ge_step_request_builder.rb | 2 +- .../geo_mean/geo_mean_request_builder.rb | 2 +- .../har_mean/har_mean_request_builder.rb | 2 +- .../hex2_bin/hex2_bin_request_builder.rb | 2 +- .../hex2_dec/hex2_dec_request_builder.rb | 2 +- .../hex2_oct/hex2_oct_request_builder.rb | 2 +- .../hlookup/hlookup_request_builder.rb | 2 +- .../functions/hour/hour_request_builder.rb | 2 +- .../hyp_geom_dist_request_builder.rb | 2 +- .../hyperlink/hyperlink_request_builder.rb | 2 +- .../if_escaped/if_request_builder.rb | 2 +- .../im_abs/im_abs_request_builder.rb | 2 +- .../im_argument_request_builder.rb | 2 +- .../im_conjugate_request_builder.rb | 2 +- .../im_cos/im_cos_request_builder.rb | 2 +- .../im_cosh/im_cosh_request_builder.rb | 2 +- .../im_cot/im_cot_request_builder.rb | 2 +- .../im_csc/im_csc_request_builder.rb | 2 +- .../im_csch/im_csch_request_builder.rb | 2 +- .../im_div/im_div_request_builder.rb | 2 +- .../im_exp/im_exp_request_builder.rb | 2 +- .../functions/im_ln/im_ln_request_builder.rb | 2 +- .../im_log10/im_log10_request_builder.rb | 2 +- .../im_log2/im_log2_request_builder.rb | 2 +- .../im_power/im_power_request_builder.rb | 2 +- .../im_product/im_product_request_builder.rb | 2 +- .../im_real/im_real_request_builder.rb | 2 +- .../im_sec/im_sec_request_builder.rb | 2 +- .../im_sech/im_sech_request_builder.rb | 2 +- .../im_sin/im_sin_request_builder.rb | 2 +- .../im_sinh/im_sinh_request_builder.rb | 2 +- .../im_sqrt/im_sqrt_request_builder.rb | 2 +- .../im_sub/im_sub_request_builder.rb | 2 +- .../im_sum/im_sum_request_builder.rb | 2 +- .../im_tan/im_tan_request_builder.rb | 2 +- .../imaginary/imaginary_request_builder.rb | 2 +- .../functions/int/int_request_builder.rb | 2 +- .../int_rate/int_rate_request_builder.rb | 2 +- .../functions/ipmt/ipmt_request_builder.rb | 2 +- .../functions/irr/irr_request_builder.rb | 2 +- .../is_err/is_err_request_builder.rb | 2 +- .../is_error/is_error_request_builder.rb | 2 +- .../is_even/is_even_request_builder.rb | 2 +- .../is_formula/is_formula_request_builder.rb | 2 +- .../is_logical/is_logical_request_builder.rb | 2 +- .../is_n_a/is_n_a_request_builder.rb | 2 +- .../is_non_text_request_builder.rb | 2 +- .../is_number/is_number_request_builder.rb | 2 +- .../is_odd/is_odd_request_builder.rb | 2 +- .../is_text/is_text_request_builder.rb | 2 +- .../iso_ceiling_request_builder.rb | 2 +- .../iso_week_num_request_builder.rb | 2 +- .../functions/ispmt/ispmt_request_builder.rb | 2 +- .../functions/isref/isref_request_builder.rb | 2 +- .../functions/kurt/kurt_request_builder.rb | 2 +- .../functions/large/large_request_builder.rb | 2 +- .../functions/lcm/lcm_request_builder.rb | 2 +- .../functions/left/left_request_builder.rb | 2 +- .../functions/leftb/leftb_request_builder.rb | 2 +- .../functions/len/len_request_builder.rb | 2 +- .../functions/lenb/lenb_request_builder.rb | 2 +- .../functions/ln/ln_request_builder.rb | 2 +- .../functions/log/log_request_builder.rb | 2 +- .../functions/log10/log10_request_builder.rb | 2 +- .../log_norm_dist_request_builder.rb | 2 +- .../log_norm_inv_request_builder.rb | 2 +- .../lookup/lookup_request_builder.rb | 2 +- .../functions/lower/lower_request_builder.rb | 2 +- .../functions/match/match_request_builder.rb | 2 +- .../functions/max/max_request_builder.rb | 2 +- .../functions/max_a/max_a_request_builder.rb | 2 +- .../mduration/mduration_request_builder.rb | 2 +- .../median/median_request_builder.rb | 2 +- .../functions/mid/mid_request_builder.rb | 2 +- .../functions/midb/midb_request_builder.rb | 2 +- .../functions/min/min_request_builder.rb | 2 +- .../functions/min_a/min_a_request_builder.rb | 2 +- .../minute/minute_request_builder.rb | 2 +- .../functions/mirr/mirr_request_builder.rb | 2 +- .../functions/mod/mod_request_builder.rb | 2 +- .../functions/month/month_request_builder.rb | 2 +- .../mround/mround_request_builder.rb | 2 +- .../multi_nomial_request_builder.rb | 2 +- .../workbook/functions/n/n_request_builder.rb | 2 +- .../neg_binom_dist_request_builder.rb | 2 +- .../network_days_request_builder.rb | 2 +- .../network_days_intl_request_builder.rb | 2 +- .../nominal/nominal_request_builder.rb | 2 +- .../norm_dist/norm_dist_request_builder.rb | 2 +- .../norm_inv/norm_inv_request_builder.rb | 2 +- .../norm_s_dist_request_builder.rb | 2 +- .../norm_s_inv/norm_s_inv_request_builder.rb | 2 +- .../not_escaped/not_request_builder.rb | 2 +- .../functions/nper/nper_request_builder.rb | 2 +- .../functions/npv/npv_request_builder.rb | 2 +- .../number_value_request_builder.rb | 2 +- .../oct2_bin/oct2_bin_request_builder.rb | 2 +- .../oct2_dec/oct2_dec_request_builder.rb | 2 +- .../oct2_hex/oct2_hex_request_builder.rb | 2 +- .../functions/odd/odd_request_builder.rb | 2 +- .../odd_f_price_request_builder.rb | 2 +- .../odd_f_yield_request_builder.rb | 2 +- .../odd_l_price_request_builder.rb | 2 +- .../odd_l_yield_request_builder.rb | 2 +- .../or_escaped/or_request_builder.rb | 2 +- .../pduration/pduration_request_builder.rb | 2 +- .../percent_rank_exc_request_builder.rb | 2 +- .../percent_rank_inc_request_builder.rb | 2 +- .../percentile_exc_request_builder.rb | 2 +- .../percentile_inc_request_builder.rb | 2 +- .../permut/permut_request_builder.rb | 2 +- .../permutationa_request_builder.rb | 2 +- .../functions/phi/phi_request_builder.rb | 2 +- .../functions/pmt/pmt_request_builder.rb | 2 +- .../poisson_dist_request_builder.rb | 2 +- .../functions/power/power_request_builder.rb | 2 +- .../functions/ppmt/ppmt_request_builder.rb | 2 +- .../functions/price/price_request_builder.rb | 2 +- .../price_disc/price_disc_request_builder.rb | 2 +- .../price_mat/price_mat_request_builder.rb | 2 +- .../product/product_request_builder.rb | 2 +- .../proper/proper_request_builder.rb | 2 +- .../functions/pv/pv_request_builder.rb | 2 +- .../quartile_exc_request_builder.rb | 2 +- .../quartile_inc_request_builder.rb | 2 +- .../quotient/quotient_request_builder.rb | 2 +- .../radians/radians_request_builder.rb | 2 +- .../rand_between_request_builder.rb | 2 +- .../rank_avg/rank_avg_request_builder.rb | 2 +- .../rank_eq/rank_eq_request_builder.rb | 2 +- .../functions/rate/rate_request_builder.rb | 2 +- .../received/received_request_builder.rb | 2 +- .../replace/replace_request_builder.rb | 2 +- .../replace_b/replace_b_request_builder.rb | 2 +- .../functions/rept/rept_request_builder.rb | 2 +- .../functions/right/right_request_builder.rb | 2 +- .../rightb/rightb_request_builder.rb | 2 +- .../functions/roman/roman_request_builder.rb | 2 +- .../functions/round/round_request_builder.rb | 2 +- .../round_down/round_down_request_builder.rb | 2 +- .../round_up/round_up_request_builder.rb | 2 +- .../functions/rows/rows_request_builder.rb | 2 +- .../functions/rri/rri_request_builder.rb | 2 +- .../functions/sec/sec_request_builder.rb | 2 +- .../functions/sech/sech_request_builder.rb | 2 +- .../second/second_request_builder.rb | 2 +- .../series_sum/series_sum_request_builder.rb | 2 +- .../functions/sheet/sheet_request_builder.rb | 2 +- .../sheets/sheets_request_builder.rb | 2 +- .../functions/sign/sign_request_builder.rb | 2 +- .../functions/sin/sin_request_builder.rb | 2 +- .../functions/sinh/sinh_request_builder.rb | 2 +- .../functions/skew/skew_request_builder.rb | 2 +- .../skew_p/skew_p_request_builder.rb | 2 +- .../functions/sln/sln_request_builder.rb | 2 +- .../functions/small/small_request_builder.rb | 2 +- .../functions/sqrt/sqrt_request_builder.rb | 2 +- .../sqrt_pi/sqrt_pi_request_builder.rb | 2 +- .../st_dev_a/st_dev_a_request_builder.rb | 2 +- .../st_dev_p/st_dev_p_request_builder.rb | 2 +- .../st_dev_p_a/st_dev_p_a_request_builder.rb | 2 +- .../st_dev_s/st_dev_s_request_builder.rb | 2 +- .../standardize_request_builder.rb | 2 +- .../substitute/substitute_request_builder.rb | 2 +- .../subtotal/subtotal_request_builder.rb | 2 +- .../functions/sum/sum_request_builder.rb | 2 +- .../sum_if/sum_if_request_builder.rb | 2 +- .../sum_ifs/sum_ifs_request_builder.rb | 2 +- .../sum_sq/sum_sq_request_builder.rb | 2 +- .../functions/syd/syd_request_builder.rb | 2 +- .../workbook/functions/t/t_request_builder.rb | 2 +- .../t_dist/t_dist_request_builder.rb | 2 +- .../t_dist_2_t/t_dist2_t_request_builder.rb | 2 +- .../t_dist_r_t/t_dist_r_t_request_builder.rb | 2 +- .../functions/t_inv/t_inv_request_builder.rb | 2 +- .../t_inv_2_t/t_inv2_t_request_builder.rb | 2 +- .../functions/tan/tan_request_builder.rb | 2 +- .../functions/tanh/tanh_request_builder.rb | 2 +- .../tbill_eq/tbill_eq_request_builder.rb | 2 +- .../tbill_price_request_builder.rb | 2 +- .../tbill_yield_request_builder.rb | 2 +- .../functions/text/text_request_builder.rb | 2 +- .../functions/time/time_request_builder.rb | 2 +- .../timevalue/timevalue_request_builder.rb | 2 +- .../functions/trim/trim_request_builder.rb | 2 +- .../trim_mean/trim_mean_request_builder.rb | 2 +- .../functions/trunc/trunc_request_builder.rb | 2 +- .../functions/type/type_request_builder.rb | 2 +- .../unichar/unichar_request_builder.rb | 2 +- .../unicode/unicode_request_builder.rb | 2 +- .../functions/upper/upper_request_builder.rb | 2 +- .../usdollar/usdollar_request_builder.rb | 2 +- .../functions/value/value_request_builder.rb | 2 +- .../functions/var_a/var_a_request_builder.rb | 2 +- .../functions/var_p/var_p_request_builder.rb | 2 +- .../var_p_a/var_p_a_request_builder.rb | 2 +- .../functions/var_s/var_s_request_builder.rb | 2 +- .../functions/vdb/vdb_request_builder.rb | 2 +- .../vlookup/vlookup_request_builder.rb | 2 +- .../week_num/week_num_request_builder.rb | 2 +- .../weekday/weekday_request_builder.rb | 2 +- .../weibull_dist_request_builder.rb | 2 +- .../work_day/work_day_request_builder.rb | 2 +- .../work_day_intl_request_builder.rb | 2 +- .../functions/xirr/xirr_request_builder.rb | 2 +- .../functions/xnpv/xnpv_request_builder.rb | 2 +- .../functions/xor/xor_request_builder.rb | 2 +- .../functions/year/year_request_builder.rb | 2 +- .../year_frac/year_frac_request_builder.rb | 2 +- .../functions/yield/yield_request_builder.rb | 2 +- .../yield_disc/yield_disc_request_builder.rb | 2 +- .../yield_mat/yield_mat_request_builder.rb | 2 +- .../z_test/z_test_request_builder.rb | 2 +- .../workbook/names/add/add_request_builder.rb | 2 +- .../add_formula_local_request_builder.rb | 2 +- ...orkbook_named_item_item_request_builder.rb | 2 +- .../workbook/names/names_request_builder.rb | 2 +- ...workbook_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../tables/add/add_request_builder.rb | 2 +- .../item/columns/add/add_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../filter/apply/apply_request_builder.rb | 2 +- ...ply_bottom_items_filter_request_builder.rb | 2 +- ...y_bottom_percent_filter_request_builder.rb | 2 +- ...apply_cell_color_filter_request_builder.rb | 2 +- .../apply_custom_filter_request_builder.rb | 2 +- .../apply_dynamic_filter_request_builder.rb | 2 +- ...apply_font_color_filter_request_builder.rb | 2 +- .../apply_icon_filter_request_builder.rb | 2 +- .../apply_top_items_filter_request_builder.rb | 2 +- ...pply_top_percent_filter_request_builder.rb | 2 +- .../apply_values_filter_request_builder.rb | 2 +- .../item/filter/filter_request_builder.rb | 2 +- ...kbook_table_column_item_request_builder.rb | 2 +- .../item/rows/add/add_request_builder.rb | 2 +- ...workbook_table_row_item_request_builder.rb | 2 +- .../tables/item/rows/rows_request_builder.rb | 2 +- .../item/sort/apply/apply_request_builder.rb | 2 +- .../tables/item/sort/sort_request_builder.rb | 2 +- .../workbook_table_item_request_builder.rb | 2 +- .../workbook/tables/tables_request_builder.rb | 2 +- .../item/workbook/workbook_request_builder.rb | 2 +- .../worksheets/add/add_request_builder.rb | 2 +- .../item/charts/add/add_request_builder.rb | 2 +- .../item/charts/charts_request_builder.rb | 2 +- .../charts/item/axes/axes_request_builder.rb | 2 +- .../category_axis_request_builder.rb | 2 +- .../format/font/font_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../major_gridlines_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../minor_gridlines_request_builder.rb | 2 +- .../title/format/font/font_request_builder.rb | 2 +- .../title/format/format_request_builder.rb | 2 +- .../title/title_request_builder.rb | 2 +- .../format/font/font_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../major_gridlines_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../minor_gridlines_request_builder.rb | 2 +- .../series_axis_request_builder.rb | 2 +- .../title/format/font/font_request_builder.rb | 2 +- .../title/format/format_request_builder.rb | 2 +- .../title/title_request_builder.rb | 2 +- .../format/font/font_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../major_gridlines_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../format/line/line_request_builder.rb | 2 +- .../minor_gridlines_request_builder.rb | 2 +- .../title/format/font/font_request_builder.rb | 2 +- .../title/format/format_request_builder.rb | 2 +- .../value_axis/title/title_request_builder.rb | 2 +- .../value_axis/value_axis_request_builder.rb | 2 +- .../data_labels_request_builder.rb | 2 +- .../format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../format/font/font_request_builder.rb | 2 +- .../format/format_request_builder.rb | 2 +- .../item/format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../item/format/font/font_request_builder.rb | 2 +- .../item/format/format_request_builder.rb | 2 +- .../format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../format/font/font_request_builder.rb | 2 +- .../legend/format/format_request_builder.rb | 2 +- .../item/legend/legend_request_builder.rb | 2 +- .../item/format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../item/format/format_request_builder.rb | 2 +- .../item/format/line/line_request_builder.rb | 2 +- .../item/format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../item/format/format_request_builder.rb | 2 +- ...rkbook_chart_point_item_request_builder.rb | 2 +- .../item/points/points_request_builder.rb | 8 +- ...kbook_chart_series_item_request_builder.rb | 2 +- .../item/series/series_request_builder.rb | 2 +- .../item/set_data/set_data_request_builder.rb | 2 +- .../set_position_request_builder.rb | 2 +- .../title/format/fill/fill_request_builder.rb | 2 +- .../set_solid_color_request_builder.rb | 2 +- .../title/format/font/font_request_builder.rb | 2 +- .../title/format/format_request_builder.rb | 2 +- .../item/title/title_request_builder.rb | 2 +- .../workbook_chart_item_request_builder.rb | 2 +- .../item/names/add/add_request_builder.rb | 2 +- .../add_formula_local_request_builder.rb | 2 +- ...orkbook_named_item_item_request_builder.rb | 2 +- .../item/names/names_request_builder.rb | 2 +- ...rkbook_pivot_table_item_request_builder.rb | 2 +- .../pivot_tables_request_builder.rb | 2 +- .../protect/protect_request_builder.rb | 2 +- .../protection/protection_request_builder.rb | 2 +- .../item/tables/add/add_request_builder.rb | 2 +- .../item/columns/add/add_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../filter/apply/apply_request_builder.rb | 2 +- ...ply_bottom_items_filter_request_builder.rb | 2 +- ...y_bottom_percent_filter_request_builder.rb | 2 +- ...apply_cell_color_filter_request_builder.rb | 2 +- .../apply_custom_filter_request_builder.rb | 2 +- .../apply_dynamic_filter_request_builder.rb | 2 +- ...apply_font_color_filter_request_builder.rb | 2 +- .../apply_icon_filter_request_builder.rb | 2 +- .../apply_top_items_filter_request_builder.rb | 2 +- ...pply_top_percent_filter_request_builder.rb | 2 +- .../apply_values_filter_request_builder.rb | 2 +- .../item/filter/filter_request_builder.rb | 2 +- ...kbook_table_column_item_request_builder.rb | 2 +- .../item/rows/add/add_request_builder.rb | 2 +- ...workbook_table_row_item_request_builder.rb | 2 +- .../tables/item/rows/rows_request_builder.rb | 2 +- .../item/sort/apply/apply_request_builder.rb | 2 +- .../tables/item/sort/sort_request_builder.rb | 2 +- .../workbook_table_item_request_builder.rb | 2 +- .../item/tables/tables_request_builder.rb | 2 +- ...workbook_worksheet_item_request_builder.rb | 2 +- .../worksheets/worksheets_request_builder.rb | 2 +- .../item/items/items_request_builder.rb | 2 +- .../list/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../document_set_versions_request_builder.rb | 2 +- ...cument_set_version_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/fields/fields_request_builder.rb | 2 +- .../item/list_item_item_request_builder.rb | 2 +- .../item/fields/fields_request_builder.rb | 2 +- .../list_item_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../item/list/items/items_request_builder.rb | 2 +- lib/drives/item/list/list_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- .../root/content/content_request_builder.rb | 8 +- .../item/content/content_request_builder.rb | 8 +- .../classes/classes_request_builder.rb | 2 +- .../assignment_categories_request_builder.rb | 2 +- ...education_category_item_request_builder.rb | 2 +- .../assignment_defaults_request_builder.rb | 2 +- .../assignment_settings_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- .../categories/categories_request_builder.rb | 2 +- .../categories/ref/ref_request_builder.rb | 2 +- ...ucation_assignment_item_request_builder.rb | 2 +- ...ssignment_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../item/rubric/ref/ref_request_builder.rb | 2 +- .../item/rubric/rubric_request_builder.rb | 2 +- ...ucation_submission_item_request_builder.rb | 2 +- .../education_outcome_item_request_builder.rb | 2 +- .../item/outcomes/outcomes_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../submitted_resources_request_builder.rb | 2 +- .../submissions_request_builder.rb | 2 +- .../education_class_item_request_builder.rb | 2 +- .../item/members/ref/ref_request_builder.rb | 2 +- .../item/teachers/ref/ref_request_builder.rb | 2 +- lib/education/education_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- .../categories/categories_request_builder.rb | 2 +- .../categories/ref/ref_request_builder.rb | 2 +- ...ucation_assignment_item_request_builder.rb | 2 +- ...ssignment_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../item/rubric/ref/ref_request_builder.rb | 2 +- .../item/rubric/rubric_request_builder.rb | 2 +- ...ucation_submission_item_request_builder.rb | 2 +- .../education_outcome_item_request_builder.rb | 2 +- .../item/outcomes/outcomes_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../submitted_resources_request_builder.rb | 2 +- .../submissions_request_builder.rb | 2 +- lib/education/me/me_request_builder.rb | 2 +- .../education_rubric_item_request_builder.rb | 2 +- .../me/rubrics/rubrics_request_builder.rb | 2 +- .../administrative_unit_request_builder.rb | 2 +- .../item/classes/ref/ref_request_builder.rb | 2 +- .../education_school_item_request_builder.rb | 2 +- .../item/users/ref/ref_request_builder.rb | 2 +- .../schools/schools_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- .../categories/categories_request_builder.rb | 2 +- .../categories/ref/ref_request_builder.rb | 2 +- ...ucation_assignment_item_request_builder.rb | 2 +- ...ssignment_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../item/rubric/ref/ref_request_builder.rb | 2 +- .../item/rubric/rubric_request_builder.rb | 2 +- ...ucation_submission_item_request_builder.rb | 2 +- .../education_outcome_item_request_builder.rb | 2 +- .../item/outcomes/outcomes_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- ...ubmission_resource_item_request_builder.rb | 2 +- .../submitted_resources_request_builder.rb | 2 +- .../submissions_request_builder.rb | 2 +- .../education_user_item_request_builder.rb | 2 +- .../education_rubric_item_request_builder.rb | 2 +- .../item/rubrics/rubrics_request_builder.rb | 2 +- lib/education/users/users_request_builder.rb | 2 +- .../employee_experience_request_builder.rb | 2 +- .../learning_content_item_request_builder.rb | 2 +- .../learning_contents_request_builder.rb | 2 +- .../learning_provider_item_request_builder.rb | 2 +- .../learning_providers_request_builder.rb | 2 +- .../connections_request_builder.rb | 2 +- ...xternal_connection_item_request_builder.rb | 2 +- .../item/groups/groups_request_builder.rb | 2 +- .../external_group_item_request_builder.rb | 2 +- .../item/identity_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../external_item_item_request_builder.rb | 10 +- .../item/items/items_request_builder.rb | 2 +- ...nnection_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/schema/schema_request_builder.rb | 2 +- lib/external/external_request_builder.rb | 2 +- ...roup_lifecycle_policies_request_builder.rb | 2 +- .../add_group/add_group_request_builder.rb | 2 +- ...p_lifecycle_policy_item_request_builder.rb | 2 +- .../remove_group_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- ...group_setting_templates_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- ...p_setting_template_item_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../group_settings_request_builder.rb | 2 +- .../group_setting_item_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- lib/groups/groups_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../app_role_assignments_request_builder.rb | 2 +- ...pp_role_assignment_item_request_builder.rb | 2 +- .../assign_license_request_builder.rb | 2 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../calendar/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../conversations_request_builder.rb | 6 +- ...onversation_thread_item_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../reply/reply_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../posts/item/reply/reply_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/posts/posts_request_builder.rb | 6 +- .../item/reply/reply_request_builder.rb | 6 +- .../item/threads/threads_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- lib/groups/item/group_item_request_builder.rb | 2 +- ...roup_lifecycle_policies_request_builder.rb | 2 +- .../add_group/add_group_request_builder.rb | 2 +- ...p_lifecycle_policy_item_request_builder.rb | 2 +- .../remove_group_request_builder.rb | 2 +- .../item/members/ref/ref_request_builder.rb | 2 +- ...t_notebook_from_web_url_request_builder.rb | 2 +- .../copy_notebook_request_builder.rb | 2 +- .../item/notebook_item_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../notebooks/notebooks_request_builder.rb | 2 +- .../item/onenote/onenote_request_builder.rb | 2 +- .../onenote_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../onenote/pages/pages_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../onenote_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../sections/sections_request_builder.rb | 2 +- .../item/owners/ref/ref_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- ...c_permission_grant_item_request_builder.rb | 2 +- .../permission_grants_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 32 +- .../photo/value/content_request_builder.rb | 6 +- .../item/value/content_request_builder.rb | 6 +- .../item/planner/planner_request_builder.rb | 2 +- .../item/buckets/buckets_request_builder.rb | 2 +- .../planner_bucket_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_plan_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../plans/item/tasks/tasks_request_builder.rb | 2 +- .../planner/plans/plans_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../group_setting_item_request_builder.rb | 2 +- .../item/settings/settings_request_builder.rb | 2 +- .../item/sites/add/add_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../document_set_versions_request_builder.rb | 2 +- ...cument_set_version_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/fields/fields_request_builder.rb | 2 +- .../item/list_item_item_request_builder.rb | 2 +- .../item/fields/fields_request_builder.rb | 2 +- .../list_item_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../lists/item/items/items_request_builder.rb | 2 +- .../lists/item/list_item_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- .../sites/item/lists/lists_request_builder.rb | 2 +- ...t_notebook_from_web_url_request_builder.rb | 2 +- .../copy_notebook_request_builder.rb | 2 +- .../item/notebook_item_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../notebooks/notebooks_request_builder.rb | 2 +- .../item/onenote/onenote_request_builder.rb | 2 +- .../onenote_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../onenote/pages/pages_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../onenote_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../sections/sections_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/grant/grant_request_builder.rb | 2 +- .../item/permission_item_request_builder.rb | 2 +- .../permissions_request_builder.rb | 2 +- .../sites/item/site_item_request_builder.rb | 2 +- .../groups/groups_request_builder.rb | 2 +- .../groups/item/group_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../groups/item/sets/sets_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../parent_group/sets/sets_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../term_store/sets/sets_request_builder.rb | 2 +- .../term_store/term_store_request_builder.rb | 2 +- .../item/groups/groups_request_builder.rb | 2 +- .../groups/item/group_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../groups/item/sets/sets_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../parent_group/sets/sets_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../item/sets/sets_request_builder.rb | 2 +- .../item/store_item_request_builder.rb | 2 +- .../term_stores_request_builder.rb | 2 +- .../sites/remove/remove_request_builder.rb | 2 +- .../team/archive/archive_request_builder.rb | 2 +- .../team/channels/channels_request_builder.rb | 2 +- .../item/channel_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 121 ++++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../item/tabs/tabs_request_builder.rb | 2 +- .../item/team/clone/clone_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../team/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../team/members/members_request_builder.rb | 2 +- ...ms_async_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/team/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- .../content/content_request_builder.rb | 8 +- .../members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 112 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 118 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../messages/messages_request_builder.rb | 2 +- .../primary_channel_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../tabs/tabs_request_builder.rb | 2 +- ...ffer_shift_request_item_request_builder.rb | 2 +- .../offer_shift_requests_request_builder.rb | 2 +- ...ift_change_request_item_request_builder.rb | 2 +- ...n_shift_change_requests_request_builder.rb | 2 +- .../item/open_shift_item_request_builder.rb | 2 +- .../open_shifts_request_builder.rb | 2 +- .../team/schedule/schedule_request_builder.rb | 2 +- .../scheduling_group_item_request_builder.rb | 2 +- .../scheduling_groups_request_builder.rb | 2 +- .../schedule/share/share_request_builder.rb | 2 +- .../shifts/item/shift_item_request_builder.rb | 2 +- .../schedule/shifts/shifts_request_builder.rb | 2 +- ...fts_change_request_item_request_builder.rb | 2 +- ..._shifts_change_requests_request_builder.rb | 2 +- .../time_off_reason_item_request_builder.rb | 2 +- .../time_off_reasons_request_builder.rb | 2 +- .../time_off_request_item_request_builder.rb | 2 +- .../time_off_requests_request_builder.rb | 2 +- .../item/time_off_item_request_builder.rb | 2 +- .../times_off/times_off_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- ...eamwork_tag_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/teamwork_tag_item_request_builder.rb | 2 +- .../item/team/tags/tags_request_builder.rb | 2 +- lib/groups/item/team/team_request_builder.rb | 14 +- ...onversation_thread_item_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../reply/reply_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../posts/item/reply/reply_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/posts/posts_request_builder.rb | 6 +- .../item/reply/reply_request_builder.rb | 6 +- .../item/threads/threads_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../api_connectors_request_builder.rb | 2 +- ...tity_api_connector_item_request_builder.rb | 2 +- ...load_client_certificate_request_builder.rb | 2 +- .../b2x_user_flows_request_builder.rb | 2 +- ...identity_user_flow_item_request_builder.rb | 2 +- .../default_pages_request_builder.rb | 2 +- ...flow_language_page_item_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- ...flow_language_page_item_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../overrides_pages_request_builder.rb | 2 +- ...uage_configuration_item_request_builder.rb | 2 +- .../languages/languages_request_builder.rb | 2 +- ...tribute_assignment_item_request_builder.rb | 2 +- .../set_order/set_order_request_builder.rb | 2 +- ...r_attribute_assignments_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- ...ontext_class_references_request_builder.rb | 2 +- ...xt_class_reference_item_request_builder.rb | 2 +- .../conditional_access_request_builder.rb | 2 +- .../named_location_item_request_builder.rb | 2 +- .../named_locations_request_builder.rb | 2 +- ...onal_access_policy_item_request_builder.rb | 2 +- .../policies/policies_request_builder.rb | 2 +- .../identity_providers_request_builder.rb | 2 +- ...tity_provider_base_item_request_builder.rb | 2 +- lib/identity/identity_request_builder.rb | 2 +- ...ser_flow_attribute_item_request_builder.rb | 2 +- .../user_flow_attributes_request_builder.rb | 2 +- .../access_reviews_request_builder.rb | 2 +- .../definitions_request_builder.rb | 2 +- ...chedule_definition_item_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 2 +- ...ss_review_instance_item_request_builder.rb | 2 +- .../batch_record_decisions_request_builder.rb | 2 +- .../contacted_reviewers_request_builder.rb | 2 +- ...ss_review_reviewer_item_request_builder.rb | 2 +- .../decisions/decisions_request_builder.rb | 2 +- ...ance_decision_item_item_request_builder.rb | 2 +- ...ccess_review_stage_item_request_builder.rb | 2 +- .../decisions/decisions_request_builder.rb | 2 +- ...ance_decision_item_item_request_builder.rb | 2 +- .../item/stages/stages_request_builder.rb | 2 +- .../history_definitions_request_builder.rb | 2 +- ...history_definition_item_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 2 +- ...w_history_instance_item_request_builder.rb | 2 +- .../app_consent_request_builder.rb | 2 +- .../app_consent_requests_request_builder.rb | 2 +- ...pp_consent_request_item_request_builder.rb | 2 +- .../item/approval/approval_request_builder.rb | 2 +- .../approval_stage_item_request_builder.rb | 2 +- .../approval/stages/stages_request_builder.rb | 2 +- ...er_consent_request_item_request_builder.rb | 2 +- .../user_consent_requests_request_builder.rb | 2 +- ...ge_assignment_approvals_request_builder.rb | 2 +- .../item/approval_item_request_builder.rb | 2 +- .../approval_stage_item_request_builder.rb | 2 +- .../item/stages/stages_request_builder.rb | 2 +- .../access_packages_request_builder.rb | 2 +- .../access_package_item_request_builder.rb | 2 +- .../assignment_policies_request_builder.rb | 2 +- ..._assignment_policy_item_request_builder.rb | 2 +- ...s_package_question_item_request_builder.rb | 2 +- .../questions/questions_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../assignment_policies_request_builder.rb | 2 +- ..._assignment_policy_item_request_builder.rb | 2 +- ...s_package_question_item_request_builder.rb | 2 +- .../questions/questions_request_builder.rb | 2 +- .../assignment_requests_request_builder.rb | 2 +- ...assignment_request_item_request_builder.rb | 2 +- .../assignments_request_builder.rb | 2 +- ...package_assignment_item_request_builder.rb | 2 +- .../catalogs/catalogs_request_builder.rb | 2 +- ...ss_package_catalog_item_request_builder.rb | 2 +- .../access_packages_request_builder.rb | 2 +- .../access_package_item_request_builder.rb | 2 +- .../assignment_policies_request_builder.rb | 2 +- ..._assignment_policy_item_request_builder.rb | 2 +- ...s_package_question_item_request_builder.rb | 2 +- .../questions/questions_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- ...connected_organizations_request_builder.rb | 2 +- ...ected_organization_item_request_builder.rb | 2 +- .../external_sponsors_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../internal_sponsors_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../entitlement_management_request_builder.rb | 2 +- .../settings/settings_request_builder.rb | 2 +- .../identity_governance_request_builder.rb | 2 +- .../agreement_acceptances_request_builder.rb | 2 +- ...reement_acceptance_item_request_builder.rb | 2 +- .../agreements/agreements_request_builder.rb | 2 +- .../acceptances_request_builder.rb | 2 +- ...reement_acceptance_item_request_builder.rb | 2 +- .../item/agreement_item_request_builder.rb | 2 +- .../item/file/file_request_builder.rb | 2 +- ..._file_localization_item_request_builder.rb | 2 +- ...ement_file_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../localizations_request_builder.rb | 2 +- .../item/files/files_request_builder.rb | 2 +- ..._file_localization_item_request_builder.rb | 2 +- ...ement_file_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../terms_of_use_request_builder.rb | 2 +- .../identity_protection_request_builder.rb | 2 +- .../risk_detection_item_request_builder.rb | 2 +- .../risk_detections_request_builder.rb | 2 +- .../confirm_compromised_request_builder.rb | 2 +- .../dismiss/dismiss_request_builder.rb | 2 +- .../item/history/history_request_builder.rb | 2 +- ...cipal_history_item_item_request_builder.rb | 2 +- ..._service_principal_item_request_builder.rb | 2 +- ...isky_service_principals_request_builder.rb | 2 +- .../confirm_compromised_request_builder.rb | 2 +- .../dismiss/dismiss_request_builder.rb | 2 +- .../item/history/history_request_builder.rb | 2 +- ..._user_history_item_item_request_builder.rb | 2 +- .../item/risky_user_item_request_builder.rb | 2 +- .../risky_users_request_builder.rb | 2 +- ...pal_risk_detection_item_request_builder.rb | 2 +- ...incipal_risk_detections_request_builder.rb | 2 +- .../identity_providers_request_builder.rb | 2 +- .../identity_provider_item_request_builder.rb | 2 +- .../information_protection_request_builder.rb | 2 +- ..._assessment_result_item_request_builder.rb | 2 +- .../item/results/results_request_builder.rb | 2 +- ...assessment_request_item_request_builder.rb | 2 +- ...eat_assessment_requests_request_builder.rb | 2 +- .../invitations_request_builder.rb | 2 +- .../item/invitation_item_request_builder.rb | 2 +- lib/kiota-lock.json | 4 +- .../background_image_request_builder.rb | 6 +- .../banner_logo_request_builder.rb | 6 +- ...nding_localization_item_request_builder.rb | 2 +- .../square_logo_request_builder.rb | 6 +- .../localizations_request_builder.rb | 2 +- .../activities/activities_request_builder.rb | 2 +- .../history_items_request_builder.rb | 2 +- ...ivity_history_item_item_request_builder.rb | 2 +- .../user_activity_item_request_builder.rb | 2 +- .../app_role_assignments_request_builder.rb | 2 +- ...pp_role_assignment_item_request_builder.rb | 2 +- .../assign_license_request_builder.rb | 2 +- .../authentication_request_builder.rb | 2 +- .../email_methods_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- .../reset_password_request_builder.rb | 2 +- .../methods/methods_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../password_methods_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- .../phone_methods_request_builder.rb | 2 +- ...ary_access_pass_methods_request_builder.rb | 2 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- lib/me/calendar/calendar_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../calendar/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../calendar_groups_request_builder.rb | 2 +- .../calendar_group_item_request_builder.rb | 2 +- .../calendars/calendars_request_builder.rb | 2 +- .../item/calendar_item_request_builder.rb | 2 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- lib/me/calendars/calendars_request_builder.rb | 9 +- .../item/calendar_item_request_builder.rb | 9 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../change_password_request_builder.rb | 2 +- lib/me/chats/chats_request_builder.rb | 2 +- .../chats/item/chat_item_request_builder.rb | 2 +- .../hide_for_user_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../last_message_preview_request_builder.rb | 2 +- ...mark_chat_read_for_user_request_builder.rb | 2 +- ...rk_chat_unread_for_user_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 109 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._chat_message_info_item_request_builder.rb | 2 +- .../pinned_messages_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../chats/item/tabs/tabs_request_builder.rb | 2 +- .../unhide_for_user_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../contact_folders_request_builder.rb | 9 +- .../child_folders_request_builder.rb | 2 +- .../contact_folder_item_request_builder.rb | 2 +- .../item/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../contact_folder_item_request_builder.rb | 9 +- .../item/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- lib/me/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._troubleshooting_events_request_builder.rb | 2 +- ...ubleshooting_event_item_request_builder.rb | 2 +- lib/me/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../export_personal_data_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../find_meeting_times_request_builder.rb | 2 +- .../get_mail_tips_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- ...nference_classification_request_builder.rb | 2 +- ...ification_override_item_request_builder.rb | 2 +- .../overrides/overrides_request_builder.rb | 2 +- lib/me/insights/insights_request_builder.rb | 2 +- .../shared_insight_item_request_builder.rb | 2 +- .../insights/shared/shared_request_builder.rb | 2 +- .../item/trending_item_request_builder.rb | 2 +- .../trending/trending_request_builder.rb | 2 +- .../item/used_insight_item_request_builder.rb | 2 +- lib/me/insights/used/used_request_builder.rb | 2 +- .../item/archive/archive_request_builder.rb | 2 +- .../item/channels/channels_request_builder.rb | 2 +- .../item/channel_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 121 ++++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../item/tabs/tabs_request_builder.rb | 2 +- .../item/clone/clone_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- ...ms_async_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- .../content/content_request_builder.rb | 8 +- .../members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 112 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 118 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../messages/messages_request_builder.rb | 2 +- .../primary_channel_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../tabs/tabs_request_builder.rb | 2 +- ...ffer_shift_request_item_request_builder.rb | 2 +- .../offer_shift_requests_request_builder.rb | 2 +- ...ift_change_request_item_request_builder.rb | 2 +- ...n_shift_change_requests_request_builder.rb | 2 +- .../item/open_shift_item_request_builder.rb | 2 +- .../open_shifts_request_builder.rb | 2 +- .../item/schedule/schedule_request_builder.rb | 2 +- .../scheduling_group_item_request_builder.rb | 2 +- .../scheduling_groups_request_builder.rb | 2 +- .../schedule/share/share_request_builder.rb | 2 +- .../shifts/item/shift_item_request_builder.rb | 2 +- .../schedule/shifts/shifts_request_builder.rb | 2 +- ...fts_change_request_item_request_builder.rb | 2 +- ..._shifts_change_requests_request_builder.rb | 2 +- .../time_off_reason_item_request_builder.rb | 2 +- .../time_off_reasons_request_builder.rb | 2 +- .../time_off_request_item_request_builder.rb | 2 +- .../time_off_requests_request_builder.rb | 2 +- .../item/time_off_item_request_builder.rb | 2 +- .../times_off/times_off_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- ...eamwork_tag_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/teamwork_tag_item_request_builder.rb | 2 +- .../item/tags/tags_request_builder.rb | 2 +- .../item/team_item_request_builder.rb | 2 +- .../joined_teams_request_builder.rb | 2 +- .../license_details_item_request_builder.rb | 2 +- .../license_details_request_builder.rb | 2 +- .../child_folders_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../item/mail_folder_item_request_builder.rb | 2 +- .../item/message_rule_item_request_builder.rb | 2 +- .../message_rules_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../item/messages/messages_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../item/mail_folder_item_request_builder.rb | 2 +- .../item/message_rule_item_request_builder.rb | 2 +- .../message_rules_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../item/messages/messages_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../mail_folders_request_builder.rb | 2 +- .../clean_windows_device_request_builder.rb | 2 +- ...rom_shared_apple_device_request_builder.rb | 2 +- .../device_category_request_builder.rb | 2 +- ...ompliance_policy_states_request_builder.rb | 2 +- ...iance_policy_state_item_request_builder.rb | 2 +- ...ce_configuration_states_request_builder.rb | 2 +- ...onfiguration_state_item_request_builder.rb | 2 +- .../managed_device_item_request_builder.rb | 2 +- ..._windows_device_account_request_builder.rb | 2 +- .../windows_defender_scan_request_builder.rb | 2 +- .../item/wipe/wipe_request_builder.rb | 2 +- .../managed_devices_request_builder.rb | 2 +- lib/me/manager/ref/ref_request_builder.rb | 2 +- lib/me/me_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- lib/me/messages/messages_request_builder.rb | 12 +- ...t_notebook_from_web_url_request_builder.rb | 2 +- .../copy_notebook_request_builder.rb | 2 +- .../item/notebook_item_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../notebooks/notebooks_request_builder.rb | 2 +- lib/me/onenote/onenote_request_builder.rb | 2 +- .../onenote_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- lib/me/onenote/pages/pages_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../onenote_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../sections/sections_request_builder.rb | 2 +- .../create_or_get_request_builder.rb | 2 +- .../attendance_reports_request_builder.rb | 2 +- .../attendance_records_request_builder.rb | 2 +- .../attendance_record_item_request_builder.rb | 2 +- ..._attendance_report_item_request_builder.rb | 2 +- .../attendee_report_request_builder.rb | 6 +- .../online_meeting_item_request_builder.rb | 2 +- .../online_meetings_request_builder.rb | 2 +- .../outlook_category_item_request_builder.rb | 2 +- .../master_categories_request_builder.rb | 2 +- lib/me/photo/photo_request_builder.rb | 32 +- lib/me/photo/value/content_request_builder.rb | 6 +- .../item/value/content_request_builder.rb | 6 +- lib/me/planner/planner_request_builder.rb | 2 +- .../item/buckets/buckets_request_builder.rb | 2 +- .../planner_bucket_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_plan_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../plans/item/tasks/tasks_request_builder.rb | 2 +- lib/me/planner/plans/plans_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- lib/me/planner/tasks/tasks_request_builder.rb | 2 +- .../clear_presence_request_builder.rb | 2 +- lib/me/presence/presence_request_builder.rb | 2 +- .../set_presence_request_builder.rb | 2 +- ...user_preferred_presence_request_builder.rb | 2 +- ...ed_role_membership_item_request_builder.rb | 2 +- .../scoped_role_member_of_request_builder.rb | 2 +- lib/me/send_mail/send_mail_request_builder.rb | 2 +- lib/me/settings/settings_request_builder.rb | 2 +- .../shift_preferences_request_builder.rb | 2 +- .../associated_teams_request_builder.rb | 2 +- ...sociated_team_info_item_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- lib/me/teamwork/teamwork_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ...attachment_session_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../checklist_items_request_builder.rb | 2 +- .../checklist_item_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../linked_resource_item_request_builder.rb | 2 +- .../linked_resources_request_builder.rb | 2 +- .../item/todo_task_item_request_builder.rb | 2 +- .../lists/item/tasks/tasks_request_builder.rb | 2 +- .../todo_task_list_item_request_builder.rb | 2 +- lib/me/todo/lists/lists_request_builder.rb | 2 +- lib/me/todo/todo_request_builder.rb | 2 +- .../translate_exchange_ids_request_builder.rb | 2 +- ...strations_by_device_tag_request_builder.rb | 2 +- .../access_review_history_definition.rb | 2 +- .../access_review_schedule_definition.rb | 2 +- lib/models/access_review_schedule_settings.rb | 12 +- lib/models/admin.rb | 20 ++ lib/models/agreement_acceptance.rb | 2 +- lib/models/app_scope.rb | 2 +- lib/models/application.rb | 8 +- lib/models/application_template.rb | 2 +- lib/models/authentication.rb | 2 +- .../authentication_method_configuration.rb | 2 +- lib/models/authentication_methods_policy.rb | 2 +- lib/models/booking_currency.rb | 2 +- lib/models/browser_shared_cookie.rb | 285 +++++++++++++++++ ...owser_shared_cookie_collection_response.rb | 64 ++++ lib/models/browser_shared_cookie_history.rb | 243 +++++++++++++++ ...ared_cookie_history_collection_response.rb | 64 ++++ ...rowser_shared_cookie_source_environment.rb | 10 + lib/models/browser_shared_cookie_status.rb | 11 + lib/models/browser_site.rb | 287 +++++++++++++++++ .../browser_site_collection_response.rb | 64 ++++ lib/models/browser_site_compatibility_mode.rb | 16 + lib/models/browser_site_history.rb | 225 ++++++++++++++ ...rowser_site_history_collection_response.rb | 64 ++++ lib/models/browser_site_list.rb | 247 +++++++++++++++ .../browser_site_list_collection_response.rb | 64 ++++ lib/models/browser_site_list_status.rb | 10 + lib/models/browser_site_merge_type.rb | 9 + lib/models/browser_site_status.rb | 11 + lib/models/browser_site_target_environment.rb | 12 + lib/models/conditional_access_users.rb | 18 +- lib/models/default_user_role_permissions.rb | 20 ++ .../delegated_admin_access_assignment.rb | 2 +- lib/models/delegated_admin_relationship.rb | 2 +- lib/models/deleted_team.rb | 2 +- lib/models/device.rb | 2 +- ...device_management_troubleshooting_event.rb | 4 +- lib/models/directory_object.rb | 2 +- lib/models/edge.rb | 64 ++++ lib/models/education_assignment_defaults.rb | 2 +- lib/models/education_assignment_settings.rb | 2 +- lib/models/education_class.rb | 2 +- lib/models/entity.rb | 16 + lib/models/group.rb | 2 +- lib/models/internet_explorer_mode.rb | 64 ++++ lib/models/managed_app_registration.rb | 4 +- lib/models/managed_device.rb | 4 +- lib/models/mobile_app.rb | 2 + lib/models/mobile_lob_app.rb | 2 + lib/models/models.rb | 25 ++ lib/models/office_graph_insights.rb | 2 +- lib/models/online_meeting.rb | 2 +- lib/models/planner_user.rb | 2 +- lib/models/presence.rb | 2 +- lib/models/print_connector.rb | 2 +- lib/models/print_service.rb | 2 +- lib/models/print_usage.rb | 2 +- lib/models/rbac_application.rb | 20 ++ lib/models/risky_service_principal.rb | 2 +- lib/models/risky_user.rb | 2 +- lib/models/role_definition.rb | 2 + lib/models/search_query.rb | 20 ++ .../security/event_propagation_result.rb | 165 ++++++++++ ..._propagation_result_collection_response.rb | 67 ++++ .../security/event_propagation_status.rb | 13 + lib/models/security/event_query.rb | 125 ++++++++ .../event_query_collection_response.rb | 67 ++++ lib/models/security/event_status_type.rb | 13 + lib/models/security/query_type.rb | 11 + lib/models/security/retention_event.rb | 288 ++++++++++++++++++ .../retention_event_collection_response.rb | 67 ++++ lib/models/security/retention_event_status.rb | 125 ++++++++ lib/models/security/retention_event_type.rb | 168 ++++++++++ ...etention_event_type_collection_response.rb | 67 ++++ lib/models/security/security.rb | 14 + lib/models/security/trigger_types_root.rb | 67 ++++ lib/models/security/triggers_root.rb | 67 ++++ lib/models/security/user_account.rb | 20 ++ lib/models/security_model.rb | 42 +++ lib/models/service_principal.rb | 8 +- lib/models/sign_in_activity.rb | 24 +- lib/models/todo.rb | 2 +- lib/models/unified_rbac_resource_action.rb | 164 ++++++++++ ...bac_resource_action_collection_response.rb | 64 ++++ lib/models/unified_rbac_resource_namespace.rb | 84 +++++ ..._resource_namespace_collection_response.rb | 64 ++++ lib/models/user.rb | 6 +- lib/models/user_activity.rb | 2 +- lib/models/user_settings.rb | 2 +- lib/models/user_teamwork.rb | 2 +- lib/models/windows_app_x.rb | 185 +++++++++++ .../windows_app_x_app_assignment_settings.rb | 6 +- .../windows_app_x_collection_response.rb | 64 ++++ lib/models/workbook_range_view.rb | 2 +- ...2_permission_grant_item_request_builder.rb | 2 +- ...auth2_permission_grants_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../background_image_request_builder.rb | 6 +- .../banner_logo_request_builder.rb | 6 +- .../item/branding/branding_request_builder.rb | 2 +- .../background_image_request_builder.rb | 6 +- .../banner_logo_request_builder.rb | 6 +- ...nding_localization_item_request_builder.rb | 2 +- .../square_logo_request_builder.rb | 6 +- .../localizations_request_builder.rb | 2 +- .../square_logo_request_builder.rb | 6 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../item/organization_item_request_builder.rb | 2 +- .../organization_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- ...c_permission_grant_item_request_builder.rb | 2 +- .../permission_grants_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- lib/places/item/place_item_request_builder.rb | 2 +- .../buckets/buckets_request_builder.rb | 2 +- .../planner_bucket_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- lib/planner/planner_request_builder.rb | 2 +- .../item/buckets/buckets_request_builder.rb | 2 +- .../planner_bucket_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_plan_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../plans/item/tasks/tasks_request_builder.rb | 2 +- lib/planner/plans/plans_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- lib/planner/tasks/tasks_request_builder.rb | 2 +- ..._based_timeout_policies_request_builder.rb | 2 +- ...sed_timeout_policy_item_request_builder.rb | 2 +- ..._consent_request_policy_request_builder.rb | 2 +- ...app_management_policies_request_builder.rb | 2 +- ..._management_policy_item_request_builder.rb | 2 +- ...entication_flows_policy_request_builder.rb | 2 +- ...n_method_configurations_request_builder.rb | 2 +- ...thod_configuration_item_request_builder.rb | 2 +- ...tication_methods_policy_request_builder.rb | 2 +- .../authorization_policy_request_builder.rb | 2 +- ...claims_mapping_policies_request_builder.rb | 2 +- ...ims_mapping_policy_item_request_builder.rb | 2 +- ...itional_access_policies_request_builder.rb | 2 +- ...onal_access_policy_item_request_builder.rb | 2 +- ...ss_tenant_access_policy_request_builder.rb | 2 +- .../default/default_request_builder.rb | 2 +- ...ion_partner_tenant_item_request_builder.rb | 2 +- .../partners/partners_request_builder.rb | 2 +- ...t_app_management_policy_request_builder.rb | 2 +- ...eature_rollout_policies_request_builder.rb | 2 +- .../applies_to/applies_to_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../applies_to/ref/ref_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- ...ure_rollout_policy_item_request_builder.rb | 2 +- ...ealm_discovery_policies_request_builder.rb | 2 +- ...m_discovery_policy_item_request_builder.rb | 2 +- ...ults_enforcement_policy_request_builder.rb | 2 +- .../item/excludes/excludes_request_builder.rb | 2 +- ...rant_condition_set_item_request_builder.rb | 2 +- .../item/includes/includes_request_builder.rb | 2 +- ...rant_condition_set_item_request_builder.rb | 2 +- ...ssion_grant_policy_item_request_builder.rb | 2 +- ...rmission_grant_policies_request_builder.rb | 2 +- lib/policies/policies_request_builder.rb | 2 +- .../effective_rules_request_builder.rb | 2 +- ...gement_policy_rule_item_request_builder.rb | 2 +- ...gement_policy_rule_item_request_builder.rb | 2 +- .../item/rules/rules_request_builder.rb | 2 +- ..._management_policy_item_request_builder.rb | 2 +- ...ole_management_policies_request_builder.rb | 2 +- ..._policy_assignment_item_request_builder.rb | 2 +- ...ment_policy_assignments_request_builder.rb | 2 +- ...en_issuance_policy_item_request_builder.rb | 2 +- ...token_issuance_policies_request_builder.rb | 2 +- ...en_lifetime_policy_item_request_builder.rb | 2 +- ...token_lifetime_policies_request_builder.rb | 2 +- .../connectors/connectors_request_builder.rb | 2 +- .../print_connector_item_request_builder.rb | 2 +- .../print_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- lib/print/print_request_builder.rb | 2 +- .../printers/create/create_request_builder.rb | 2 +- .../item/printer_item_request_builder.rb | 2 +- ...print_task_trigger_item_request_builder.rb | 2 +- .../task_triggers_request_builder.rb | 2 +- .../printers/printers_request_builder.rb | 2 +- .../endpoints/endpoints_request_builder.rb | 2 +- ...t_service_endpoint_item_request_builder.rb | 2 +- .../print_service_item_request_builder.rb | 2 +- .../services/services_request_builder.rb | 2 +- .../allowed_groups/ref/ref_request_builder.rb | 2 +- .../allowed_users/ref/ref_request_builder.rb | 2 +- .../printer_share_item_request_builder.rb | 2 +- lib/print/shares/shares_request_builder.rb | 2 +- ...nt_task_definition_item_request_builder.rb | 2 +- .../item/print_task_item_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- .../task_definitions_request_builder.rb | 2 +- lib/privacy/privacy_request_builder.rb | 2 +- .../authored_note_item_request_builder.rb | 2 +- .../item/notes/notes_request_builder.rb | 2 +- ...ect_rights_request_item_request_builder.rb | 2 +- ...subject_rights_requests_request_builder.rb | 2 +- ..._print_usage_by_printer_request_builder.rb | 2 +- ...t_usage_by_printer_item_request_builder.rb | 2 +- ...ily_print_usage_by_user_request_builder.rb | 2 +- ...rint_usage_by_user_item_request_builder.rb | 2 +- ...t_usage_by_printer_item_request_builder.rb | 2 +- ..._print_usage_by_printer_request_builder.rb | 2 +- ...rint_usage_by_user_item_request_builder.rb | 2 +- ...hly_print_usage_by_user_request_builder.rb | 2 +- lib/reports/reports_request_builder.rb | 2 +- .../security/security_request_builder.rb | 2 +- .../directory/directory_request_builder.rb | 20 +- .../resource_namespaces/count/count.rb | 0 .../count/count_request_builder.rb | 92 ++++++ .../resource_namespaces/item/item.rb | 0 .../item/resource_actions/count/count.rb | 0 .../count/count_request_builder.rb | 98 ++++++ .../item/resource_actions/item/item.rb | 0 ...ac_resource_action_item_request_builder.rb | 165 ++++++++++ .../item/resource_actions/resource_actions.rb | 0 .../resource_actions_request_builder.rb | 169 ++++++++++ ...resource_namespace_item_request_builder.rb | 177 +++++++++++ .../resource_namespaces.rb | 0 .../resource_namespaces_request_builder.rb | 163 ++++++++++ ..._schedule_instance_item_request_builder.rb | 2 +- ...ment_schedule_instances_request_builder.rb | 2 +- ...t_schedule_request_item_request_builder.rb | 2 +- ...nment_schedule_requests_request_builder.rb | 2 +- ...ssignment_schedule_item_request_builder.rb | 2 +- ...le_assignment_schedules_request_builder.rb | 2 +- .../app_scope/app_scope_request_builder.rb | 2 +- ...ed_role_assignment_item_request_builder.rb | 2 +- .../role_assignments_request_builder.rb | 2 +- ...herits_permissions_from_request_builder.rb | 2 +- ...ed_role_definition_item_request_builder.rb | 2 +- ...ed_role_definition_item_request_builder.rb | 2 +- .../role_definitions_request_builder.rb | 2 +- ..._schedule_instance_item_request_builder.rb | 2 +- ...lity_schedule_instances_request_builder.rb | 2 +- ...y_schedule_request_item_request_builder.rb | 2 +- ...ility_schedule_requests_request_builder.rb | 2 +- ...igibility_schedule_item_request_builder.rb | 2 +- ...e_eligibility_schedules_request_builder.rb | 2 +- .../entitlement_management_request_builder.rb | 20 +- .../resource_namespaces/count/count.rb | 0 .../count/count_request_builder.rb | 92 ++++++ .../resource_namespaces/item/item.rb | 0 .../item/resource_actions/count/count.rb | 0 .../count/count_request_builder.rb | 98 ++++++ .../item/resource_actions/item/item.rb | 0 ...ac_resource_action_item_request_builder.rb | 165 ++++++++++ .../item/resource_actions/resource_actions.rb | 0 .../resource_actions_request_builder.rb | 169 ++++++++++ ...resource_namespace_item_request_builder.rb | 177 +++++++++++ .../resource_namespaces.rb | 0 .../resource_namespaces_request_builder.rb | 163 ++++++++++ ..._schedule_instance_item_request_builder.rb | 2 +- ...ment_schedule_instances_request_builder.rb | 2 +- ...t_schedule_request_item_request_builder.rb | 2 +- ...nment_schedule_requests_request_builder.rb | 2 +- ...ssignment_schedule_item_request_builder.rb | 2 +- ...le_assignment_schedules_request_builder.rb | 2 +- .../app_scope/app_scope_request_builder.rb | 2 +- ...ed_role_assignment_item_request_builder.rb | 2 +- .../role_assignments_request_builder.rb | 2 +- ...herits_permissions_from_request_builder.rb | 2 +- ...ed_role_definition_item_request_builder.rb | 2 +- ...ed_role_definition_item_request_builder.rb | 2 +- .../role_definitions_request_builder.rb | 2 +- ..._schedule_instance_item_request_builder.rb | 2 +- ...lity_schedule_instances_request_builder.rb | 2 +- ...y_schedule_request_item_request_builder.rb | 2 +- ...ility_schedule_requests_request_builder.rb | 2 +- ...igibility_schedule_item_request_builder.rb | 2 +- ...e_eligibility_schedules_request_builder.rb | 2 +- .../role_management_request_builder.rb | 2 +- .../schema_extension_item_request_builder.rb | 2 +- .../schema_extensions_request_builder.rb | 2 +- ...ed_role_membership_item_request_builder.rb | 2 +- ...scoped_role_memberships_request_builder.rb | 2 +- lib/search/query/query_request_builder.rb | 2 +- lib/search/search_request_builder.rb | 2 +- lib/security/alerts/alerts_request_builder.rb | 2 +- .../alerts/item/alert_item_request_builder.rb | 2 +- .../alerts_v2/alerts_v2_request_builder.rb | 2 +- .../item/alert_item_request_builder.rb | 2 +- .../attack_simulation_request_builder.rb | 2 +- ...ion_automation_run_item_request_builder.rb | 2 +- .../item/runs/runs_request_builder.rb | 2 +- ...ulation_automation_item_request_builder.rb | 2 +- .../simulation_automations_request_builder.rb | 2 +- .../item/simulation_item_request_builder.rb | 2 +- .../simulations_request_builder.rb | 2 +- lib/security/cases/cases_request_builder.rb | 2 +- .../ediscovery_cases_request_builder.rb | 2 +- .../custodians/custodians_request_builder.rb | 2 +- ...iscovery_custodian_item_request_builder.rb | 2 +- .../item/site_source_item_request_builder.rb | 2 +- .../site_sources_request_builder.rb | 2 +- ...ified_group_source_item_request_builder.rb | 2 +- .../unified_group_sources_request_builder.rb | 2 +- .../item/user_source_item_request_builder.rb | 2 +- .../user_sources_request_builder.rb | 2 +- .../security_apply_hold_request_builder.rb | 2 +- .../security_remove_hold_request_builder.rb | 2 +- .../ediscovery_case_item_request_builder.rb | 2 +- .../data_source_request_builder.rb | 2 +- ...todial_data_source_item_request_builder.rb | 2 +- ...ncustodial_data_sources_request_builder.rb | 2 +- .../security_apply_hold_request_builder.rb | 2 +- .../security_remove_hold_request_builder.rb | 2 +- .../case_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- ...scovery_review_set_item_request_builder.rb | 2 +- ...y_review_set_query_item_request_builder.rb | 2 +- .../security_apply_tags_request_builder.rb | 2 +- .../item/queries/queries_request_builder.rb | 2 +- ...urity_add_to_review_set_request_builder.rb | 2 +- .../review_sets_request_builder.rb | 2 +- .../additional_sources_request_builder.rb | 2 +- .../item/data_source_item_request_builder.rb | 2 +- .../ediscovery_search_item_request_builder.rb | 2 +- .../security_purge_data_request_builder.rb | 2 +- .../item/searches/searches_request_builder.rb | 2 +- .../item/settings/settings_request_builder.rb | 2 +- ...scovery_review_tag_item_request_builder.rb | 2 +- .../item/tags/tags_request_builder.rb | 2 +- .../incidents/incidents_request_builder.rb | 2 +- .../item/incident_item_request_builder.rb | 2 +- ...re_control_profile_item_request_builder.rb | 2 +- ..._score_control_profiles_request_builder.rb | 2 +- .../item/secure_score_item_request_builder.rb | 2 +- .../secure_scores_request_builder.rb | 2 +- lib/security/security_request_builder.rb | 14 +- ...urity_run_hunting_query_request_builder.rb | 2 +- .../retention_event_types/count/count.rb | 0 .../count/count_request_builder.rb | 92 ++++++ .../retention_event_types/item/item.rb | 0 ...tention_event_type_item_request_builder.rb | 159 ++++++++++ .../retention_event_types.rb | 0 .../retention_event_types_request_builder.rb | 163 ++++++++++ lib/security/trigger_types/trigger_types.rb | 0 .../trigger_types_request_builder.rb | 171 +++++++++++ .../triggers/retention_events/count/count.rb | 0 .../count/count_request_builder.rb | 92 ++++++ .../triggers/retention_events/item/item.rb | 0 .../retention_event_item_request_builder.rb | 165 ++++++++++ .../retention_event_type.rb | 0 .../retention_event_type_request_builder.rb | 96 ++++++ .../retention_events/retention_events.rb | 0 .../retention_events_request_builder.rb | 163 ++++++++++ lib/security/triggers/triggers.rb | 0 .../triggers/triggers_request_builder.rb | 171 +++++++++++ ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../item/add_key/add_key_request_builder.rb | 2 +- .../add_password_request_builder.rb | 2 +- ...ken_signing_certificate_request_builder.rb | 2 +- .../app_role_assigned_to_request_builder.rb | 2 +- ...pp_role_assignment_item_request_builder.rb | 2 +- .../app_role_assignments_request_builder.rb | 2 +- ...pp_role_assignment_item_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- ...mission_classifications_request_builder.rb | 2 +- ...ion_classification_item_request_builder.rb | 2 +- .../endpoints/endpoints_request_builder.rb | 2 +- .../item/endpoint_item_request_builder.rb | 2 +- ...ed_identity_credentials_request_builder.rb | 2 +- ...dentity_credential_item_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- .../ref/ref_request_builder.rb | 2 +- .../item/owners/ref/ref_request_builder.rb | 2 +- .../remove_key/remove_key_request_builder.rb | 2 +- .../remove_password_request_builder.rb | 2 +- .../service_principal_item_request_builder.rb | 2 +- .../service_principals_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/content/content_request_builder.rb | 8 +- .../list/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../document_set_versions_request_builder.rb | 2 +- ...cument_set_version_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/fields/fields_request_builder.rb | 2 +- .../item/list_item_item_request_builder.rb | 2 +- .../item/fields/fields_request_builder.rb | 2 +- .../list_item_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../item/list/items/items_request_builder.rb | 2 +- lib/shares/item/list/list_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- .../permission/grant/grant_request_builder.rb | 2 +- .../permission/permission_request_builder.rb | 2 +- .../root/content/content_request_builder.rb | 8 +- .../shared_drive_item_item_request_builder.rb | 2 +- lib/shares/shares_request_builder.rb | 2 +- lib/sites/add/add_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../add_copy/add_copy_request_builder.rb | 2 +- ...y_from_content_type_hub_request_builder.rb | 2 +- .../content_types_request_builder.rb | 2 +- ...ssociate_with_hub_sites_request_builder.rb | 2 +- .../column_links_request_builder.rb | 2 +- .../item/column_link_item_request_builder.rb | 2 +- .../item/columns/columns_request_builder.rb | 2 +- .../column_definition_item_request_builder.rb | 2 +- .../item/content_type_item_request_builder.rb | 2 +- ...efault_content_location_request_builder.rb | 2 +- .../document_set_versions_request_builder.rb | 2 +- ...cument_set_version_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/fields/fields_request_builder.rb | 2 +- .../item/list_item_item_request_builder.rb | 2 +- .../item/fields/fields_request_builder.rb | 2 +- .../list_item_version_item_request_builder.rb | 2 +- .../item/versions/versions_request_builder.rb | 2 +- .../lists/item/items/items_request_builder.rb | 2 +- .../lists/item/list_item_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- lib/sites/item/lists/lists_request_builder.rb | 2 +- ...t_notebook_from_web_url_request_builder.rb | 2 +- .../copy_notebook_request_builder.rb | 2 +- .../item/notebook_item_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../notebooks/notebooks_request_builder.rb | 2 +- .../item/onenote/onenote_request_builder.rb | 2 +- .../onenote_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../onenote/pages/pages_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../onenote_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../sections/sections_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/grant/grant_request_builder.rb | 2 +- .../item/permission_item_request_builder.rb | 2 +- .../permissions_request_builder.rb | 2 +- lib/sites/item/site_item_request_builder.rb | 2 +- .../groups/groups_request_builder.rb | 2 +- .../groups/item/group_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../groups/item/sets/sets_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../parent_group/sets/sets_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../term_store/sets/sets_request_builder.rb | 2 +- .../term_store/term_store_request_builder.rb | 2 +- .../item/groups/groups_request_builder.rb | 2 +- .../groups/item/group_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../groups/item/sets/sets_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../parent_group_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../parent_group/sets/sets_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../sets/item/set_item_request_builder.rb | 2 +- .../item/children/children_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../item/term_item_request_builder.rb | 2 +- .../item/relation_item_request_builder.rb | 2 +- .../relations/relations_request_builder.rb | 2 +- .../terms/item/term_item_request_builder.rb | 2 +- .../sets/item/terms/terms_request_builder.rb | 2 +- .../item/sets/sets_request_builder.rb | 2 +- .../item/store_item_request_builder.rb | 2 +- .../term_stores_request_builder.rb | 2 +- lib/sites/remove/remove_request_builder.rb | 2 +- .../booking_businesses_request_builder.rb | 2 +- .../appointments_request_builder.rb | 2 +- ...ooking_appointment_item_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../booking_business_item_request_builder.rb | 2 +- .../calendar_view_request_builder.rb | 16 +- ...ooking_appointment_item_request_builder.rb | 10 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../custom_questions_request_builder.rb | 2 +- ...ng_custom_question_item_request_builder.rb | 2 +- .../customers/customers_request_builder.rb | 2 +- ...king_customer_base_item_request_builder.rb | 2 +- .../get_staff_availability_request_builder.rb | 2 +- .../booking_service_item_request_builder.rb | 2 +- .../item/services/services_request_builder.rb | 2 +- ..._staff_member_base_item_request_builder.rb | 2 +- .../staff_members_request_builder.rb | 2 +- .../booking_currencies_request_builder.rb | 2 +- .../booking_currency_item_request_builder.rb | 2 +- lib/solutions/solutions_request_builder.rb | 2 +- .../subscribed_sku_item_request_builder.rb | 2 +- .../subscribed_skus_request_builder.rb | 2 +- .../item/subscription_item_request_builder.rb | 2 +- .../subscriptions_request_builder.rb | 2 +- .../item/archive/archive_request_builder.rb | 2 +- .../item/channels/channels_request_builder.rb | 2 +- .../item/channel_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 112 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 118 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../item/tabs/tabs_request_builder.rb | 2 +- lib/teams/item/clone/clone_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- ...ms_async_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- lib/teams/item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- .../content/content_request_builder.rb | 8 +- .../members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 109 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../messages/messages_request_builder.rb | 2 +- .../primary_channel_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../tabs/tabs_request_builder.rb | 2 +- ...ffer_shift_request_item_request_builder.rb | 2 +- .../offer_shift_requests_request_builder.rb | 2 +- ...ift_change_request_item_request_builder.rb | 2 +- ...n_shift_change_requests_request_builder.rb | 2 +- .../item/open_shift_item_request_builder.rb | 2 +- .../open_shifts_request_builder.rb | 2 +- .../item/schedule/schedule_request_builder.rb | 2 +- .../scheduling_group_item_request_builder.rb | 2 +- .../scheduling_groups_request_builder.rb | 2 +- .../schedule/share/share_request_builder.rb | 2 +- .../shifts/item/shift_item_request_builder.rb | 2 +- .../schedule/shifts/shifts_request_builder.rb | 2 +- ...fts_change_request_item_request_builder.rb | 2 +- ..._shifts_change_requests_request_builder.rb | 2 +- .../time_off_reason_item_request_builder.rb | 2 +- .../time_off_reasons_request_builder.rb | 2 +- .../time_off_request_item_request_builder.rb | 2 +- .../time_off_requests_request_builder.rb | 2 +- .../item/time_off_item_request_builder.rb | 2 +- .../times_off/times_off_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- ...eamwork_tag_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/teamwork_tag_item_request_builder.rb | 2 +- lib/teams/item/tags/tags_request_builder.rb | 2 +- lib/teams/item/team_item_request_builder.rb | 2 +- lib/teams/teams_request_builder.rb | 2 +- .../teams_template_item_request_builder.rb | 2 +- .../teams_templates_request_builder.rb | 2 +- .../deleted_teams_request_builder.rb | 2 +- .../item/channels/channels_request_builder.rb | 2 +- .../item/channel_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 121 ++++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../item/tabs/tabs_request_builder.rb | 2 +- .../item/deleted_team_item_request_builder.rb | 2 +- ...ification_to_recipients_request_builder.rb | 2 +- lib/teamwork/teamwork_request_builder.rb | 2 +- ...kforce_integration_item_request_builder.rb | 2 +- .../workforce_integrations_request_builder.rb | 2 +- ...legated_admin_customers_request_builder.rb | 2 +- ...ted_admin_customer_item_request_builder.rb | 2 +- ..._management_detail_item_request_builder.rb | 2 +- ...vice_management_details_request_builder.rb | 2 +- ...ted_admin_relationships_request_builder.rb | 2 +- .../access_assignments_request_builder.rb | 2 +- ..._access_assignment_item_request_builder.rb | 2 +- ...admin_relationship_item_request_builder.rb | 2 +- ...tionship_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- ...lationship_request_item_request_builder.rb | 2 +- .../item/requests/requests_request_builder.rb | 2 +- .../tenant_relationships_request_builder.rb | 2 +- ...le_extension_properties_request_builder.rb | 2 +- .../get_by_ids/get_by_ids_request_builder.rb | 2 +- .../activities/activities_request_builder.rb | 2 +- .../history_items_request_builder.rb | 2 +- ...ivity_history_item_item_request_builder.rb | 2 +- .../user_activity_item_request_builder.rb | 2 +- .../app_role_assignments_request_builder.rb | 2 +- ...pp_role_assignment_item_request_builder.rb | 2 +- .../assign_license_request_builder.rb | 2 +- .../authentication_request_builder.rb | 2 +- .../email_methods_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- .../reset_password_request_builder.rb | 2 +- .../methods/methods_request_builder.rb | 2 +- ..._running_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../password_methods_request_builder.rb | 2 +- ...hentication_method_item_request_builder.rb | 2 +- .../phone_methods_request_builder.rb | 2 +- ...ary_access_pass_methods_request_builder.rb | 2 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/calendar/calendar_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../calendar/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../calendar_groups_request_builder.rb | 2 +- .../calendar_group_item_request_builder.rb | 2 +- .../calendars/calendars_request_builder.rb | 2 +- .../item/calendar_item_request_builder.rb | 2 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../calendars/calendars_request_builder.rb | 9 +- .../item/calendar_item_request_builder.rb | 9 +- .../calendar_permissions_request_builder.rb | 2 +- ...alendar_permission_item_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../get_schedule_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../change_password_request_builder.rb | 2 +- lib/users/item/chats/chats_request_builder.rb | 2 +- .../chats/item/chat_item_request_builder.rb | 2 +- .../hide_for_user_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../last_message_preview_request_builder.rb | 2 +- ...mark_chat_read_for_user_request_builder.rb | 2 +- ...rk_chat_unread_for_user_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 112 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 118 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._chat_message_info_item_request_builder.rb | 2 +- .../pinned_messages_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../chats/item/tabs/tabs_request_builder.rb | 2 +- .../unhide_for_user_request_builder.rb | 2 +- .../check_member_groups_request_builder.rb | 2 +- .../check_member_objects_request_builder.rb | 2 +- .../contact_folders_request_builder.rb | 9 +- .../child_folders_request_builder.rb | 2 +- .../contact_folder_item_request_builder.rb | 2 +- .../item/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../contact_folder_item_request_builder.rb | 9 +- .../item/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/contacts/contacts_request_builder.rb | 2 +- .../item/contact_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._troubleshooting_events_request_builder.rb | 2 +- ...ubleshooting_event_item_request_builder.rb | 2 +- .../item/events/events_request_builder.rb | 2 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../events/item/event_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../instances/instances_request_builder.rb | 14 +- .../item/accept/accept_request_builder.rb | 2 +- .../attachments_request_builder.rb | 6 +- .../create_upload_session_request_builder.rb | 2 +- .../item/cancel/cancel_request_builder.rb | 2 +- .../item/decline/decline_request_builder.rb | 2 +- .../item/event_item_request_builder.rb | 8 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../snooze_reminder_request_builder.rb | 2 +- .../tentatively_accept_request_builder.rb | 2 +- .../export_personal_data_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../find_meeting_times_request_builder.rb | 2 +- .../get_mail_tips_request_builder.rb | 2 +- .../get_member_groups_request_builder.rb | 2 +- .../get_member_objects_request_builder.rb | 2 +- ...nference_classification_request_builder.rb | 2 +- ...ification_override_item_request_builder.rb | 2 +- .../overrides/overrides_request_builder.rb | 2 +- .../item/insights/insights_request_builder.rb | 2 +- .../shared_insight_item_request_builder.rb | 2 +- .../insights/shared/shared_request_builder.rb | 2 +- .../item/trending_item_request_builder.rb | 2 +- .../trending/trending_request_builder.rb | 2 +- .../item/used_insight_item_request_builder.rb | 2 +- .../insights/used/used_request_builder.rb | 2 +- .../item/archive/archive_request_builder.rb | 2 +- .../item/channels/channels_request_builder.rb | 2 +- .../item/channel_item_request_builder.rb | 2 +- .../content/content_request_builder.rb | 8 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 118 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 124 ++++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../item/messages/messages_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../item/tabs/tabs_request_builder.rb | 2 +- .../item/clone/clone_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- .../item/members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- ...ms_async_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/photo/photo_request_builder.rb | 2 +- .../photo/value/content_request_builder.rb | 6 +- .../content/content_request_builder.rb | 8 +- .../members/add/add_request_builder.rb | 2 +- ...onversation_member_item_request_builder.rb | 2 +- .../members/members_request_builder.rb | 2 +- .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 115 +++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/chat_message_item_request_builder.rb | 2 +- .../hosted_contents_request_builder.rb | 2 +- ...age_hosted_content_item_request_builder.rb | 8 +- .../item/value/content_request_builder.rb | 121 ++++++++ .../item/hosted_contents/item/value/value.rb | 0 .../item/replies/replies_request_builder.rb | 2 +- .../messages/messages_request_builder.rb | 2 +- .../primary_channel_request_builder.rb | 2 +- ..._channel_team_info_item_request_builder.rb | 2 +- .../shared_with_teams_request_builder.rb | 2 +- .../item/teams_tab_item_request_builder.rb | 2 +- .../tabs/tabs_request_builder.rb | 2 +- ...ffer_shift_request_item_request_builder.rb | 2 +- .../offer_shift_requests_request_builder.rb | 2 +- ...ift_change_request_item_request_builder.rb | 2 +- ...n_shift_change_requests_request_builder.rb | 2 +- .../item/open_shift_item_request_builder.rb | 2 +- .../open_shifts_request_builder.rb | 2 +- .../item/schedule/schedule_request_builder.rb | 2 +- .../scheduling_group_item_request_builder.rb | 2 +- .../scheduling_groups_request_builder.rb | 2 +- .../schedule/share/share_request_builder.rb | 2 +- .../shifts/item/shift_item_request_builder.rb | 2 +- .../schedule/shifts/shifts_request_builder.rb | 2 +- ...fts_change_request_item_request_builder.rb | 2 +- ..._shifts_change_requests_request_builder.rb | 2 +- .../time_off_reason_item_request_builder.rb | 2 +- .../time_off_reasons_request_builder.rb | 2 +- .../time_off_request_item_request_builder.rb | 2 +- .../time_off_requests_request_builder.rb | 2 +- .../item/time_off_item_request_builder.rb | 2 +- .../times_off/times_off_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- ...eamwork_tag_member_item_request_builder.rb | 2 +- .../item/members/members_request_builder.rb | 2 +- .../item/teamwork_tag_item_request_builder.rb | 2 +- .../item/tags/tags_request_builder.rb | 2 +- .../item/team_item_request_builder.rb | 2 +- .../joined_teams_request_builder.rb | 2 +- .../license_details_item_request_builder.rb | 2 +- .../license_details_request_builder.rb | 2 +- .../child_folders_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../item/mail_folder_item_request_builder.rb | 2 +- .../item/message_rule_item_request_builder.rb | 2 +- .../message_rules_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../item/messages/messages_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../item/mail_folder_item_request_builder.rb | 2 +- .../item/message_rule_item_request_builder.rb | 2 +- .../message_rules_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../item/messages/messages_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../mail_folders_request_builder.rb | 2 +- .../clean_windows_device_request_builder.rb | 2 +- ...rom_shared_apple_device_request_builder.rb | 2 +- .../device_category_request_builder.rb | 2 +- ...ompliance_policy_states_request_builder.rb | 2 +- ...iance_policy_state_item_request_builder.rb | 2 +- ...ce_configuration_states_request_builder.rb | 2 +- ...onfiguration_state_item_request_builder.rb | 2 +- .../managed_device_item_request_builder.rb | 2 +- ..._windows_device_account_request_builder.rb | 2 +- .../windows_defender_scan_request_builder.rb | 2 +- .../item/wipe/wipe_request_builder.rb | 2 +- .../managed_devices_request_builder.rb | 2 +- .../item/manager/ref/ref_request_builder.rb | 2 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/copy/copy_request_builder.rb | 2 +- .../create_forward_request_builder.rb | 2 +- .../create_reply_request_builder.rb | 2 +- .../create_reply_all_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../item/forward/forward_request_builder.rb | 2 +- .../item/message_item_request_builder.rb | 2 +- .../item/move/move_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/reply/reply_request_builder.rb | 2 +- .../reply_all/reply_all_request_builder.rb | 2 +- ..._extended_property_item_request_builder.rb | 2 +- ...lue_extended_properties_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../item/messages/messages_request_builder.rb | 12 +- ...t_notebook_from_web_url_request_builder.rb | 2 +- .../copy_notebook_request_builder.rb | 2 +- .../item/notebook_item_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../notebooks/notebooks_request_builder.rb | 2 +- .../item/onenote/onenote_request_builder.rb | 2 +- .../onenote_operation_item_request_builder.rb | 2 +- .../operations/operations_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../onenote/pages/pages_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../onenote_resource_item_request_builder.rb | 2 +- .../resources/resources_request_builder.rb | 2 +- .../section_group_item_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../item/sections/sections_request_builder.rb | 2 +- .../section_groups_request_builder.rb | 2 +- .../copy_to_notebook_request_builder.rb | 2 +- .../copy_to_section_group_request_builder.rb | 2 +- .../onenote_section_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../copy_to_section_request_builder.rb | 2 +- .../item/onenote_page_item_request_builder.rb | 2 +- .../onenote_patch_content_request_builder.rb | 2 +- .../item/pages/pages_request_builder.rb | 2 +- .../sections/sections_request_builder.rb | 2 +- .../create_or_get_request_builder.rb | 2 +- .../attendance_reports_request_builder.rb | 2 +- .../attendance_records_request_builder.rb | 2 +- .../attendance_record_item_request_builder.rb | 2 +- ..._attendance_report_item_request_builder.rb | 2 +- .../attendee_report_request_builder.rb | 6 +- .../online_meeting_item_request_builder.rb | 2 +- .../online_meetings_request_builder.rb | 2 +- .../outlook_category_item_request_builder.rb | 2 +- .../master_categories_request_builder.rb | 2 +- lib/users/item/photo/photo_request_builder.rb | 32 +- .../photo/value/content_request_builder.rb | 6 +- .../item/value/content_request_builder.rb | 6 +- .../item/planner/planner_request_builder.rb | 2 +- .../item/buckets/buckets_request_builder.rb | 2 +- .../planner_bucket_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../item/tasks/tasks_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_plan_item_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../plans/item/tasks/tasks_request_builder.rb | 2 +- .../planner/plans/plans_request_builder.rb | 2 +- ...ed_to_task_board_format_request_builder.rb | 2 +- ...ucket_task_board_format_request_builder.rb | 2 +- .../item/details/details_request_builder.rb | 2 +- .../item/planner_task_item_request_builder.rb | 2 +- ...gress_task_board_format_request_builder.rb | 2 +- .../planner/tasks/tasks_request_builder.rb | 2 +- .../clear_presence_request_builder.rb | 2 +- .../item/presence/presence_request_builder.rb | 2 +- .../set_presence_request_builder.rb | 2 +- ...user_preferred_presence_request_builder.rb | 2 +- ...ed_role_membership_item_request_builder.rb | 2 +- .../scoped_role_member_of_request_builder.rb | 2 +- .../send_mail/send_mail_request_builder.rb | 2 +- .../item/settings/settings_request_builder.rb | 2 +- .../shift_preferences_request_builder.rb | 2 +- .../associated_teams_request_builder.rb | 2 +- ...sociated_team_info_item_request_builder.rb | 2 +- .../installed_apps_request_builder.rb | 2 +- ...s_app_installation_item_request_builder.rb | 2 +- ...d_activity_notification_request_builder.rb | 2 +- .../item/teamwork/teamwork_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- ...attachment_session_item_request_builder.rb | 2 +- .../item/content/content_request_builder.rb | 8 +- .../attachments_request_builder.rb | 2 +- .../create_upload_session_request_builder.rb | 2 +- .../item/value/content_request_builder.rb | 6 +- .../checklist_items_request_builder.rb | 2 +- .../checklist_item_item_request_builder.rb | 2 +- .../extensions/extensions_request_builder.rb | 2 +- .../item/extension_item_request_builder.rb | 2 +- .../linked_resource_item_request_builder.rb | 2 +- .../linked_resources_request_builder.rb | 2 +- .../item/todo_task_item_request_builder.rb | 2 +- .../lists/item/tasks/tasks_request_builder.rb | 2 +- .../todo_task_list_item_request_builder.rb | 2 +- .../item/todo/lists/lists_request_builder.rb | 2 +- lib/users/item/todo/todo_request_builder.rb | 2 +- .../translate_exchange_ids_request_builder.rb | 2 +- lib/users/item/user_item_request_builder.rb | 2 +- ...strations_by_device_tag_request_builder.rb | 2 +- lib/users/users_request_builder.rb | 2 +- .../validate_properties_request_builder.rb | 2 +- lib/version_information.rb | 3 +- 4133 files changed, 16722 insertions(+), 4414 deletions(-) create mode 100644 lib/admin/edge/edge.rb create mode 100644 lib/admin/edge/edge_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/internet_explorer_mode.rb create mode 100644 lib/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/count/count.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/item.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/item.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/item.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/site_lists.rb create mode 100644 lib/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.rb create mode 100644 lib/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/chats/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/chats/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/models/browser_shared_cookie.rb create mode 100644 lib/models/browser_shared_cookie_collection_response.rb create mode 100644 lib/models/browser_shared_cookie_history.rb create mode 100644 lib/models/browser_shared_cookie_history_collection_response.rb create mode 100644 lib/models/browser_shared_cookie_source_environment.rb create mode 100644 lib/models/browser_shared_cookie_status.rb create mode 100644 lib/models/browser_site.rb create mode 100644 lib/models/browser_site_collection_response.rb create mode 100644 lib/models/browser_site_compatibility_mode.rb create mode 100644 lib/models/browser_site_history.rb create mode 100644 lib/models/browser_site_history_collection_response.rb create mode 100644 lib/models/browser_site_list.rb create mode 100644 lib/models/browser_site_list_collection_response.rb create mode 100644 lib/models/browser_site_list_status.rb create mode 100644 lib/models/browser_site_merge_type.rb create mode 100644 lib/models/browser_site_status.rb create mode 100644 lib/models/browser_site_target_environment.rb create mode 100644 lib/models/edge.rb create mode 100644 lib/models/internet_explorer_mode.rb create mode 100644 lib/models/security/event_propagation_result.rb create mode 100644 lib/models/security/event_propagation_result_collection_response.rb create mode 100644 lib/models/security/event_propagation_status.rb create mode 100644 lib/models/security/event_query.rb create mode 100644 lib/models/security/event_query_collection_response.rb create mode 100644 lib/models/security/event_status_type.rb create mode 100644 lib/models/security/query_type.rb create mode 100644 lib/models/security/retention_event.rb create mode 100644 lib/models/security/retention_event_collection_response.rb create mode 100644 lib/models/security/retention_event_status.rb create mode 100644 lib/models/security/retention_event_type.rb create mode 100644 lib/models/security/retention_event_type_collection_response.rb create mode 100644 lib/models/security/trigger_types_root.rb create mode 100644 lib/models/security/triggers_root.rb create mode 100644 lib/models/unified_rbac_resource_action.rb create mode 100644 lib/models/unified_rbac_resource_action_collection_response.rb create mode 100644 lib/models/unified_rbac_resource_namespace.rb create mode 100644 lib/models/unified_rbac_resource_namespace_collection_response.rb create mode 100644 lib/models/windows_app_x.rb create mode 100644 lib/models/windows_app_x_collection_response.rb create mode 100644 lib/role_management/directory/resource_namespaces/count/count.rb create mode 100644 lib/role_management/directory/resource_namespaces/count/count_request_builder.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/item.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/count/count.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/item/item.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb create mode 100644 lib/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb create mode 100644 lib/role_management/directory/resource_namespaces/resource_namespaces.rb create mode 100644 lib/role_management/directory/resource_namespaces/resource_namespaces_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/count/count.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/count/count_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/item.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/item.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/resource_namespaces.rb create mode 100644 lib/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.rb create mode 100644 lib/security/trigger_types/retention_event_types/count/count.rb create mode 100644 lib/security/trigger_types/retention_event_types/count/count_request_builder.rb create mode 100644 lib/security/trigger_types/retention_event_types/item/item.rb create mode 100644 lib/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.rb create mode 100644 lib/security/trigger_types/retention_event_types/retention_event_types.rb create mode 100644 lib/security/trigger_types/retention_event_types/retention_event_types_request_builder.rb create mode 100644 lib/security/trigger_types/trigger_types.rb create mode 100644 lib/security/trigger_types/trigger_types_request_builder.rb create mode 100644 lib/security/triggers/retention_events/count/count.rb create mode 100644 lib/security/triggers/retention_events/count/count_request_builder.rb create mode 100644 lib/security/triggers/retention_events/item/item.rb create mode 100644 lib/security/triggers/retention_events/item/retention_event_item_request_builder.rb create mode 100644 lib/security/triggers/retention_events/item/retention_event_type/retention_event_type.rb create mode 100644 lib/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.rb create mode 100644 lib/security/triggers/retention_events/retention_events.rb create mode 100644 lib/security/triggers/retention_events/retention_events_request_builder.rb create mode 100644 lib/security/triggers/triggers.rb create mode 100644 lib/security/triggers/triggers_request_builder.rb create mode 100644 lib/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/chats/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb create mode 100644 lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb create mode 100644 lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb diff --git a/lib/admin/admin_request_builder.rb b/lib/admin/admin_request_builder.rb index 7615807a70..06dc0800e6 100644 --- a/lib/admin/admin_request_builder.rb +++ b/lib/admin/admin_request_builder.rb @@ -3,6 +3,7 @@ require_relative '../models/admin' require_relative '../models/o_data_errors/o_data_error' require_relative './admin' +require_relative './edge/edge_request_builder' require_relative './service_announcement/service_announcement_request_builder' module MicrosoftGraph @@ -11,6 +12,11 @@ module Admin # Provides operations to manage the admin singleton. class AdminRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the edge property of the microsoft.graph.admin entity. + def edge() + return MicrosoftGraph::Admin::Edge::EdgeRequestBuilder.new(@path_parameters, @request_adapter) + end ## # Provides operations to manage the serviceAnnouncement property of the microsoft.graph.admin entity. def service_announcement() @@ -90,7 +96,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/edge/edge.rb b/lib/admin/edge/edge.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/edge_request_builder.rb b/lib/admin/edge/edge_request_builder.rb new file mode 100644 index 0000000000..2d36b47bdb --- /dev/null +++ b/lib/admin/edge/edge_request_builder.rb @@ -0,0 +1,159 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../../models/edge' +require_relative '../../models/o_data_errors/o_data_error' +require_relative '../admin' +require_relative './edge' +require_relative './internet_explorer_mode/internet_explorer_mode_request_builder' + +module MicrosoftGraph + module Admin + module Edge + ## + # Provides operations to manage the edge property of the microsoft.graph.admin entity. + class EdgeRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity. + def internet_explorer_mode() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::InternetExplorerModeRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new EdgeRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge{?%24select,%24expand}") + end + ## + ## Delete navigation property edge for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get edge from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of edge + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Edge.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property edge in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of edge + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Edge.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property edge for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get edge from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property edge in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get edge from admin + class EdgeRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/internet_explorer_mode.rb b/lib/admin/edge/internet_explorer_mode/internet_explorer_mode.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.rb b/lib/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.rb new file mode 100644 index 0000000000..50b5df38db --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/internet_explorer_mode_request_builder.rb @@ -0,0 +1,174 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../microsoft_graph' +require_relative '../../../models/internet_explorer_mode' +require_relative '../../../models/o_data_errors/o_data_error' +require_relative '../../admin' +require_relative '../edge' +require_relative './internet_explorer_mode' +require_relative './site_lists/item/browser_site_list_item_request_builder' +require_relative './site_lists/site_lists_request_builder' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + ## + # Provides operations to manage the internetExplorerMode property of the microsoft.graph.edge entity. + class InternetExplorerModeRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. + def site_lists() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::SiteListsRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new InternetExplorerModeRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode{?%24select,%24expand}") + end + ## + ## Delete navigation property internetExplorerMode for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get internetExplorerMode from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of internet_explorer_mode + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::InternetExplorerMode.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property internetExplorerMode in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of internet_explorer_mode + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::InternetExplorerMode.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. + ## @param id Unique identifier of the item + ## @return a browser_site_list_item_request_builder + ## + def site_lists_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["browserSiteList%2Did"] = id + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::BrowserSiteListItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property internetExplorerMode for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get internetExplorerMode from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property internetExplorerMode in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get internetExplorerMode from admin + class InternetExplorerModeRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/count/count.rb b/lib/admin/edge/internet_explorer_mode/site_lists/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.rb new file mode 100644 index 0000000000..6d105cf2f9 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/count/count_request_builder.rb @@ -0,0 +1,95 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../admin' +require_relative '../../../edge' +require_relative '../../internet_explorer_mode' +require_relative '../site_lists' +require_relative './count' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.rb new file mode 100644 index 0000000000..13945c947f --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/browser_site_list_item_request_builder.rb @@ -0,0 +1,204 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/browser_site_list' +require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../admin' +require_relative '../../../edge' +require_relative '../../internet_explorer_mode' +require_relative '../site_lists' +require_relative './item' +require_relative './publish/publish_request_builder' +require_relative './shared_cookies/item/browser_shared_cookie_item_request_builder' +require_relative './shared_cookies/shared_cookies_request_builder' +require_relative './sites/item/browser_site_item_request_builder' +require_relative './sites/sites_request_builder' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + ## + # Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. + class BrowserSiteListItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to call the publish method. + def publish() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::Publish::PublishRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + # Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. + def shared_cookies() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::SharedCookies::SharedCookiesRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + # Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. + def sites() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::Sites::SitesRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new BrowserSiteListItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property siteLists for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get siteLists from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_list + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property siteLists in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_list + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. + ## @param id Unique identifier of the item + ## @return a browser_shared_cookie_item_request_builder + ## + def shared_cookies_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["browserSharedCookie%2Did"] = id + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::SharedCookies::Item::BrowserSharedCookieItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. + ## @param id Unique identifier of the item + ## @return a browser_site_item_request_builder + ## + def sites_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["browserSite%2Did"] = id + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::Sites::Item::BrowserSiteItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property siteLists for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get siteLists from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property siteLists in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get siteLists from admin + class BrowserSiteListItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/item.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish.rb new file mode 100644 index 0000000000..6e15491767 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish.rb @@ -0,0 +1 @@ +require_relative 'publish_post_request_body' diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.rb new file mode 100644 index 0000000000..696841e544 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_post_request_body.rb @@ -0,0 +1,139 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/browser_shared_cookie' +require_relative '../../../../../../models/browser_site' +require_relative '../../../../../admin' +require_relative '../../../../edge' +require_relative '../../../internet_explorer_mode' +require_relative '../../site_lists' +require_relative '../item' +require_relative './publish' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module Publish + class PublishPostRequestBody + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # The revision property + @revision + ## + # The sharedCookies property + @shared_cookies + ## + # The sites property + @sites + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Instantiates a new publishPostRequestBody and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a publish_post_request_body + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return PublishPostRequestBody.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "revision" => lambda {|n| @revision = n.get_string_value() }, + "sharedCookies" => lambda {|n| @shared_cookies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }) }, + "sites" => lambda {|n| @sites = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }) }, + } + end + ## + ## Gets the revision property value. The revision property + ## @return a string + ## + def revision + return @revision + end + ## + ## Sets the revision property value. The revision property + ## @param value Value to set for the revision property. + ## @return a void + ## + def revision=(value) + @revision = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_string_value("revision", @revision) + writer.write_collection_of_object_values("sharedCookies", @shared_cookies) + writer.write_collection_of_object_values("sites", @sites) + writer.write_additional_data(@additional_data) + end + ## + ## Gets the sharedCookies property value. The sharedCookies property + ## @return a browser_shared_cookie + ## + def shared_cookies + return @shared_cookies + end + ## + ## Sets the sharedCookies property value. The sharedCookies property + ## @param value Value to set for the shared_cookies property. + ## @return a void + ## + def shared_cookies=(value) + @shared_cookies = value + end + ## + ## Gets the sites property value. The sites property + ## @return a browser_site + ## + def sites + return @sites + end + ## + ## Sets the sites property value. The sites property + ## @param value Value to set for the sites property. + ## @return a void + ## + def sites=(value) + @sites = value + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.rb new file mode 100644 index 0000000000..49adbf6003 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/publish/publish_request_builder.rb @@ -0,0 +1,75 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/browser_site_list' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../admin' +require_relative '../../../../edge' +require_relative '../../../internet_explorer_mode' +require_relative '../../site_lists' +require_relative '../item' +require_relative './publish' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module Publish + ## + # Provides operations to call the publish method. + class PublishRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new PublishRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/publish") + end + ## + ## Invoke action publish + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_list + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Invoke action publish + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.rb new file mode 100644 index 0000000000..8c3b0826b0 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/count/count_request_builder.rb @@ -0,0 +1,101 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../admin' +require_relative '../../../../../edge' +require_relative '../../../../internet_explorer_mode' +require_relative '../../../site_lists' +require_relative '../../item' +require_relative '../shared_cookies' +require_relative './count' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module SharedCookies + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.rb new file mode 100644 index 0000000000..c4996a2a83 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/browser_shared_cookie_item_request_builder.rb @@ -0,0 +1,168 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/browser_shared_cookie' +require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../admin' +require_relative '../../../../../edge' +require_relative '../../../../internet_explorer_mode' +require_relative '../../../site_lists' +require_relative '../../item' +require_relative '../shared_cookies' +require_relative './item' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module SharedCookies + module Item + ## + # Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. + class BrowserSharedCookieItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new BrowserSharedCookieItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies/{browserSharedCookie%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property sharedCookies for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get sharedCookies from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_shared_cookie + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property sharedCookies in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_shared_cookie + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property sharedCookies for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get sharedCookies from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property sharedCookies in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get sharedCookies from admin + class BrowserSharedCookieItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/item.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.rb new file mode 100644 index 0000000000..7cbde3b64c --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/shared_cookies/shared_cookies_request_builder.rb @@ -0,0 +1,172 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/browser_shared_cookie' +require_relative '../../../../../../models/browser_shared_cookie_collection_response' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../admin' +require_relative '../../../../edge' +require_relative '../../../internet_explorer_mode' +require_relative '../../site_lists' +require_relative '../item' +require_relative './count/count_request_builder' +require_relative './shared_cookies' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module SharedCookies + ## + # Provides operations to manage the sharedCookies property of the microsoft.graph.browserSiteList entity. + class SharedCookiesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::SharedCookies::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new SharedCookiesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sharedCookies{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get sharedCookies from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_shared_cookie_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookieCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to sharedCookies for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_shared_cookie + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get sharedCookies from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to sharedCookies for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get sharedCookies from admin + class SharedCookiesRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.rb new file mode 100644 index 0000000000..a01dd86765 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/count/count_request_builder.rb @@ -0,0 +1,101 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../admin' +require_relative '../../../../../edge' +require_relative '../../../../internet_explorer_mode' +require_relative '../../../site_lists' +require_relative '../../item' +require_relative '../sites' +require_relative './count' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module Sites + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.rb new file mode 100644 index 0000000000..e31b7d6452 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/browser_site_item_request_builder.rb @@ -0,0 +1,168 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/browser_site' +require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../admin' +require_relative '../../../../../edge' +require_relative '../../../../internet_explorer_mode' +require_relative '../../../site_lists' +require_relative '../../item' +require_relative '../sites' +require_relative './item' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module Sites + module Item + ## + # Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. + class BrowserSiteItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new BrowserSiteItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites/{browserSite%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property sites for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get sites from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property sites in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property sites for admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get sites from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property sites in admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get sites from admin + class BrowserSiteItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/item.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.rb new file mode 100644 index 0000000000..695bfdfacd --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/item/sites/sites_request_builder.rb @@ -0,0 +1,172 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/browser_site' +require_relative '../../../../../../models/browser_site_collection_response' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../admin' +require_relative '../../../../edge' +require_relative '../../../internet_explorer_mode' +require_relative '../../site_lists' +require_relative '../item' +require_relative './count/count_request_builder' +require_relative './sites' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + module Item + module Sites + ## + # Provides operations to manage the sites property of the microsoft.graph.browserSiteList entity. + class SitesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Item::Sites::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new SitesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists/{browserSiteList%2Did}/sites{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get sites from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to sites for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get sites from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to sites for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get sites from admin + class SitesRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/site_lists.rb b/lib/admin/edge/internet_explorer_mode/site_lists/site_lists.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.rb b/lib/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.rb new file mode 100644 index 0000000000..b71201e537 --- /dev/null +++ b/lib/admin/edge/internet_explorer_mode/site_lists/site_lists_request_builder.rb @@ -0,0 +1,166 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/browser_site_list' +require_relative '../../../../models/browser_site_list_collection_response' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../admin' +require_relative '../../edge' +require_relative '../internet_explorer_mode' +require_relative './count/count_request_builder' +require_relative './site_lists' + +module MicrosoftGraph + module Admin + module Edge + module InternetExplorerMode + module SiteLists + ## + # Provides operations to manage the siteLists property of the microsoft.graph.internetExplorerMode entity. + class SiteListsRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::Admin::Edge::InternetExplorerMode::SiteLists::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new SiteListsRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/admin/edge/internetExplorerMode/siteLists{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get siteLists from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_list_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteListCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to siteLists for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of browser_site_list + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get siteLists from admin + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to siteLists for admin + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get siteLists from admin + class SiteListsRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/admin/service_announcement/health_overviews/health_overviews_request_builder.rb b/lib/admin/service_announcement/health_overviews/health_overviews_request_builder.rb index 4aa12a61c8..2bddb8898f 100644 --- a/lib/admin/service_announcement/health_overviews/health_overviews_request_builder.rb +++ b/lib/admin/service_announcement/health_overviews/health_overviews_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/health_overviews/item/issues/issues_request_builder.rb b/lib/admin/service_announcement/health_overviews/item/issues/issues_request_builder.rb index 00a95778d0..7c32993511 100644 --- a/lib/admin/service_announcement/health_overviews/item/issues/issues_request_builder.rb +++ b/lib/admin/service_announcement/health_overviews/item/issues/issues_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.rb b/lib/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.rb index 4c1732c9f5..42a4502b66 100644 --- a/lib/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.rb +++ b/lib/admin/service_announcement/health_overviews/item/issues/item/service_health_issue_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/health_overviews/item/service_health_item_request_builder.rb b/lib/admin/service_announcement/health_overviews/item/service_health_item_request_builder.rb index 660e5d58a7..e38483dfe1 100644 --- a/lib/admin/service_announcement/health_overviews/item/service_health_item_request_builder.rb +++ b/lib/admin/service_announcement/health_overviews/item/service_health_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/issues/issues_request_builder.rb b/lib/admin/service_announcement/issues/issues_request_builder.rb index 087312ae42..6cabe2446f 100644 --- a/lib/admin/service_announcement/issues/issues_request_builder.rb +++ b/lib/admin/service_announcement/issues/issues_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/issues/item/service_health_issue_item_request_builder.rb b/lib/admin/service_announcement/issues/item/service_health_issue_item_request_builder.rb index c959079f95..ea83817f05 100644 --- a/lib/admin/service_announcement/issues/item/service_health_issue_item_request_builder.rb +++ b/lib/admin/service_announcement/issues/item/service_health_issue_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/messages/archive/archive_request_builder.rb b/lib/admin/service_announcement/messages/archive/archive_request_builder.rb index 5a27401b7e..e7de968434 100644 --- a/lib/admin/service_announcement/messages/archive/archive_request_builder.rb +++ b/lib/admin/service_announcement/messages/archive/archive_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/favorite/favorite_request_builder.rb b/lib/admin/service_announcement/messages/favorite/favorite_request_builder.rb index 54e9a9fe50..74f66f4e49 100644 --- a/lib/admin/service_announcement/messages/favorite/favorite_request_builder.rb +++ b/lib/admin/service_announcement/messages/favorite/favorite_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/item/attachments/attachments_request_builder.rb b/lib/admin/service_announcement/messages/item/attachments/attachments_request_builder.rb index dca2f284ad..798953be27 100644 --- a/lib/admin/service_announcement/messages/item/attachments/attachments_request_builder.rb +++ b/lib/admin/service_announcement/messages/item/attachments/attachments_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.rb b/lib/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.rb index d19205fc49..b7c82bd058 100644 --- a/lib/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.rb +++ b/lib/admin/service_announcement/messages/item/attachments/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../models/service_announcement_attachment' require_relative '../../../../../../admin' require_relative '../../../../../service_announcement' require_relative '../../../../messages' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The attachment content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of service_announcement_attachment ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ServiceAnnouncementAttachment.create_from_discriminator_value(pn) }, error_mapping) end ## ## The attachment content. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.rb b/lib/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.rb index 85847c0bd7..4299902d80 100644 --- a/lib/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.rb +++ b/lib/admin/service_announcement/messages/item/attachments/item/service_announcement_attachment_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.rb b/lib/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.rb index 7ce00c907e..fe0289e1b5 100644 --- a/lib/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.rb +++ b/lib/admin/service_announcement/messages/item/attachments_archive/attachments_archive_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## The zip file that contains all attachments for a message. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## The zip file that contains all attachments for a message. @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/item/service_update_message_item_request_builder.rb b/lib/admin/service_announcement/messages/item/service_update_message_item_request_builder.rb index dcedee03b3..39da344e0b 100644 --- a/lib/admin/service_announcement/messages/item/service_update_message_item_request_builder.rb +++ b/lib/admin/service_announcement/messages/item/service_update_message_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/messages/mark_read/mark_read_request_builder.rb b/lib/admin/service_announcement/messages/mark_read/mark_read_request_builder.rb index 8182f92f96..e8aec5aa5b 100644 --- a/lib/admin/service_announcement/messages/mark_read/mark_read_request_builder.rb +++ b/lib/admin/service_announcement/messages/mark_read/mark_read_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.rb b/lib/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.rb index a264882f22..594d6cb23e 100644 --- a/lib/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.rb +++ b/lib/admin/service_announcement/messages/mark_unread/mark_unread_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/messages_request_builder.rb b/lib/admin/service_announcement/messages/messages_request_builder.rb index 3b5670e26d..5e76d3e6e1 100644 --- a/lib/admin/service_announcement/messages/messages_request_builder.rb +++ b/lib/admin/service_announcement/messages/messages_request_builder.rb @@ -131,7 +131,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/admin/service_announcement/messages/unarchive/unarchive_request_builder.rb b/lib/admin/service_announcement/messages/unarchive/unarchive_request_builder.rb index e8156e9125..559790d5f9 100644 --- a/lib/admin/service_announcement/messages/unarchive/unarchive_request_builder.rb +++ b/lib/admin/service_announcement/messages/unarchive/unarchive_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.rb b/lib/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.rb index 039cd7ce97..982f86cd4b 100644 --- a/lib/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.rb +++ b/lib/admin/service_announcement/messages/unfavorite/unfavorite_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/admin/service_announcement/service_announcement_request_builder.rb b/lib/admin/service_announcement/service_announcement_request_builder.rb index 86f53c333e..600eb12af0 100644 --- a/lib/admin/service_announcement/service_announcement_request_builder.rb +++ b/lib/admin/service_announcement/service_announcement_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreement_acceptances/agreement_acceptances_request_builder.rb b/lib/agreement_acceptances/agreement_acceptances_request_builder.rb index f4d11d731e..e69d2e739f 100644 --- a/lib/agreement_acceptances/agreement_acceptances_request_builder.rb +++ b/lib/agreement_acceptances/agreement_acceptances_request_builder.rb @@ -85,7 +85,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb b/lib/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb index 4551cb2037..00cd978379 100644 --- a/lib/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb +++ b/lib/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/agreements_request_builder.rb b/lib/agreements/agreements_request_builder.rb index c9863a4bc6..fdd5f52c2d 100644 --- a/lib/agreements/agreements_request_builder.rb +++ b/lib/agreements/agreements_request_builder.rb @@ -85,7 +85,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/acceptances/acceptances_request_builder.rb b/lib/agreements/item/acceptances/acceptances_request_builder.rb index ddeb564f9f..1b9fd0e9a7 100644 --- a/lib/agreements/item/acceptances/acceptances_request_builder.rb +++ b/lib/agreements/item/acceptances/acceptances_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb b/lib/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb index f5c07dd4a3..da0a0d32d6 100644 --- a/lib/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb +++ b/lib/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/agreement_item_request_builder.rb b/lib/agreements/item/agreement_item_request_builder.rb index 22231d658e..9b35382640 100644 --- a/lib/agreements/item/agreement_item_request_builder.rb +++ b/lib/agreements/item/agreement_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/file/file_request_builder.rb b/lib/agreements/item/file/file_request_builder.rb index b01754858b..610a96f939 100644 --- a/lib/agreements/item/file/file_request_builder.rb +++ b/lib/agreements/item/file/file_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb b/lib/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb index 257f85c9d1..f9519ff1ea 100644 --- a/lib/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb +++ b/lib/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb @@ -129,7 +129,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb b/lib/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb index 51854544b4..76f77e76bf 100644 --- a/lib/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb +++ b/lib/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/file/localizations/item/versions/versions_request_builder.rb b/lib/agreements/item/file/localizations/item/versions/versions_request_builder.rb index 5a2e621508..f403d6255e 100644 --- a/lib/agreements/item/file/localizations/item/versions/versions_request_builder.rb +++ b/lib/agreements/item/file/localizations/item/versions/versions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/file/localizations/localizations_request_builder.rb b/lib/agreements/item/file/localizations/localizations_request_builder.rb index 0b0bd278b0..76bfa9c2ce 100644 --- a/lib/agreements/item/file/localizations/localizations_request_builder.rb +++ b/lib/agreements/item/file/localizations/localizations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/files/files_request_builder.rb b/lib/agreements/item/files/files_request_builder.rb index d7661248ca..45bab3747e 100644 --- a/lib/agreements/item/files/files_request_builder.rb +++ b/lib/agreements/item/files/files_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/files/item/agreement_file_localization_item_request_builder.rb b/lib/agreements/item/files/item/agreement_file_localization_item_request_builder.rb index b1d00faa5d..d6f50dd73c 100644 --- a/lib/agreements/item/files/item/agreement_file_localization_item_request_builder.rb +++ b/lib/agreements/item/files/item/agreement_file_localization_item_request_builder.rb @@ -127,7 +127,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb b/lib/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb index ec68fccaa5..01a6756255 100644 --- a/lib/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb +++ b/lib/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/agreements/item/files/item/versions/versions_request_builder.rb b/lib/agreements/item/files/item/versions/versions_request_builder.rb index 9bababf5c4..280fdd3781 100644 --- a/lib/agreements/item/files/item/versions/versions_request_builder.rb +++ b/lib/agreements/item/files/item/versions/versions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/app_catalogs_request_builder.rb b/lib/app_catalogs/app_catalogs_request_builder.rb index 7976b4607d..b979234ec9 100644 --- a/lib/app_catalogs/app_catalogs_request_builder.rb +++ b/lib/app_catalogs/app_catalogs_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.rb b/lib/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.rb index f64bafc13e..5a19c922ed 100644 --- a/lib/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.rb +++ b/lib/app_catalogs/teams_apps/item/app_definitions/app_definitions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.rb b/lib/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.rb index d024d75309..43d2fc0fee 100644 --- a/lib/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.rb +++ b/lib/app_catalogs/teams_apps/item/app_definitions/item/bot/bot_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.rb b/lib/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.rb index 2f5e7b25b4..b0d065faf4 100644 --- a/lib/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.rb +++ b/lib/app_catalogs/teams_apps/item/app_definitions/item/teams_app_definition_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/teams_apps/item/teams_app_item_request_builder.rb b/lib/app_catalogs/teams_apps/item/teams_app_item_request_builder.rb index c6c28a063d..d4f760fa4d 100644 --- a/lib/app_catalogs/teams_apps/item/teams_app_item_request_builder.rb +++ b/lib/app_catalogs/teams_apps/item/teams_app_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/app_catalogs/teams_apps/teams_apps_request_builder.rb b/lib/app_catalogs/teams_apps/teams_apps_request_builder.rb index 7f6f9c58bd..ae5f12abb2 100644 --- a/lib/app_catalogs/teams_apps/teams_apps_request_builder.rb +++ b/lib/app_catalogs/teams_apps/teams_apps_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/application_templates/item/instantiate/instantiate_request_builder.rb b/lib/application_templates/item/instantiate/instantiate_request_builder.rb index d8115b7d16..09fad17950 100644 --- a/lib/application_templates/item/instantiate/instantiate_request_builder.rb +++ b/lib/application_templates/item/instantiate/instantiate_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/applications_request_builder.rb b/lib/applications/applications_request_builder.rb index 055600d5aa..9aae6ffc06 100644 --- a/lib/applications/applications_request_builder.rb +++ b/lib/applications/applications_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/applications/get_available_extension_properties/get_available_extension_properties_request_builder.rb index edada243e3..bbec9ca5ca 100644 --- a/lib/applications/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/applications/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/get_by_ids/get_by_ids_request_builder.rb b/lib/applications/get_by_ids/get_by_ids_request_builder.rb index e5b2df5428..fe4687d0a0 100644 --- a/lib/applications/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/applications/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/add_key/add_key_request_builder.rb b/lib/applications/item/add_key/add_key_request_builder.rb index 9f1f98862e..5091ed572e 100644 --- a/lib/applications/item/add_key/add_key_request_builder.rb +++ b/lib/applications/item/add_key/add_key_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/add_password/add_password_request_builder.rb b/lib/applications/item/add_password/add_password_request_builder.rb index e87c33bd09..90df209448 100644 --- a/lib/applications/item/add_password/add_password_request_builder.rb +++ b/lib/applications/item/add_password/add_password_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/app_management_policies/ref/ref_request_builder.rb b/lib/applications/item/app_management_policies/ref/ref_request_builder.rb index f9f9824ad1..269489eb63 100644 --- a/lib/applications/item/app_management_policies/ref/ref_request_builder.rb +++ b/lib/applications/item/app_management_policies/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/application_item_request_builder.rb b/lib/applications/item/application_item_request_builder.rb index 2d9b46432e..b6e015912c 100644 --- a/lib/applications/item/application_item_request_builder.rb +++ b/lib/applications/item/application_item_request_builder.rb @@ -320,7 +320,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/check_member_groups/check_member_groups_request_builder.rb b/lib/applications/item/check_member_groups/check_member_groups_request_builder.rb index 5d09ce5058..e3a705c613 100644 --- a/lib/applications/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/applications/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/check_member_objects/check_member_objects_request_builder.rb b/lib/applications/item/check_member_objects/check_member_objects_request_builder.rb index b13b4af9ed..1d544cdf81 100644 --- a/lib/applications/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/applications/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/extension_properties/extension_properties_request_builder.rb b/lib/applications/item/extension_properties/extension_properties_request_builder.rb index 07e75708af..4244c5fcec 100644 --- a/lib/applications/item/extension_properties/extension_properties_request_builder.rb +++ b/lib/applications/item/extension_properties/extension_properties_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/extension_properties/item/extension_property_item_request_builder.rb b/lib/applications/item/extension_properties/item/extension_property_item_request_builder.rb index 489a93b46d..4154ab585d 100644 --- a/lib/applications/item/extension_properties/item/extension_property_item_request_builder.rb +++ b/lib/applications/item/extension_properties/item/extension_property_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb b/lib/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb index 78ed5b0dde..cc6e0bce7c 100644 --- a/lib/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb +++ b/lib/applications/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb b/lib/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb index 4b88b91674..86c55d27fd 100644 --- a/lib/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb +++ b/lib/applications/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/get_member_groups/get_member_groups_request_builder.rb b/lib/applications/item/get_member_groups/get_member_groups_request_builder.rb index d5dc76a905..ff4ea7664d 100644 --- a/lib/applications/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/applications/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/get_member_objects/get_member_objects_request_builder.rb b/lib/applications/item/get_member_objects/get_member_objects_request_builder.rb index ba4413f508..e594e2be44 100644 --- a/lib/applications/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/applications/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/logo/logo_request_builder.rb b/lib/applications/item/logo/logo_request_builder.rb index 6988f36c06..c50e88feb1 100644 --- a/lib/applications/item/logo/logo_request_builder.rb +++ b/lib/applications/item/logo/logo_request_builder.rb @@ -40,7 +40,7 @@ def get(request_configuration=nil) ## The main logo for the application. Not nullable. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -50,7 +50,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## The main logo for the application. Not nullable. @@ -84,7 +84,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/applications/item/owners/ref/ref_request_builder.rb b/lib/applications/item/owners/ref/ref_request_builder.rb index a39f1239df..e9e4f5be30 100644 --- a/lib/applications/item/owners/ref/ref_request_builder.rb +++ b/lib/applications/item/owners/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/remove_key/remove_key_request_builder.rb b/lib/applications/item/remove_key/remove_key_request_builder.rb index 52249bc183..89755270ef 100644 --- a/lib/applications/item/remove_key/remove_key_request_builder.rb +++ b/lib/applications/item/remove_key/remove_key_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/remove_password/remove_password_request_builder.rb b/lib/applications/item/remove_password/remove_password_request_builder.rb index 761797a100..61c3562ba5 100644 --- a/lib/applications/item/remove_password/remove_password_request_builder.rb +++ b/lib/applications/item/remove_password/remove_password_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/set_verified_publisher/set_verified_publisher_request_builder.rb b/lib/applications/item/set_verified_publisher/set_verified_publisher_request_builder.rb index d3704e128e..337ccfb482 100644 --- a/lib/applications/item/set_verified_publisher/set_verified_publisher_request_builder.rb +++ b/lib/applications/item/set_verified_publisher/set_verified_publisher_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/applications/item/token_issuance_policies/ref/ref_request_builder.rb b/lib/applications/item/token_issuance_policies/ref/ref_request_builder.rb index 05f29b0431..0a97cd3b40 100644 --- a/lib/applications/item/token_issuance_policies/ref/ref_request_builder.rb +++ b/lib/applications/item/token_issuance_policies/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/item/token_lifetime_policies/ref/ref_request_builder.rb b/lib/applications/item/token_lifetime_policies/ref/ref_request_builder.rb index c3897e99c9..2bdbf243f8 100644 --- a/lib/applications/item/token_lifetime_policies/ref/ref_request_builder.rb +++ b/lib/applications/item/token_lifetime_policies/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/applications/validate_properties/validate_properties_request_builder.rb b/lib/applications/validate_properties/validate_properties_request_builder.rb index a6c6aad444..e0d81bf5d5 100644 --- a/lib/applications/validate_properties/validate_properties_request_builder.rb +++ b/lib/applications/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/audit_logs/audit_logs_request_builder.rb b/lib/audit_logs/audit_logs_request_builder.rb index f8dcf2708f..1f8876ea8b 100644 --- a/lib/audit_logs/audit_logs_request_builder.rb +++ b/lib/audit_logs/audit_logs_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/directory_audits/directory_audits_request_builder.rb b/lib/audit_logs/directory_audits/directory_audits_request_builder.rb index cddfe72652..7989dbee6b 100644 --- a/lib/audit_logs/directory_audits/directory_audits_request_builder.rb +++ b/lib/audit_logs/directory_audits/directory_audits_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/directory_audits/item/directory_audit_item_request_builder.rb b/lib/audit_logs/directory_audits/item/directory_audit_item_request_builder.rb index 39ef87b353..f0cd057f9a 100644 --- a/lib/audit_logs/directory_audits/item/directory_audit_item_request_builder.rb +++ b/lib/audit_logs/directory_audits/item/directory_audit_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.rb b/lib/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.rb index 65d291bdc8..3187b6aa5d 100644 --- a/lib/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.rb +++ b/lib/audit_logs/provisioning/item/provisioning_object_summary_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/provisioning/provisioning_request_builder.rb b/lib/audit_logs/provisioning/provisioning_request_builder.rb index e0ce940ed4..f6f5a57c4c 100644 --- a/lib/audit_logs/provisioning/provisioning_request_builder.rb +++ b/lib/audit_logs/provisioning/provisioning_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/sign_ins/item/sign_in_item_request_builder.rb b/lib/audit_logs/sign_ins/item/sign_in_item_request_builder.rb index cf5ba40ff8..680b11ffca 100644 --- a/lib/audit_logs/sign_ins/item/sign_in_item_request_builder.rb +++ b/lib/audit_logs/sign_ins/item/sign_in_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/audit_logs/sign_ins/sign_ins_request_builder.rb b/lib/audit_logs/sign_ins/sign_ins_request_builder.rb index 367856af8a..e865f0b79c 100644 --- a/lib/audit_logs/sign_ins/sign_ins_request_builder.rb +++ b/lib/audit_logs/sign_ins/sign_ins_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/authentication_method_configurations/authentication_method_configurations_request_builder.rb b/lib/authentication_method_configurations/authentication_method_configurations_request_builder.rb index f1548d857f..1150ff1f55 100644 --- a/lib/authentication_method_configurations/authentication_method_configurations_request_builder.rb +++ b/lib/authentication_method_configurations/authentication_method_configurations_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb b/lib/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb index d115f3c07b..a46b8c7420 100644 --- a/lib/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb +++ b/lib/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb b/lib/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb index f34c012492..13608303ec 100644 --- a/lib/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb +++ b/lib/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb b/lib/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb index 3ab61133a7..c071d756c2 100644 --- a/lib/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb +++ b/lib/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/authentication_methods_policy/authentication_methods_policy_request_builder.rb b/lib/authentication_methods_policy/authentication_methods_policy_request_builder.rb index 405454a4a0..11667e9657 100644 --- a/lib/authentication_methods_policy/authentication_methods_policy_request_builder.rb +++ b/lib/authentication_methods_policy/authentication_methods_policy_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/branding/background_image/background_image_request_builder.rb b/lib/branding/background_image/background_image_request_builder.rb index 7b5f258d9f..9ac5d45546 100644 --- a/lib/branding/background_image/background_image_request_builder.rb +++ b/lib/branding/background_image/background_image_request_builder.rb @@ -38,7 +38,7 @@ def get(request_configuration=nil) ## Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -48,7 +48,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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. @@ -82,7 +82,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/branding/banner_logo/banner_logo_request_builder.rb b/lib/branding/banner_logo/banner_logo_request_builder.rb index bef560043e..1d1132dc4f 100644 --- a/lib/branding/banner_logo/banner_logo_request_builder.rb +++ b/lib/branding/banner_logo/banner_logo_request_builder.rb @@ -38,7 +38,7 @@ def get(request_configuration=nil) ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -48,7 +48,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -82,7 +82,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/branding/branding_request_builder.rb b/lib/branding/branding_request_builder.rb index aba9055790..4d23120d40 100644 --- a/lib/branding/branding_request_builder.rb +++ b/lib/branding/branding_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/branding/localizations/item/background_image/background_image_request_builder.rb b/lib/branding/localizations/item/background_image/background_image_request_builder.rb index 60e500002f..aaeab4b6c3 100644 --- a/lib/branding/localizations/item/background_image/background_image_request_builder.rb +++ b/lib/branding/localizations/item/background_image/background_image_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/branding/localizations/item/banner_logo/banner_logo_request_builder.rb b/lib/branding/localizations/item/banner_logo/banner_logo_request_builder.rb index c515bbe798..534682deb4 100644 --- a/lib/branding/localizations/item/banner_logo/banner_logo_request_builder.rb +++ b/lib/branding/localizations/item/banner_logo/banner_logo_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/branding/localizations/item/organizational_branding_localization_item_request_builder.rb b/lib/branding/localizations/item/organizational_branding_localization_item_request_builder.rb index 3d83761488..1068984d55 100644 --- a/lib/branding/localizations/item/organizational_branding_localization_item_request_builder.rb +++ b/lib/branding/localizations/item/organizational_branding_localization_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/branding/localizations/item/square_logo/square_logo_request_builder.rb b/lib/branding/localizations/item/square_logo/square_logo_request_builder.rb index 6be1b6c508..e94283fb6c 100644 --- a/lib/branding/localizations/item/square_logo/square_logo_request_builder.rb +++ b/lib/branding/localizations/item/square_logo/square_logo_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/branding/localizations/localizations_request_builder.rb b/lib/branding/localizations/localizations_request_builder.rb index 54996bca59..f32f6d0787 100644 --- a/lib/branding/localizations/localizations_request_builder.rb +++ b/lib/branding/localizations/localizations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/branding/square_logo/square_logo_request_builder.rb b/lib/branding/square_logo/square_logo_request_builder.rb index 4d902c72df..7868969a58 100644 --- a/lib/branding/square_logo/square_logo_request_builder.rb +++ b/lib/branding/square_logo/square_logo_request_builder.rb @@ -38,7 +38,7 @@ def get(request_configuration=nil) ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -48,7 +48,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -82,7 +82,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.rb b/lib/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.rb index b14a98d635..5891ad60d7 100644 --- a/lib/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.rb +++ b/lib/certificate_based_auth_configuration/certificate_based_auth_configuration_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.rb b/lib/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.rb index db55786d9f..7f152f0358 100644 --- a/lib/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.rb +++ b/lib/certificate_based_auth_configuration/item/certificate_based_auth_configuration_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/chats_request_builder.rb b/lib/chats/chats_request_builder.rb index 56322ca0a1..3137b0ff67 100644 --- a/lib/chats/chats_request_builder.rb +++ b/lib/chats/chats_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/chat_item_request_builder.rb b/lib/chats/item/chat_item_request_builder.rb index 8d650e4862..6098f6ff39 100644 --- a/lib/chats/item/chat_item_request_builder.rb +++ b/lib/chats/item/chat_item_request_builder.rb @@ -242,7 +242,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/hide_for_user/hide_for_user_request_builder.rb b/lib/chats/item/hide_for_user/hide_for_user_request_builder.rb index f3f6b3aac9..a72361dcaf 100644 --- a/lib/chats/item/hide_for_user/hide_for_user_request_builder.rb +++ b/lib/chats/item/hide_for_user/hide_for_user_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/chats/item/installed_apps/installed_apps_request_builder.rb b/lib/chats/item/installed_apps/installed_apps_request_builder.rb index d1534af0ac..131bb70346 100644 --- a/lib/chats/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/chats/item/installed_apps/installed_apps_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb index be5ea0fc24..92feeca098 100644 --- a/lib/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/last_message_preview/last_message_preview_request_builder.rb b/lib/chats/item/last_message_preview/last_message_preview_request_builder.rb index 12bc1f2498..e841f98901 100644 --- a/lib/chats/item/last_message_preview/last_message_preview_request_builder.rb +++ b/lib/chats/item/last_message_preview/last_message_preview_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb b/lib/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb index 0e740b987d..b6569e4db7 100644 --- a/lib/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb +++ b/lib/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb b/lib/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb index 6cfa294074..d5b0715951 100644 --- a/lib/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb +++ b/lib/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/chats/item/members/add/add_request_builder.rb b/lib/chats/item/members/add/add_request_builder.rb index 6a04b8dce8..176662070b 100644 --- a/lib/chats/item/members/add/add_request_builder.rb +++ b/lib/chats/item/members/add/add_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/chats/item/members/item/conversation_member_item_request_builder.rb b/lib/chats/item/members/item/conversation_member_item_request_builder.rb index 29eb0197a4..492bb62544 100644 --- a/lib/chats/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/chats/item/members/item/conversation_member_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/members/members_request_builder.rb b/lib/chats/item/members/members_request_builder.rb index 37bba4350c..77ddd25f2f 100644 --- a/lib/chats/item/members/members_request_builder.rb +++ b/lib/chats/item/members/members_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/chat_message_item_request_builder.rb b/lib/chats/item/messages/item/chat_message_item_request_builder.rb index f35cab225c..39701f17be 100644 --- a/lib/chats/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/chats/item/messages/item/chat_message_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index d823d79831..8490d78446 100644 --- a/lib/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index c90d99d3ae..526d9f8c0c 100644 --- a/lib/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -8,6 +8,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Chats @@ -20,6 +21,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the chat entity. + def content() + return MicrosoftGraph::Chats::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -124,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..09e3593380 --- /dev/null +++ b/lib/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,106 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../chats' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Chats + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the chat entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from chats + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in chats + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from chats + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in chats + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end +end diff --git a/lib/chats/item/messages/item/hosted_contents/item/value/value.rb b/lib/chats/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb index 754c615e00..9c57f1dc63 100644 --- a/lib/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 198d686ce6..605cdfde55 100644 --- a/lib/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 766a5d3c0e..6e1a8dfbee 100644 --- a/lib/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -10,6 +10,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Chats @@ -24,6 +25,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the chat entity. + def content() + return MicrosoftGraph::Chats::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -128,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..96b10ec0ff --- /dev/null +++ b/lib/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,112 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../chats' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Chats + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the chat entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from chats + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in chats + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from chats + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in chats + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/chats/item/messages/item/replies/replies_request_builder.rb b/lib/chats/item/messages/item/replies/replies_request_builder.rb index 1b114f5a57..590e58f9c9 100644 --- a/lib/chats/item/messages/item/replies/replies_request_builder.rb +++ b/lib/chats/item/messages/item/replies/replies_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/messages/messages_request_builder.rb b/lib/chats/item/messages/messages_request_builder.rb index f395c254a7..a7be81cb74 100644 --- a/lib/chats/item/messages/messages_request_builder.rb +++ b/lib/chats/item/messages/messages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb b/lib/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb index 9ff6a99ba1..3263714297 100644 --- a/lib/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb +++ b/lib/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/pinned_messages/pinned_messages_request_builder.rb b/lib/chats/item/pinned_messages/pinned_messages_request_builder.rb index 3ea5c335e4..1bdc7132b0 100644 --- a/lib/chats/item/pinned_messages/pinned_messages_request_builder.rb +++ b/lib/chats/item/pinned_messages/pinned_messages_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/chats/item/send_activity_notification/send_activity_notification_request_builder.rb index c2dfd01a38..844718897d 100644 --- a/lib/chats/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/chats/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/chats/item/tabs/item/teams_tab_item_request_builder.rb b/lib/chats/item/tabs/item/teams_tab_item_request_builder.rb index e458361446..1891cd1e7a 100644 --- a/lib/chats/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/chats/item/tabs/item/teams_tab_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/tabs/tabs_request_builder.rb b/lib/chats/item/tabs/tabs_request_builder.rb index 3842867c67..4f6df6ec35 100644 --- a/lib/chats/item/tabs/tabs_request_builder.rb +++ b/lib/chats/item/tabs/tabs_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/chats/item/unhide_for_user/unhide_for_user_request_builder.rb b/lib/chats/item/unhide_for_user/unhide_for_user_request_builder.rb index dd55b643c7..7d0e0d4d54 100644 --- a/lib/chats/item/unhide_for_user/unhide_for_user_request_builder.rb +++ b/lib/chats/item/unhide_for_user/unhide_for_user_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/call_records/call_records_request_builder.rb b/lib/communications/call_records/call_records_request_builder.rb index 760b933a00..2497bead27 100644 --- a/lib/communications/call_records/call_records_request_builder.rb +++ b/lib/communications/call_records/call_records_request_builder.rb @@ -118,7 +118,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/call_records/item/call_record_item_request_builder.rb b/lib/communications/call_records/item/call_record_item_request_builder.rb index bd9d3428a5..77db9f88e0 100644 --- a/lib/communications/call_records/item/call_record_item_request_builder.rb +++ b/lib/communications/call_records/item/call_record_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.rb b/lib/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.rb index 68c80f445a..43c8976f9e 100644 --- a/lib/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.rb +++ b/lib/communications/call_records/item/sessions/item/segments/item/segment_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/call_records/item/sessions/item/segments/segments_request_builder.rb b/lib/communications/call_records/item/sessions/item/segments/segments_request_builder.rb index bdf2b0a102..2a84e1a581 100644 --- a/lib/communications/call_records/item/sessions/item/segments/segments_request_builder.rb +++ b/lib/communications/call_records/item/sessions/item/segments/segments_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/call_records/item/sessions/item/session_item_request_builder.rb b/lib/communications/call_records/item/sessions/item/session_item_request_builder.rb index 3203264d5c..796987600e 100644 --- a/lib/communications/call_records/item/sessions/item/session_item_request_builder.rb +++ b/lib/communications/call_records/item/sessions/item/session_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/call_records/item/sessions/sessions_request_builder.rb b/lib/communications/call_records/item/sessions/sessions_request_builder.rb index 5ec0c49e38..d2081bed1b 100644 --- a/lib/communications/call_records/item/sessions/sessions_request_builder.rb +++ b/lib/communications/call_records/item/sessions/sessions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/calls_request_builder.rb b/lib/communications/calls/calls_request_builder.rb index b11649ceab..04187b8842 100644 --- a/lib/communications/calls/calls_request_builder.rb +++ b/lib/communications/calls/calls_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.rb b/lib/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.rb index 2957f4adae..a5e683a1e2 100644 --- a/lib/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.rb +++ b/lib/communications/calls/item/add_large_gallery_view/add_large_gallery_view_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/answer/answer_request_builder.rb b/lib/communications/calls/item/answer/answer_request_builder.rb index bd33d48ea8..0f646dc86f 100644 --- a/lib/communications/calls/item/answer/answer_request_builder.rb +++ b/lib/communications/calls/item/answer/answer_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.rb b/lib/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.rb index c0b7f8950d..1d57a85153 100644 --- a/lib/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.rb +++ b/lib/communications/calls/item/audio_routing_groups/audio_routing_groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.rb b/lib/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.rb index d3110f77c5..e47ca5a514 100644 --- a/lib/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.rb +++ b/lib/communications/calls/item/audio_routing_groups/item/audio_routing_group_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/call_item_request_builder.rb b/lib/communications/calls/item/call_item_request_builder.rb index 97bd3a804c..ffe52df476 100644 --- a/lib/communications/calls/item/call_item_request_builder.rb +++ b/lib/communications/calls/item/call_item_request_builder.rb @@ -274,7 +274,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.rb b/lib/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.rb index fa673e1223..4485c0faf7 100644 --- a/lib/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.rb +++ b/lib/communications/calls/item/cancel_media_processing/cancel_media_processing_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.rb b/lib/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.rb index 705f7b8457..282d1d18d2 100644 --- a/lib/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.rb +++ b/lib/communications/calls/item/change_screen_sharing_role/change_screen_sharing_role_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.rb b/lib/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.rb index 345faf9b46..17757d3f60 100644 --- a/lib/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.rb +++ b/lib/communications/calls/item/content_sharing_sessions/content_sharing_sessions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.rb b/lib/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.rb index 5f39ae3a38..eaf3235547 100644 --- a/lib/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.rb +++ b/lib/communications/calls/item/content_sharing_sessions/item/content_sharing_session_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/mute/mute_request_builder.rb b/lib/communications/calls/item/mute/mute_request_builder.rb index 83f077519d..31861c41de 100644 --- a/lib/communications/calls/item/mute/mute_request_builder.rb +++ b/lib/communications/calls/item/mute/mute_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/operations/item/comms_operation_item_request_builder.rb b/lib/communications/calls/item/operations/item/comms_operation_item_request_builder.rb index 319fa52970..2ad51cdd12 100644 --- a/lib/communications/calls/item/operations/item/comms_operation_item_request_builder.rb +++ b/lib/communications/calls/item/operations/item/comms_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/operations/operations_request_builder.rb b/lib/communications/calls/item/operations/operations_request_builder.rb index 493cd4bcbf..5b93bef0c3 100644 --- a/lib/communications/calls/item/operations/operations_request_builder.rb +++ b/lib/communications/calls/item/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/participants/invite/invite_request_builder.rb b/lib/communications/calls/item/participants/invite/invite_request_builder.rb index 1382466233..71abcaea4b 100644 --- a/lib/communications/calls/item/participants/invite/invite_request_builder.rb +++ b/lib/communications/calls/item/participants/invite/invite_request_builder.rb @@ -28,7 +28,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite") end ## - ## Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + ## Invite participants to the active call. For more information about how to handle operations, see commsOperation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of invite_participants_operation @@ -44,7 +44,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::InviteParticipantsOperation.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled. + ## Invite participants to the active call. For more information about how to handle operations, see commsOperation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/participants/item/mute/mute_request_builder.rb b/lib/communications/calls/item/participants/item/mute/mute_request_builder.rb index 8dbda655b3..df055b9a93 100644 --- a/lib/communications/calls/item/participants/item/mute/mute_request_builder.rb +++ b/lib/communications/calls/item/participants/item/mute/mute_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/participants/item/participant_item_request_builder.rb b/lib/communications/calls/item/participants/item/participant_item_request_builder.rb index 1348af4288..3b1c6d4c68 100644 --- a/lib/communications/calls/item/participants/item/participant_item_request_builder.rb +++ b/lib/communications/calls/item/participants/item/participant_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.rb b/lib/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.rb index acef1253ef..f37ae6d8e1 100644 --- a/lib/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.rb +++ b/lib/communications/calls/item/participants/item/start_hold_music/start_hold_music_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.rb b/lib/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.rb index d67ad87bf8..10df10e185 100644 --- a/lib/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.rb +++ b/lib/communications/calls/item/participants/item/stop_hold_music/stop_hold_music_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/participants/participants_request_builder.rb b/lib/communications/calls/item/participants/participants_request_builder.rb index a26b6e7d98..5c38c3e35f 100644 --- a/lib/communications/calls/item/participants/participants_request_builder.rb +++ b/lib/communications/calls/item/participants/participants_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/calls/item/play_prompt/play_prompt_request_builder.rb b/lib/communications/calls/item/play_prompt/play_prompt_request_builder.rb index 78e923ddc3..9a6b4fd9b0 100644 --- a/lib/communications/calls/item/play_prompt/play_prompt_request_builder.rb +++ b/lib/communications/calls/item/play_prompt/play_prompt_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/record_response/record_response_request_builder.rb b/lib/communications/calls/item/record_response/record_response_request_builder.rb index 96381d35b8..fba774e869 100644 --- a/lib/communications/calls/item/record_response/record_response_request_builder.rb +++ b/lib/communications/calls/item/record_response/record_response_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/redirect/redirect_request_builder.rb b/lib/communications/calls/item/redirect/redirect_request_builder.rb index 0b5d7cc025..d3b9959cbf 100644 --- a/lib/communications/calls/item/redirect/redirect_request_builder.rb +++ b/lib/communications/calls/item/redirect/redirect_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/reject/reject_request_builder.rb b/lib/communications/calls/item/reject/reject_request_builder.rb index b1a9df98e3..ccbde1f5ae 100644 --- a/lib/communications/calls/item/reject/reject_request_builder.rb +++ b/lib/communications/calls/item/reject/reject_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.rb b/lib/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.rb index 7a0011f95b..800193c737 100644 --- a/lib/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.rb +++ b/lib/communications/calls/item/subscribe_to_tone/subscribe_to_tone_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/transfer/transfer_request_builder.rb b/lib/communications/calls/item/transfer/transfer_request_builder.rb index ab6a4574a3..12bac6ece9 100644 --- a/lib/communications/calls/item/transfer/transfer_request_builder.rb +++ b/lib/communications/calls/item/transfer/transfer_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/unmute/unmute_request_builder.rb b/lib/communications/calls/item/unmute/unmute_request_builder.rb index ac4c0f69c8..741f85cf58 100644 --- a/lib/communications/calls/item/unmute/unmute_request_builder.rb +++ b/lib/communications/calls/item/unmute/unmute_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/item/update_recording_status/update_recording_status_request_builder.rb b/lib/communications/calls/item/update_recording_status/update_recording_status_request_builder.rb index 459b96753d..6190cda006 100644 --- a/lib/communications/calls/item/update_recording_status/update_recording_status_request_builder.rb +++ b/lib/communications/calls/item/update_recording_status/update_recording_status_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.rb b/lib/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.rb index 8e38f0419c..ece634abc1 100644 --- a/lib/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.rb +++ b/lib/communications/calls/log_teleconference_device_quality/log_teleconference_device_quality_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/communications_request_builder.rb b/lib/communications/communications_request_builder.rb index afa4d10986..dcea321b3c 100644 --- a/lib/communications/communications_request_builder.rb +++ b/lib/communications/communications_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.rb b/lib/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.rb index 303b86b488..40113d07df 100644 --- a/lib/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.rb +++ b/lib/communications/get_presences_by_user_id/get_presences_by_user_id_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/online_meetings/create_or_get/create_or_get_request_builder.rb b/lib/communications/online_meetings/create_or_get/create_or_get_request_builder.rb index 49a4feafc1..79b57c6241 100644 --- a/lib/communications/online_meetings/create_or_get/create_or_get_request_builder.rb +++ b/lib/communications/online_meetings/create_or_get/create_or_get_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb b/lib/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb index 5d2118a0b9..a5ed633e38 100644 --- a/lib/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb +++ b/lib/communications/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb b/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb index d1f745d7fb..252206e6b1 100644 --- a/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb +++ b/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb b/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb index f1f3cbfd8b..d2858338f2 100644 --- a/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb +++ b/lib/communications/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb b/lib/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb index 9e5a1a44bf..c14b59c232 100644 --- a/lib/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb +++ b/lib/communications/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/online_meetings/item/attendee_report/attendee_report_request_builder.rb b/lib/communications/online_meetings/item/attendee_report/attendee_report_request_builder.rb index 8f7524568a..b8cf68f35d 100644 --- a/lib/communications/online_meetings/item/attendee_report/attendee_report_request_builder.rb +++ b/lib/communications/online_meetings/item/attendee_report/attendee_report_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/communications/online_meetings/item/online_meeting_item_request_builder.rb b/lib/communications/online_meetings/item/online_meeting_item_request_builder.rb index 0cbec0d9dd..2d0e473ac0 100644 --- a/lib/communications/online_meetings/item/online_meeting_item_request_builder.rb +++ b/lib/communications/online_meetings/item/online_meeting_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/online_meetings/online_meetings_request_builder.rb b/lib/communications/online_meetings/online_meetings_request_builder.rb index 663f7b6562..a5bea22f46 100644 --- a/lib/communications/online_meetings/online_meetings_request_builder.rb +++ b/lib/communications/online_meetings/online_meetings_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/presences/item/clear_presence/clear_presence_request_builder.rb b/lib/communications/presences/item/clear_presence/clear_presence_request_builder.rb index 33d9e93a6c..e5f6445a31 100644 --- a/lib/communications/presences/item/clear_presence/clear_presence_request_builder.rb +++ b/lib/communications/presences/item/clear_presence/clear_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/presences/item/presence_item_request_builder.rb b/lib/communications/presences/item/presence_item_request_builder.rb index 0be1d969dc..209d3ad365 100644 --- a/lib/communications/presences/item/presence_item_request_builder.rb +++ b/lib/communications/presences/item/presence_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/communications/presences/item/set_presence/set_presence_request_builder.rb b/lib/communications/presences/item/set_presence/set_presence_request_builder.rb index c634d6aaf0..838da903fd 100644 --- a/lib/communications/presences/item/set_presence/set_presence_request_builder.rb +++ b/lib/communications/presences/item/set_presence/set_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb b/lib/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb index cf1e408c37..476e7d43d0 100644 --- a/lib/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb +++ b/lib/communications/presences/item/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/communications/presences/presences_request_builder.rb b/lib/communications/presences/presences_request_builder.rb index cbf660f6b9..c5eacceff6 100644 --- a/lib/communications/presences/presences_request_builder.rb +++ b/lib/communications/presences/presences_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/compliance/compliance_request_builder.rb b/lib/compliance/compliance_request_builder.rb index 46dd3fa4f2..92bc31bc51 100644 --- a/lib/compliance/compliance_request_builder.rb +++ b/lib/compliance/compliance_request_builder.rb @@ -84,7 +84,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/connections_request_builder.rb b/lib/connections/connections_request_builder.rb index e55d312fa1..831c37ca7d 100644 --- a/lib/connections/connections_request_builder.rb +++ b/lib/connections/connections_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/external_connection_item_request_builder.rb b/lib/connections/item/external_connection_item_request_builder.rb index 29f48db1e6..f77b51d95c 100644 --- a/lib/connections/item/external_connection_item_request_builder.rb +++ b/lib/connections/item/external_connection_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/groups/groups_request_builder.rb b/lib/connections/item/groups/groups_request_builder.rb index 14be83fe53..71a406ec19 100644 --- a/lib/connections/item/groups/groups_request_builder.rb +++ b/lib/connections/item/groups/groups_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/groups/item/external_group_item_request_builder.rb b/lib/connections/item/groups/item/external_group_item_request_builder.rb index 9398f68f49..8ced168ff3 100644 --- a/lib/connections/item/groups/item/external_group_item_request_builder.rb +++ b/lib/connections/item/groups/item/external_group_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/groups/item/members/item/identity_item_request_builder.rb b/lib/connections/item/groups/item/members/item/identity_item_request_builder.rb index b5a3ed26f5..471b5cdb08 100644 --- a/lib/connections/item/groups/item/members/item/identity_item_request_builder.rb +++ b/lib/connections/item/groups/item/members/item/identity_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/groups/item/members/members_request_builder.rb b/lib/connections/item/groups/item/members/members_request_builder.rb index 13a830ce57..20f7ba8b4f 100644 --- a/lib/connections/item/groups/item/members/members_request_builder.rb +++ b/lib/connections/item/groups/item/members/members_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/items/item/external_item_item_request_builder.rb b/lib/connections/item/items/item/external_item_item_request_builder.rb index 848ab26c0a..937a81fb0d 100644 --- a/lib/connections/item/items/item/external_item_item_request_builder.rb +++ b/lib/connections/item/items/item/external_item_item_request_builder.rb @@ -59,9 +59,9 @@ def get(request_configuration=nil) ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of external_item ## - def patch(body, request_configuration=nil) + def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? - request_info = self.to_patch_request_information( + request_info = self.to_put_request_information( body, request_configuration ) error_mapping = Hash.new @@ -109,18 +109,18 @@ def to_get_request_information(request_configuration=nil) ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## - def to_patch_request_information(body, request_configuration=nil) + def to_put_request_information(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? request_info = MicrosoftKiotaAbstractions::RequestInformation.new() request_info.url_template = @url_template request_info.path_parameters = @path_parameters - request_info.http_method = :PATCH + request_info.http_method = :PUT request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/items/items_request_builder.rb b/lib/connections/item/items/items_request_builder.rb index 873267f9ca..0743da8732 100644 --- a/lib/connections/item/items/items_request_builder.rb +++ b/lib/connections/item/items/items_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/operations/item/connection_operation_item_request_builder.rb b/lib/connections/item/operations/item/connection_operation_item_request_builder.rb index 8ba718c12d..19d2b7da70 100644 --- a/lib/connections/item/operations/item/connection_operation_item_request_builder.rb +++ b/lib/connections/item/operations/item/connection_operation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/operations/operations_request_builder.rb b/lib/connections/item/operations/operations_request_builder.rb index 72e88c5daa..6c9cbfeae6 100644 --- a/lib/connections/item/operations/operations_request_builder.rb +++ b/lib/connections/item/operations/operations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/connections/item/schema/schema_request_builder.rb b/lib/connections/item/schema/schema_request_builder.rb index 6ea8cbff59..f718e48406 100644 --- a/lib/connections/item/schema/schema_request_builder.rb +++ b/lib/connections/item/schema/schema_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/contacts/contacts_request_builder.rb b/lib/contacts/contacts_request_builder.rb index d6852476c0..f73e2c333b 100644 --- a/lib/contacts/contacts_request_builder.rb +++ b/lib/contacts/contacts_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/contacts/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/contacts/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 267ed66681..e52b99587c 100644 --- a/lib/contacts/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/contacts/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/get_by_ids/get_by_ids_request_builder.rb b/lib/contacts/get_by_ids/get_by_ids_request_builder.rb index fe7788036b..7d9f86ba20 100644 --- a/lib/contacts/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/contacts/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/item/check_member_groups/check_member_groups_request_builder.rb b/lib/contacts/item/check_member_groups/check_member_groups_request_builder.rb index fcc14acd66..9fcacf0f89 100644 --- a/lib/contacts/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/contacts/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/item/check_member_objects/check_member_objects_request_builder.rb b/lib/contacts/item/check_member_objects/check_member_objects_request_builder.rb index 9186b2e353..02b051fc24 100644 --- a/lib/contacts/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/contacts/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/item/get_member_groups/get_member_groups_request_builder.rb b/lib/contacts/item/get_member_groups/get_member_groups_request_builder.rb index 1710a35d3b..00242e58c9 100644 --- a/lib/contacts/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/contacts/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/item/get_member_objects/get_member_objects_request_builder.rb b/lib/contacts/item/get_member_objects/get_member_objects_request_builder.rb index d0d588c5bf..04833e4cf3 100644 --- a/lib/contacts/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/contacts/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contacts/item/org_contact_item_request_builder.rb b/lib/contacts/item/org_contact_item_request_builder.rb index 32de431a60..3ba9c4a6b5 100644 --- a/lib/contacts/item/org_contact_item_request_builder.rb +++ b/lib/contacts/item/org_contact_item_request_builder.rb @@ -195,7 +195,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/contacts/validate_properties/validate_properties_request_builder.rb b/lib/contacts/validate_properties/validate_properties_request_builder.rb index d3d9c912b4..1956df506d 100644 --- a/lib/contacts/validate_properties/validate_properties_request_builder.rb +++ b/lib/contacts/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/contracts_request_builder.rb b/lib/contracts/contracts_request_builder.rb index c53b152f93..bf9416383f 100644 --- a/lib/contracts/contracts_request_builder.rb +++ b/lib/contracts/contracts_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/contracts/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/contracts/get_available_extension_properties/get_available_extension_properties_request_builder.rb index a74baa2066..c2e29a4476 100644 --- a/lib/contracts/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/contracts/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/get_by_ids/get_by_ids_request_builder.rb b/lib/contracts/get_by_ids/get_by_ids_request_builder.rb index 7e77c2c5cd..4e2bacf8f7 100644 --- a/lib/contracts/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/contracts/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/item/check_member_groups/check_member_groups_request_builder.rb b/lib/contracts/item/check_member_groups/check_member_groups_request_builder.rb index 3a9eb2b3c8..d4932d8d2c 100644 --- a/lib/contracts/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/contracts/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/item/check_member_objects/check_member_objects_request_builder.rb b/lib/contracts/item/check_member_objects/check_member_objects_request_builder.rb index 46fc42c7d5..d4db879c60 100644 --- a/lib/contracts/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/contracts/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/item/contract_item_request_builder.rb b/lib/contracts/item/contract_item_request_builder.rb index 9516f716a8..ef2f62d3f2 100644 --- a/lib/contracts/item/contract_item_request_builder.rb +++ b/lib/contracts/item/contract_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/contracts/item/get_member_groups/get_member_groups_request_builder.rb b/lib/contracts/item/get_member_groups/get_member_groups_request_builder.rb index 4fe9009088..89de9cb13d 100644 --- a/lib/contracts/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/contracts/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/item/get_member_objects/get_member_objects_request_builder.rb b/lib/contracts/item/get_member_objects/get_member_objects_request_builder.rb index d0a625195a..0bdb0cdea5 100644 --- a/lib/contracts/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/contracts/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/contracts/validate_properties/validate_properties_request_builder.rb b/lib/contracts/validate_properties/validate_properties_request_builder.rb index e159ae9d14..2dee44b8c3 100644 --- a/lib/contracts/validate_properties/validate_properties_request_builder.rb +++ b/lib/contracts/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/data_policy_operations/data_policy_operations_request_builder.rb b/lib/data_policy_operations/data_policy_operations_request_builder.rb index 19e244b792..f7e7a3a8a6 100644 --- a/lib/data_policy_operations/data_policy_operations_request_builder.rb +++ b/lib/data_policy_operations/data_policy_operations_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/data_policy_operations/item/data_policy_operation_item_request_builder.rb b/lib/data_policy_operations/item/data_policy_operation_item_request_builder.rb index 93f89de4f0..923010eeb4 100644 --- a/lib/data_policy_operations/item/data_policy_operation_item_request_builder.rb +++ b/lib/data_policy_operations/item/data_policy_operation_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.rb b/lib/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.rb index a8cc309418..4fac876351 100644 --- a/lib/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.rb +++ b/lib/device_app_management/android_managed_app_protections/android_managed_app_protections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.rb b/lib/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.rb index e0a2195aee..8bc20a403f 100644 --- a/lib/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.rb +++ b/lib/device_app_management/android_managed_app_protections/item/android_managed_app_protection_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.rb b/lib/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.rb index c5b16c449f..4bae35e0cf 100644 --- a/lib/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.rb +++ b/lib/device_app_management/android_managed_app_protections/item/apps/apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb b/lib/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb index baee4e1ea6..4583d19965 100644 --- a/lib/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb +++ b/lib/device_app_management/android_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb b/lib/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb index 31197a9005..51c8695eee 100644 --- a/lib/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb +++ b/lib/device_app_management/android_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.rb b/lib/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.rb index 793eeaa72d..9dcc6184f0 100644 --- a/lib/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.rb +++ b/lib/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.rb b/lib/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.rb index 5d807db347..b1b63e27b2 100644 --- a/lib/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.rb +++ b/lib/device_app_management/default_managed_app_protections/item/apps/apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb b/lib/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb index e25f04b248..735e98e721 100644 --- a/lib/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb +++ b/lib/device_app_management/default_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.rb b/lib/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.rb index ef5fea67cd..570d216817 100644 --- a/lib/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.rb +++ b/lib/device_app_management/default_managed_app_protections/item/default_managed_app_protection_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb b/lib/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb index f635c56e40..54c655ff1c 100644 --- a/lib/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb +++ b/lib/device_app_management/default_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/device_app_management_request_builder.rb b/lib/device_app_management/device_app_management_request_builder.rb index 34d7026975..4ca1bb1faf 100644 --- a/lib/device_app_management/device_app_management_request_builder.rb +++ b/lib/device_app_management/device_app_management_request_builder.rb @@ -320,7 +320,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.rb b/lib/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.rb index 37cb463ffb..594cce56b5 100644 --- a/lib/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.rb +++ b/lib/device_app_management/ios_managed_app_protections/ios_managed_app_protections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.rb b/lib/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.rb index caabd196da..2ed64752b0 100644 --- a/lib/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.rb +++ b/lib/device_app_management/ios_managed_app_protections/item/apps/apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb b/lib/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb index a1f5ad74c9..64eef575b5 100644 --- a/lib/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb +++ b/lib/device_app_management/ios_managed_app_protections/item/apps/item/managed_mobile_app_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb b/lib/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb index 2813a40fb0..67ac0cb8e8 100644 --- a/lib/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb +++ b/lib/device_app_management/ios_managed_app_protections/item/deployment_summary/deployment_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.rb b/lib/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.rb index 71a92bce1b..1e1891cebe 100644 --- a/lib/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.rb +++ b/lib/device_app_management/ios_managed_app_protections/item/ios_managed_app_protection_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.rb b/lib/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.rb index 496a1a9a4d..b98d3042e6 100644 --- a/lib/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.rb +++ b/lib/device_app_management/managed_app_policies/item/managed_app_policy_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.rb b/lib/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.rb index e2e23c5cc5..aeb542c799 100644 --- a/lib/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.rb +++ b/lib/device_app_management/managed_app_policies/item/target_apps/target_apps_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/managed_app_policies/managed_app_policies_request_builder.rb b/lib/device_app_management/managed_app_policies/managed_app_policies_request_builder.rb index 9f1e78ff99..1b3b284ac6 100644 --- a/lib/device_app_management/managed_app_policies/managed_app_policies_request_builder.rb +++ b/lib/device_app_management/managed_app_policies/managed_app_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.rb index fe2221777a..2890969c27 100644 --- a/lib/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/applied_policies/applied_policies_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.rb index af5cee194b..e801ebf89b 100644 --- a/lib/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/applied_policies/item/managed_app_policy_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.rb index 07802b0024..bff36b72c2 100644 --- a/lib/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/applied_policies/item/target_apps/target_apps_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.rb index d0762fd501..bac2df0876 100644 --- a/lib/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/intended_policies/intended_policies_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.rb index e104ff0ab0..7d26efaac5 100644 --- a/lib/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/intended_policies/item/managed_app_policy_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.rb index f324c4cb98..4f506e6e58 100644 --- a/lib/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/intended_policies/item/target_apps/target_apps_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.rb index 625b238991..a77fc04920 100644 --- a/lib/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/managed_app_registration_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.rb index 585680f472..8b8bcd69c9 100644 --- a/lib/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/operations/item/managed_app_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/item/operations/operations_request_builder.rb b/lib/device_app_management/managed_app_registrations/item/operations/operations_request_builder.rb index 8a6e9968b9..dad1dd69e4 100644 --- a/lib/device_app_management/managed_app_registrations/item/operations/operations_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/item/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.rb b/lib/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.rb index ec354ccb3b..bce81a1267 100644 --- a/lib/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.rb +++ b/lib/device_app_management/managed_app_registrations/managed_app_registrations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.rb b/lib/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.rb index 61694ac72a..401a063623 100644 --- a/lib/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.rb +++ b/lib/device_app_management/managed_app_statuses/item/managed_app_status_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.rb b/lib/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.rb index 4cf9dcf390..5211e2415d 100644 --- a/lib/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.rb +++ b/lib/device_app_management/managed_app_statuses/managed_app_statuses_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/assign/assign_request_builder.rb b/lib/device_app_management/managed_e_books/item/assign/assign_request_builder.rb index e8aaa947f7..0c7daba57c 100644 --- a/lib/device_app_management/managed_e_books/item/assign/assign_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/assign/assign_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/managed_e_books/item/assignments/assignments_request_builder.rb b/lib/device_app_management/managed_e_books/item/assignments/assignments_request_builder.rb index c89ff3c9a0..c56d550f52 100644 --- a/lib/device_app_management/managed_e_books/item/assignments/assignments_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.rb b/lib/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.rb index c90016b0c5..0b877ecbee 100644 --- a/lib/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/assignments/item/managed_e_book_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/device_states/device_states_request_builder.rb b/lib/device_app_management/managed_e_books/item/device_states/device_states_request_builder.rb index 5d3614462b..e1f9fcbcbb 100644 --- a/lib/device_app_management/managed_e_books/item/device_states/device_states_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/device_states/device_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.rb b/lib/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.rb index 24c2902133..d489f7bc54 100644 --- a/lib/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/device_states/item/device_install_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.rb b/lib/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.rb index 4e3681495a..5a6197ec9d 100644 --- a/lib/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/install_summary/install_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.rb b/lib/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.rb index b0edc51d9d..ab07bdfe60 100644 --- a/lib/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/managed_e_book_item_request_builder.rb @@ -173,7 +173,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.rb b/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.rb index ef276a5410..16e591feea 100644 --- a/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/device_states_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.rb b/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.rb index 977c24308e..ae844b0ca2 100644 --- a/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/user_state_summary/item/device_states/item/device_install_state_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.rb b/lib/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.rb index 23cd2519d1..7f1ebbee1a 100644 --- a/lib/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/user_state_summary/item/user_install_state_summary_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.rb b/lib/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.rb index 3036abf100..75b1ef1010 100644 --- a/lib/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.rb +++ b/lib/device_app_management/managed_e_books/item/user_state_summary/user_state_summary_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/managed_e_books/managed_e_books_request_builder.rb b/lib/device_app_management/managed_e_books/managed_e_books_request_builder.rb index 4d1065d7c6..25ebd8bb54 100644 --- a/lib/device_app_management/managed_e_books/managed_e_books_request_builder.rb +++ b/lib/device_app_management/managed_e_books/managed_e_books_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.rb b/lib/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.rb index 70c2cd3137..3009675a3e 100644 --- a/lib/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.rb +++ b/lib/device_app_management/mdm_windows_information_protection_policies/item/mdm_windows_information_protection_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.rb b/lib/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.rb index 538eaac610..0f42a7c901 100644 --- a/lib/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.rb +++ b/lib/device_app_management/mdm_windows_information_protection_policies/mdm_windows_information_protection_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.rb b/lib/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.rb index a453a1cffb..dfa0d0c0cc 100644 --- a/lib/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.rb +++ b/lib/device_app_management/mobile_app_categories/item/mobile_app_category_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.rb b/lib/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.rb index 216848c1a7..acb337561e 100644 --- a/lib/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.rb +++ b/lib/device_app_management/mobile_app_categories/mobile_app_categories_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.rb index 7c3d9c6a88..df7f8b7f8c 100644 --- a/lib/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/assign/assign_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.rb index 9c9415d4c9..fb59e04d2e 100644 --- a/lib/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.rb index d3f2688474..e8cfb85247 100644 --- a/lib/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/assignments/item/managed_device_mobile_app_configuration_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.rb index f6d9d305c5..92f2749f2e 100644 --- a/lib/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/device_status_summary/device_status_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.rb index 7f53dcdc99..b425bc0f23 100644 --- a/lib/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/device_statuses/device_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.rb index 6c0df5f420..70499b839b 100644 --- a/lib/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/device_statuses/item/managed_device_mobile_app_configuration_device_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.rb index 7e7973c73f..db68726309 100644 --- a/lib/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/managed_device_mobile_app_configuration_item_request_builder.rb @@ -179,7 +179,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.rb index 4f513a8eb3..f103c13d39 100644 --- a/lib/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/user_status_summary/user_status_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.rb index 2bcf32477c..d0c8c8f335 100644 --- a/lib/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/user_statuses/item/managed_device_mobile_app_configuration_user_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.rb b/lib/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.rb index b3e87ea480..54c090dd01 100644 --- a/lib/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/item/user_statuses/user_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.rb b/lib/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.rb index 803b68d657..98ccdd5e30 100644 --- a/lib/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.rb +++ b/lib/device_app_management/mobile_app_configurations/mobile_app_configurations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_apps/item/assign/assign_request_builder.rb b/lib/device_app_management/mobile_apps/item/assign/assign_request_builder.rb index 3eb5decb53..5682d55551 100644 --- a/lib/device_app_management/mobile_apps/item/assign/assign_request_builder.rb +++ b/lib/device_app_management/mobile_apps/item/assign/assign_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/mobile_apps/item/assignments/assignments_request_builder.rb b/lib/device_app_management/mobile_apps/item/assignments/assignments_request_builder.rb index 7567a7ae29..1894bb3f64 100644 --- a/lib/device_app_management/mobile_apps/item/assignments/assignments_request_builder.rb +++ b/lib/device_app_management/mobile_apps/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.rb b/lib/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.rb index 14c31fcac8..b412194762 100644 --- a/lib/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.rb +++ b/lib/device_app_management/mobile_apps/item/assignments/item/mobile_app_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_apps/item/mobile_app_item_request_builder.rb b/lib/device_app_management/mobile_apps/item/mobile_app_item_request_builder.rb index a83103f547..7d42e30d03 100644 --- a/lib/device_app_management/mobile_apps/item/mobile_app_item_request_builder.rb +++ b/lib/device_app_management/mobile_apps/item/mobile_app_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/mobile_apps/mobile_apps_request_builder.rb b/lib/device_app_management/mobile_apps/mobile_apps_request_builder.rb index 50f787bdb7..274ec769ec 100644 --- a/lib/device_app_management/mobile_apps/mobile_apps_request_builder.rb +++ b/lib/device_app_management/mobile_apps/mobile_apps_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.rb index dd1cc204b1..91e1562984 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/apps/apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.rb index 87eb101be6..bb01896ba1 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/apps/item/managed_mobile_app_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.rb index 0c213fa928..b02860c431 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/assign/assign_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.rb index 06f01bef1c..068e63ca8d 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.rb index c990518998..66d4dcd7bf 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/assignments/item/targeted_managed_app_policy_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.rb index a3e174e6c9..1289a1b501 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/deployment_summary/deployment_summary_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.rb index 795d106426..9455006f0c 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/target_apps/target_apps_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.rb index acb51eb801..70bfafe755 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/item/targeted_managed_app_configuration_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.rb b/lib/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.rb index 0088b35e35..34f0ab185c 100644 --- a/lib/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.rb +++ b/lib/device_app_management/targeted_managed_app_configurations/targeted_managed_app_configurations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.rb b/lib/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.rb index 7ba1be86ab..dd3362922a 100644 --- a/lib/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.rb +++ b/lib/device_app_management/vpp_tokens/item/vpp_token_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/vpp_tokens/vpp_tokens_request_builder.rb b/lib/device_app_management/vpp_tokens/vpp_tokens_request_builder.rb index 75a9d8c2c0..04a7fe7245 100644 --- a/lib/device_app_management/vpp_tokens/vpp_tokens_request_builder.rb +++ b/lib/device_app_management/vpp_tokens/vpp_tokens_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.rb b/lib/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.rb index c31b42bb9d..b1d52e6d10 100644 --- a/lib/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.rb +++ b/lib/device_app_management/windows_information_protection_policies/item/windows_information_protection_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.rb b/lib/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.rb index 5e2c95f464..e0d6b1ff9e 100644 --- a/lib/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.rb +++ b/lib/device_app_management/windows_information_protection_policies/windows_information_protection_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.rb b/lib/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.rb index 359d38437f..5028679292 100644 --- a/lib/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.rb +++ b/lib/device_management/apple_push_notification_certificate/apple_push_notification_certificate_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/audit_events/audit_events_request_builder.rb b/lib/device_management/audit_events/audit_events_request_builder.rb index a03875a5e2..afa3cfaba9 100644 --- a/lib/device_management/audit_events/audit_events_request_builder.rb +++ b/lib/device_management/audit_events/audit_events_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/audit_events/item/audit_event_item_request_builder.rb b/lib/device_management/audit_events/item/audit_event_item_request_builder.rb index 784080b58d..907881eb00 100644 --- a/lib/device_management/audit_events/item/audit_event_item_request_builder.rb +++ b/lib/device_management/audit_events/item/audit_event_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/compliance_management_partners/compliance_management_partners_request_builder.rb b/lib/device_management/compliance_management_partners/compliance_management_partners_request_builder.rb index b4b29d198e..38fbc59985 100644 --- a/lib/device_management/compliance_management_partners/compliance_management_partners_request_builder.rb +++ b/lib/device_management/compliance_management_partners/compliance_management_partners_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.rb b/lib/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.rb index 4a6ad56be1..9fb4518baa 100644 --- a/lib/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.rb +++ b/lib/device_management/compliance_management_partners/item/compliance_management_partner_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/conditional_access_settings/conditional_access_settings_request_builder.rb b/lib/device_management/conditional_access_settings/conditional_access_settings_request_builder.rb index d2d9b00a92..3a66720005 100644 --- a/lib/device_management/conditional_access_settings/conditional_access_settings_request_builder.rb +++ b/lib/device_management/conditional_access_settings/conditional_access_settings_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/detected_apps/detected_apps_request_builder.rb b/lib/device_management/detected_apps/detected_apps_request_builder.rb index 9b87be1c21..3732b38c3d 100644 --- a/lib/device_management/detected_apps/detected_apps_request_builder.rb +++ b/lib/device_management/detected_apps/detected_apps_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/detected_apps/item/detected_app_item_request_builder.rb b/lib/device_management/detected_apps/item/detected_app_item_request_builder.rb index 6cf0fe8e0c..ccf9ceca90 100644 --- a/lib/device_management/detected_apps/item/detected_app_item_request_builder.rb +++ b/lib/device_management/detected_apps/item/detected_app_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_categories/device_categories_request_builder.rb b/lib/device_management/device_categories/device_categories_request_builder.rb index 5d4e31ff1e..d262494600 100644 --- a/lib/device_management/device_categories/device_categories_request_builder.rb +++ b/lib/device_management/device_categories/device_categories_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_categories/item/device_category_item_request_builder.rb b/lib/device_management/device_categories/item/device_category_item_request_builder.rb index fa35cf4a09..5c83c61354 100644 --- a/lib/device_management/device_categories/item/device_category_item_request_builder.rb +++ b/lib/device_management/device_categories/item/device_category_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/device_compliance_policies_request_builder.rb b/lib/device_management/device_compliance_policies/device_compliance_policies_request_builder.rb index a6de0e2ed0..37dcc56a26 100644 --- a/lib/device_management/device_compliance_policies/device_compliance_policies_request_builder.rb +++ b/lib/device_management/device_compliance_policies/device_compliance_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/assign/assign_request_builder.rb b/lib/device_management/device_compliance_policies/item/assign/assign_request_builder.rb index a8f93e01ea..2fc9ba2e5e 100644 --- a/lib/device_management/device_compliance_policies/item/assign/assign_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/assign/assign_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/device_compliance_policies/item/assignments/assignments_request_builder.rb b/lib/device_management/device_compliance_policies/item/assignments/assignments_request_builder.rb index e7887dae1a..c4dade3ba4 100644 --- a/lib/device_management/device_compliance_policies/item/assignments/assignments_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.rb index 21e752549f..7718670c5b 100644 --- a/lib/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/assignments/item/device_compliance_policy_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.rb index a6ef9aaa16..c278e08f4c 100644 --- a/lib/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_compliance_policy_item_request_builder.rb @@ -221,7 +221,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb index 00959c5f72..c8e1eab4dd 100644 --- a/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb index 457ad9299f..efe4211823 100644 --- a/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.rb index 7aac2c666f..7145af759b 100644 --- a/lib/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_status_overview/device_status_overview_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.rb index 95759f6aa2..7c1a002743 100644 --- a/lib/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_statuses/device_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.rb index 19074acb4e..ef357700e1 100644 --- a/lib/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/device_statuses/item/device_compliance_device_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.rb b/lib/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.rb index 807ea55bb3..4a41663095 100644 --- a/lib/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/schedule_actions_for_rules/schedule_actions_for_rules_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.rb index 9baeec4396..e3dabd5c0e 100644 --- a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/device_compliance_scheduled_action_for_rule_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.rb index 1a5d853712..a6b5ccbd07 100644 --- a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/item/device_compliance_action_item_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.rb b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.rb index 1bf8f274e5..61a50e93a9 100644 --- a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/item/scheduled_action_configurations/scheduled_action_configurations_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.rb b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.rb index da34a74c40..7c36ca5989 100644 --- a/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/scheduled_actions_for_rule/scheduled_actions_for_rule_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.rb b/lib/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.rb index 815619b335..ed07d4c8d1 100644 --- a/lib/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/user_status_overview/user_status_overview_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.rb b/lib/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.rb index 705abc1a41..b146962256 100644 --- a/lib/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/user_statuses/item/device_compliance_user_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.rb b/lib/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.rb index d645946941..62e18603dc 100644 --- a/lib/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.rb +++ b/lib/device_management/device_compliance_policies/item/user_statuses/user_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.rb b/lib/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.rb index 5f27fa33f4..d169691303 100644 --- a/lib/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.rb +++ b/lib/device_management/device_compliance_policy_device_state_summary/device_compliance_policy_device_state_summary_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.rb b/lib/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.rb index 2e237405f2..a064bc6110 100644 --- a/lib/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.rb +++ b/lib/device_management/device_compliance_policy_setting_state_summaries/device_compliance_policy_setting_state_summaries_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.rb b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.rb index 3b3eb8db58..578d6c0112 100644 --- a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.rb +++ b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_policy_setting_state_summary_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.rb b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.rb index e818d73e01..8e39c90209 100644 --- a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.rb +++ b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/device_compliance_setting_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.rb b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.rb index c6ce45af46..7723b50ac6 100644 --- a/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.rb +++ b/lib/device_management/device_compliance_policy_setting_state_summaries/item/device_compliance_setting_states/item/device_compliance_setting_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.rb b/lib/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.rb index b30eefd766..b02f1a3bf0 100644 --- a/lib/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.rb +++ b/lib/device_management/device_configuration_device_state_summaries/device_configuration_device_state_summaries_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/device_configurations_request_builder.rb b/lib/device_management/device_configurations/device_configurations_request_builder.rb index c25fb22c04..12ad0da331 100644 --- a/lib/device_management/device_configurations/device_configurations_request_builder.rb +++ b/lib/device_management/device_configurations/device_configurations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/assign/assign_request_builder.rb b/lib/device_management/device_configurations/item/assign/assign_request_builder.rb index 6648660937..09380caa1f 100644 --- a/lib/device_management/device_configurations/item/assign/assign_request_builder.rb +++ b/lib/device_management/device_configurations/item/assign/assign_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/device_configurations/item/assignments/assignments_request_builder.rb b/lib/device_management/device_configurations/item/assignments/assignments_request_builder.rb index 6d25bc28a5..c46e162fa4 100644 --- a/lib/device_management/device_configurations/item/assignments/assignments_request_builder.rb +++ b/lib/device_management/device_configurations/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.rb b/lib/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.rb index c311bfea43..9c18c173b3 100644 --- a/lib/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.rb +++ b/lib/device_management/device_configurations/item/assignments/item/device_configuration_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/device_configuration_item_request_builder.rb b/lib/device_management/device_configurations/item/device_configuration_item_request_builder.rb index 72f7155e1e..e6c20878b8 100644 --- a/lib/device_management/device_configurations/item/device_configuration_item_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_configuration_item_request_builder.rb @@ -207,7 +207,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb b/lib/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb index 66da506c10..0c65361213 100644 --- a/lib/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_setting_state_summaries/device_setting_state_summaries_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb b/lib/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb index c12372fd39..2fd0f80e74 100644 --- a/lib/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_setting_state_summaries/item/setting_state_device_summary_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.rb b/lib/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.rb index a8ef21f83d..2eba779d32 100644 --- a/lib/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_status_overview/device_status_overview_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.rb b/lib/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.rb index 80bfac2629..f436d940b0 100644 --- a/lib/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_statuses/device_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.rb b/lib/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.rb index 8a73202185..efa0907996 100644 --- a/lib/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.rb +++ b/lib/device_management/device_configurations/item/device_statuses/item/device_configuration_device_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.rb b/lib/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.rb index d4aa7324e8..e396e8c8b8 100644 --- a/lib/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.rb +++ b/lib/device_management/device_configurations/item/user_status_overview/user_status_overview_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.rb b/lib/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.rb index 621eae7828..4c159ad085 100644 --- a/lib/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.rb +++ b/lib/device_management/device_configurations/item/user_statuses/item/device_configuration_user_status_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.rb b/lib/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.rb index 271253105f..29ab003476 100644 --- a/lib/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.rb +++ b/lib/device_management/device_configurations/item/user_statuses/user_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.rb b/lib/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.rb index 27770bfb3d..6dd1610e15 100644 --- a/lib/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/device_enrollment_configurations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_enrollment_configurations/item/assign/assign_request_builder.rb b/lib/device_management/device_enrollment_configurations/item/assign/assign_request_builder.rb index fa1e7fd9c7..deb0f26a23 100644 --- a/lib/device_management/device_enrollment_configurations/item/assign/assign_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/item/assign/assign_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.rb b/lib/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.rb index b0e9591280..8999326d70 100644 --- a/lib/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.rb b/lib/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.rb index efd0060a67..a1963200dd 100644 --- a/lib/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/item/assignments/item/enrollment_configuration_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.rb b/lib/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.rb index f4f7bdddd8..ddb7f2b302 100644 --- a/lib/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/item/device_enrollment_configuration_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.rb b/lib/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.rb index f7a16a3ca2..5fc7dd8ccb 100644 --- a/lib/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.rb +++ b/lib/device_management/device_enrollment_configurations/item/set_priority/set_priority_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/device_management_partners/device_management_partners_request_builder.rb b/lib/device_management/device_management_partners/device_management_partners_request_builder.rb index ed7f06f9ca..789a554ec8 100644 --- a/lib/device_management/device_management_partners/device_management_partners_request_builder.rb +++ b/lib/device_management/device_management_partners/device_management_partners_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_management_partners/item/device_management_partner_item_request_builder.rb b/lib/device_management/device_management_partners/item/device_management_partner_item_request_builder.rb index 99b5d12d01..384f7c3fd7 100644 --- a/lib/device_management/device_management_partners/item/device_management_partner_item_request_builder.rb +++ b/lib/device_management/device_management_partners/item/device_management_partner_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/device_management_request_builder.rb b/lib/device_management/device_management_request_builder.rb index d9ac5c8c18..584a6874dd 100644 --- a/lib/device_management/device_management_request_builder.rb +++ b/lib/device_management/device_management_request_builder.rb @@ -543,7 +543,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/device_management/exchange_connectors/exchange_connectors_request_builder.rb b/lib/device_management/exchange_connectors/exchange_connectors_request_builder.rb index a56675c6b1..a3424e1952 100644 --- a/lib/device_management/exchange_connectors/exchange_connectors_request_builder.rb +++ b/lib/device_management/exchange_connectors/exchange_connectors_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.rb b/lib/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.rb index b5429050ff..9c7153dfd7 100644 --- a/lib/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.rb +++ b/lib/device_management/exchange_connectors/item/device_management_exchange_connector_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/exchange_connectors/item/sync/sync_request_builder.rb b/lib/device_management/exchange_connectors/item/sync/sync_request_builder.rb index 82af4bf3df..71545f49b8 100644 --- a/lib/device_management/exchange_connectors/item/sync/sync_request_builder.rb +++ b/lib/device_management/exchange_connectors/item/sync/sync_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/imported_windows_autopilot_device_identities/import/import_request_builder.rb b/lib/device_management/imported_windows_autopilot_device_identities/import/import_request_builder.rb index efa5e91fe0..d6cfef63a6 100644 --- a/lib/device_management/imported_windows_autopilot_device_identities/import/import_request_builder.rb +++ b/lib/device_management/imported_windows_autopilot_device_identities/import/import_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.rb b/lib/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.rb index 9bf9d99e38..9b4427b28a 100644 --- a/lib/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.rb +++ b/lib/device_management/imported_windows_autopilot_device_identities/imported_windows_autopilot_device_identities_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.rb b/lib/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.rb index 6a06cd86de..85ffa45f8b 100644 --- a/lib/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.rb +++ b/lib/device_management/imported_windows_autopilot_device_identities/item/imported_windows_autopilot_device_identity_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/ios_update_statuses/ios_update_statuses_request_builder.rb b/lib/device_management/ios_update_statuses/ios_update_statuses_request_builder.rb index c94865b925..6b17780d81 100644 --- a/lib/device_management/ios_update_statuses/ios_update_statuses_request_builder.rb +++ b/lib/device_management/ios_update_statuses/ios_update_statuses_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.rb b/lib/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.rb index e68bbc4921..a17fc691e3 100644 --- a/lib/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.rb +++ b/lib/device_management/ios_update_statuses/item/ios_update_device_status_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb b/lib/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb index b01cfca211..899a3ee580 100644 --- a/lib/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb +++ b/lib/device_management/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb b/lib/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb index 8dd36efb75..c5a620c640 100644 --- a/lib/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb +++ b/lib/device_management/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/managed_devices/item/device_category/device_category_request_builder.rb b/lib/device_management/managed_devices/item/device_category/device_category_request_builder.rb index 061a880564..a9b07ee5e5 100644 --- a/lib/device_management/managed_devices/item/device_category/device_category_request_builder.rb +++ b/lib/device_management/managed_devices/item/device_category/device_category_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb b/lib/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb index 6c0293ce93..de63843459 100644 --- a/lib/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb +++ b/lib/device_management/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb b/lib/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb index 637b33aa95..1c915dd505 100644 --- a/lib/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb +++ b/lib/device_management/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb b/lib/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb index 8d143572ee..d37c9ce517 100644 --- a/lib/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb +++ b/lib/device_management/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb b/lib/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb index 101aad8eda..c7c83e7457 100644 --- a/lib/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb +++ b/lib/device_management/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/managed_device_item_request_builder.rb b/lib/device_management/managed_devices/item/managed_device_item_request_builder.rb index 19f0120233..777688b723 100644 --- a/lib/device_management/managed_devices/item/managed_device_item_request_builder.rb +++ b/lib/device_management/managed_devices/item/managed_device_item_request_builder.rb @@ -274,7 +274,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb b/lib/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb index a506c30874..9bc896e5ff 100644 --- a/lib/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb +++ b/lib/device_management/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb b/lib/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb index d028f45a67..2f4909dc9e 100644 --- a/lib/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb +++ b/lib/device_management/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/managed_devices/item/wipe/wipe_request_builder.rb b/lib/device_management/managed_devices/item/wipe/wipe_request_builder.rb index 2be85a4c61..844b313dce 100644 --- a/lib/device_management/managed_devices/item/wipe/wipe_request_builder.rb +++ b/lib/device_management/managed_devices/item/wipe/wipe_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/managed_devices/managed_devices_request_builder.rb b/lib/device_management/managed_devices/managed_devices_request_builder.rb index 391ff7b63b..adf691a82c 100644 --- a/lib/device_management/managed_devices/managed_devices_request_builder.rb +++ b/lib/device_management/managed_devices/managed_devices_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.rb b/lib/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.rb index c09337f547..ceaf86cc84 100644 --- a/lib/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.rb +++ b/lib/device_management/mobile_threat_defense_connectors/item/mobile_threat_defense_connector_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.rb b/lib/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.rb index f1e19b0db9..d3fcdf3cc5 100644 --- a/lib/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.rb +++ b/lib/device_management/mobile_threat_defense_connectors/mobile_threat_defense_connectors_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.rb b/lib/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.rb index 8a139a354a..baed410d50 100644 --- a/lib/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.rb +++ b/lib/device_management/notification_message_templates/item/localized_notification_messages/item/localized_notification_message_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.rb b/lib/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.rb index d44705fbd8..b569fb0d4a 100644 --- a/lib/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.rb +++ b/lib/device_management/notification_message_templates/item/localized_notification_messages/localized_notification_messages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/notification_message_templates/item/notification_message_template_item_request_builder.rb b/lib/device_management/notification_message_templates/item/notification_message_template_item_request_builder.rb index 221d1c2308..80d9178b5f 100644 --- a/lib/device_management/notification_message_templates/item/notification_message_template_item_request_builder.rb +++ b/lib/device_management/notification_message_templates/item/notification_message_template_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/notification_message_templates/notification_message_templates_request_builder.rb b/lib/device_management/notification_message_templates/notification_message_templates_request_builder.rb index eca304cb9e..d721f9cb5e 100644 --- a/lib/device_management/notification_message_templates/notification_message_templates_request_builder.rb +++ b/lib/device_management/notification_message_templates/notification_message_templates_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.rb b/lib/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.rb index 0b51ced9e1..2aaa7948e9 100644 --- a/lib/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.rb +++ b/lib/device_management/remote_assistance_partners/item/remote_assistance_partner_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.rb b/lib/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.rb index ffc0564659..5f3df6875f 100644 --- a/lib/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.rb +++ b/lib/device_management/remote_assistance_partners/remote_assistance_partners_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/reports/export_jobs/export_jobs_request_builder.rb b/lib/device_management/reports/export_jobs/export_jobs_request_builder.rb index a634e2ccde..b85bd54317 100644 --- a/lib/device_management/reports/export_jobs/export_jobs_request_builder.rb +++ b/lib/device_management/reports/export_jobs/export_jobs_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.rb b/lib/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.rb index b4113a660d..6dd49b918c 100644 --- a/lib/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.rb +++ b/lib/device_management/reports/export_jobs/item/device_management_export_job_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/reports/get_cached_report/get_cached_report_request_builder.rb b/lib/device_management/reports/get_cached_report/get_cached_report_request_builder.rb index 41b808b17e..4b7fc40161 100644 --- a/lib/device_management/reports/get_cached_report/get_cached_report_request_builder.rb +++ b/lib/device_management/reports/get_cached_report/get_cached_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.rb index b689a63e2f..9a64d1d78e 100644 --- a/lib/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_compliance_policy_non_compliance_report/get_compliance_policy_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.rb b/lib/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.rb index 82175064dc..50808f896e 100644 --- a/lib/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.rb +++ b/lib/device_management/reports/get_compliance_policy_non_compliance_summary_report/get_compliance_policy_non_compliance_summary_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.rb index cab3362dd7..798e73644f 100644 --- a/lib/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_compliance_setting_non_compliance_report/get_compliance_setting_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.rb index 076d3b1962..c62b6a87df 100644 --- a/lib/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_configuration_policy_non_compliance_report/get_configuration_policy_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.rb b/lib/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.rb index bf810d83ae..b4a7d980ae 100644 --- a/lib/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.rb +++ b/lib/device_management/reports/get_configuration_policy_non_compliance_summary_report/get_configuration_policy_non_compliance_summary_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.rb index d90ea779cc..9973e54907 100644 --- a/lib/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_configuration_setting_non_compliance_report/get_configuration_setting_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.rb b/lib/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.rb index 8786ada4b5..06477dd7a6 100644 --- a/lib/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.rb +++ b/lib/device_management/reports/get_device_management_intent_per_setting_contributing_profiles/get_device_management_intent_per_setting_contributing_profiles_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.rb b/lib/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.rb index 82d23ef889..a7e754a17d 100644 --- a/lib/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.rb +++ b/lib/device_management/reports/get_device_management_intent_settings_report/get_device_management_intent_settings_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.rb index 3636f08a31..914630c651 100644 --- a/lib/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_device_non_compliance_report/get_device_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb b/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb index 7f6256a9a4..ab832e6f9a 100644 --- a/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb +++ b/lib/device_management/reports/get_devices_without_compliance_policy_report/get_devices_without_compliance_policy_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_historical_report/get_historical_report_request_builder.rb b/lib/device_management/reports/get_historical_report/get_historical_report_request_builder.rb index 49bc645e41..13c369efe4 100644 --- a/lib/device_management/reports/get_historical_report/get_historical_report_request_builder.rb +++ b/lib/device_management/reports/get_historical_report/get_historical_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.rb b/lib/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.rb index c755d60b5f..5d2dba7d98 100644 --- a/lib/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.rb +++ b/lib/device_management/reports/get_noncompliant_devices_and_settings_report/get_noncompliant_devices_and_settings_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.rb b/lib/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.rb index 98ac6da96d..88492f2e1b 100644 --- a/lib/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.rb +++ b/lib/device_management/reports/get_policy_non_compliance_metadata/get_policy_non_compliance_metadata_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.rb index 9098d0fe71..4bb0b080a4 100644 --- a/lib/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_policy_non_compliance_report/get_policy_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.rb b/lib/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.rb index fcd7e37bec..42e392be91 100644 --- a/lib/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.rb +++ b/lib/device_management/reports/get_policy_non_compliance_summary_report/get_policy_non_compliance_summary_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_report_filters/get_report_filters_request_builder.rb b/lib/device_management/reports/get_report_filters/get_report_filters_request_builder.rb index afa6131c6c..93684b9afb 100644 --- a/lib/device_management/reports/get_report_filters/get_report_filters_request_builder.rb +++ b/lib/device_management/reports/get_report_filters/get_report_filters_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.rb b/lib/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.rb index 00ab446ab6..155314731c 100644 --- a/lib/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.rb +++ b/lib/device_management/reports/get_setting_non_compliance_report/get_setting_non_compliance_report_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/reports/reports_request_builder.rb b/lib/device_management/reports/reports_request_builder.rb index b24130e928..9e4032f344 100644 --- a/lib/device_management/reports/reports_request_builder.rb +++ b/lib/device_management/reports/reports_request_builder.rb @@ -242,7 +242,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/resource_operations/item/resource_operation_item_request_builder.rb b/lib/device_management/resource_operations/item/resource_operation_item_request_builder.rb index 1a30d18a3f..934bc8fcc2 100644 --- a/lib/device_management/resource_operations/item/resource_operation_item_request_builder.rb +++ b/lib/device_management/resource_operations/item/resource_operation_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/resource_operations/resource_operations_request_builder.rb b/lib/device_management/resource_operations/resource_operations_request_builder.rb index a4381e3b20..70635a8bc7 100644 --- a/lib/device_management/resource_operations/resource_operations_request_builder.rb +++ b/lib/device_management/resource_operations/resource_operations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.rb b/lib/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.rb index 468eae96bb..d395d8c906 100644 --- a/lib/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.rb +++ b/lib/device_management/role_assignments/item/device_and_app_management_role_assignment_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_assignments/role_assignments_request_builder.rb b/lib/device_management/role_assignments/role_assignments_request_builder.rb index 47cc687429..b7d2fa5e3c 100644 --- a/lib/device_management/role_assignments/role_assignments_request_builder.rb +++ b/lib/device_management/role_assignments/role_assignments_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.rb b/lib/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.rb index d29e1af46d..6a8c10fd5e 100644 --- a/lib/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.rb +++ b/lib/device_management/role_definitions/item/role_assignments/item/role_assignment_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.rb b/lib/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.rb index adfc659226..5451ebd1e6 100644 --- a/lib/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.rb +++ b/lib/device_management/role_definitions/item/role_assignments/role_assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_definitions/item/role_definition_item_request_builder.rb b/lib/device_management/role_definitions/item/role_definition_item_request_builder.rb index d85061bf35..8a37429485 100644 --- a/lib/device_management/role_definitions/item/role_definition_item_request_builder.rb +++ b/lib/device_management/role_definitions/item/role_definition_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/role_definitions/role_definitions_request_builder.rb b/lib/device_management/role_definitions/role_definitions_request_builder.rb index c09856f650..023f729810 100644 --- a/lib/device_management/role_definitions/role_definitions_request_builder.rb +++ b/lib/device_management/role_definitions/role_definitions_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.rb b/lib/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.rb index 98d2ce6c1d..8b8488c892 100644 --- a/lib/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.rb +++ b/lib/device_management/telecom_expense_management_partners/item/telecom_expense_management_partner_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.rb b/lib/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.rb index 9c202cb4d5..deb1d2968d 100644 --- a/lib/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.rb +++ b/lib/device_management/telecom_expense_management_partners/telecom_expense_management_partners_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.rb b/lib/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.rb index 40e8de19c7..ab18d01460 100644 --- a/lib/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.rb +++ b/lib/device_management/terms_and_conditions/item/acceptance_statuses/acceptance_statuses_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.rb b/lib/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.rb index 6e7dfd3ad9..c5e425a6e0 100644 --- a/lib/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.rb +++ b/lib/device_management/terms_and_conditions/item/acceptance_statuses/item/terms_and_conditions_acceptance_status_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/item/assignments/assignments_request_builder.rb b/lib/device_management/terms_and_conditions/item/assignments/assignments_request_builder.rb index d52e46de7b..66cf625de1 100644 --- a/lib/device_management/terms_and_conditions/item/assignments/assignments_request_builder.rb +++ b/lib/device_management/terms_and_conditions/item/assignments/assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.rb b/lib/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.rb index e5e48dbcad..17ee0d0913 100644 --- a/lib/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.rb +++ b/lib/device_management/terms_and_conditions/item/assignments/item/terms_and_conditions_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.rb b/lib/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.rb index 63c727ea63..1b0162a501 100644 --- a/lib/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.rb +++ b/lib/device_management/terms_and_conditions/item/terms_and_conditions_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/terms_and_conditions/terms_and_conditions_request_builder.rb b/lib/device_management/terms_and_conditions/terms_and_conditions_request_builder.rb index c4b5ab945f..285c6189ba 100644 --- a/lib/device_management/terms_and_conditions/terms_and_conditions_request_builder.rb +++ b/lib/device_management/terms_and_conditions/terms_and_conditions_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb b/lib/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb index 3c2895761f..3181f11fcd 100644 --- a/lib/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb +++ b/lib/device_management/troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/troubleshooting_events/troubleshooting_events_request_builder.rb b/lib/device_management/troubleshooting_events/troubleshooting_events_request_builder.rb index a922ad0c57..999c4c0d7e 100644 --- a/lib/device_management/troubleshooting_events/troubleshooting_events_request_builder.rb +++ b/lib/device_management/troubleshooting_events/troubleshooting_events_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.rb b/lib/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.rb index 3d9ec0acae..333d760022 100644 --- a/lib/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.rb +++ b/lib/device_management/windows_autopilot_device_identities/item/assign_user_to_device/assign_user_to_device_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.rb b/lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.rb index 17e42ee22f..844ff3ff82 100644 --- a/lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.rb +++ b/lib/device_management/windows_autopilot_device_identities/item/update_device_properties/update_device_properties_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.rb b/lib/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.rb index 419cdf489e..2900c6bbe4 100644 --- a/lib/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.rb +++ b/lib/device_management/windows_autopilot_device_identities/item/windows_autopilot_device_identity_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.rb b/lib/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.rb index d86db4fde8..8f68e5b463 100644 --- a/lib/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.rb +++ b/lib/device_management/windows_autopilot_device_identities/windows_autopilot_device_identities_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.rb b/lib/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.rb index c3a36c11b8..35a7a4154b 100644 --- a/lib/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.rb +++ b/lib/device_management/windows_information_protection_app_learning_summaries/item/windows_information_protection_app_learning_summary_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.rb b/lib/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.rb index a6999679d6..f761b796e1 100644 --- a/lib/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.rb +++ b/lib/device_management/windows_information_protection_app_learning_summaries/windows_information_protection_app_learning_summaries_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.rb b/lib/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.rb index 24ae5a8d00..c263708d75 100644 --- a/lib/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.rb +++ b/lib/device_management/windows_information_protection_network_learning_summaries/item/windows_information_protection_network_learning_summary_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.rb b/lib/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.rb index b36d22234d..7ed4bb95d3 100644 --- a/lib/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.rb +++ b/lib/device_management/windows_information_protection_network_learning_summaries/windows_information_protection_network_learning_summaries_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/devices_request_builder.rb b/lib/devices/devices_request_builder.rb index a953d8f8a5..f11043252e 100644 --- a/lib/devices/devices_request_builder.rb +++ b/lib/devices/devices_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/devices/get_available_extension_properties/get_available_extension_properties_request_builder.rb index fff5f2aed1..a2211f5553 100644 --- a/lib/devices/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/devices/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/get_by_ids/get_by_ids_request_builder.rb b/lib/devices/get_by_ids/get_by_ids_request_builder.rb index a5cff4e821..1494f85b7a 100644 --- a/lib/devices/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/devices/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/item/check_member_groups/check_member_groups_request_builder.rb b/lib/devices/item/check_member_groups/check_member_groups_request_builder.rb index 94abcac510..4f2c695671 100644 --- a/lib/devices/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/devices/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/item/check_member_objects/check_member_objects_request_builder.rb b/lib/devices/item/check_member_objects/check_member_objects_request_builder.rb index 48d4b0a4e5..536ea056f9 100644 --- a/lib/devices/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/devices/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/item/device_item_request_builder.rb b/lib/devices/item/device_item_request_builder.rb index faa37eec06..683d7b6b2a 100644 --- a/lib/devices/item/device_item_request_builder.rb +++ b/lib/devices/item/device_item_request_builder.rb @@ -225,7 +225,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/devices/item/extensions/extensions_request_builder.rb b/lib/devices/item/extensions/extensions_request_builder.rb index ccf2f4b7ef..5741bda06a 100644 --- a/lib/devices/item/extensions/extensions_request_builder.rb +++ b/lib/devices/item/extensions/extensions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/item/extensions/item/extension_item_request_builder.rb b/lib/devices/item/extensions/item/extension_item_request_builder.rb index fceec1f2a6..e01865f873 100644 --- a/lib/devices/item/extensions/item/extension_item_request_builder.rb +++ b/lib/devices/item/extensions/item/extension_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/item/get_member_groups/get_member_groups_request_builder.rb b/lib/devices/item/get_member_groups/get_member_groups_request_builder.rb index bde4892611..c6f356deb6 100644 --- a/lib/devices/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/devices/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/item/get_member_objects/get_member_objects_request_builder.rb b/lib/devices/item/get_member_objects/get_member_objects_request_builder.rb index 1eba193e72..0c6b41c6bb 100644 --- a/lib/devices/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/devices/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/devices/item/registered_owners/ref/ref_request_builder.rb b/lib/devices/item/registered_owners/ref/ref_request_builder.rb index 7d7d1190a8..18e34308f7 100644 --- a/lib/devices/item/registered_owners/ref/ref_request_builder.rb +++ b/lib/devices/item/registered_owners/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/item/registered_users/ref/ref_request_builder.rb b/lib/devices/item/registered_users/ref/ref_request_builder.rb index 2cb898c52b..264982e091 100644 --- a/lib/devices/item/registered_users/ref/ref_request_builder.rb +++ b/lib/devices/item/registered_users/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/devices/validate_properties/validate_properties_request_builder.rb b/lib/devices/validate_properties/validate_properties_request_builder.rb index 8446c22b57..cecfd7362a 100644 --- a/lib/devices/validate_properties/validate_properties_request_builder.rb +++ b/lib/devices/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/administrative_units/administrative_units_request_builder.rb b/lib/directory/administrative_units/administrative_units_request_builder.rb index d9405faaf3..ec23222ce7 100644 --- a/lib/directory/administrative_units/administrative_units_request_builder.rb +++ b/lib/directory/administrative_units/administrative_units_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/administrative_unit_item_request_builder.rb b/lib/directory/administrative_units/item/administrative_unit_item_request_builder.rb index 89fb441c98..fbd4b5d2be 100644 --- a/lib/directory/administrative_units/item/administrative_unit_item_request_builder.rb +++ b/lib/directory/administrative_units/item/administrative_unit_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/extensions/extensions_request_builder.rb b/lib/directory/administrative_units/item/extensions/extensions_request_builder.rb index bb3809ea21..b29765c290 100644 --- a/lib/directory/administrative_units/item/extensions/extensions_request_builder.rb +++ b/lib/directory/administrative_units/item/extensions/extensions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/extensions/item/extension_item_request_builder.rb b/lib/directory/administrative_units/item/extensions/item/extension_item_request_builder.rb index 4a3f9bb077..727577b27a 100644 --- a/lib/directory/administrative_units/item/extensions/item/extension_item_request_builder.rb +++ b/lib/directory/administrative_units/item/extensions/item/extension_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/members/ref/ref_request_builder.rb b/lib/directory/administrative_units/item/members/ref/ref_request_builder.rb index 17fa72eafc..483ff6b429 100644 --- a/lib/directory/administrative_units/item/members/ref/ref_request_builder.rb +++ b/lib/directory/administrative_units/item/members/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.rb b/lib/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.rb index b1a4d956e3..b7b1275162 100644 --- a/lib/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.rb +++ b/lib/directory/administrative_units/item/scoped_role_members/item/scoped_role_membership_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.rb b/lib/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.rb index 428e83d3ed..909ef7a974 100644 --- a/lib/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.rb +++ b/lib/directory/administrative_units/item/scoped_role_members/scoped_role_members_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/deleted_items/deleted_items_request_builder.rb b/lib/directory/deleted_items/deleted_items_request_builder.rb index a9ed44cfa4..96519f0efb 100644 --- a/lib/directory/deleted_items/deleted_items_request_builder.rb +++ b/lib/directory/deleted_items/deleted_items_request_builder.rb @@ -135,7 +135,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 34129d2c37..d9bb7f622c 100644 --- a/lib/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/directory/deleted_items/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/get_by_ids/get_by_ids_request_builder.rb b/lib/directory/deleted_items/get_by_ids/get_by_ids_request_builder.rb index 4e78a039b8..1778feb85d 100644 --- a/lib/directory/deleted_items/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/directory/deleted_items/get_by_ids/get_by_ids_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.rb b/lib/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.rb index 337ec0fdd1..e285334085 100644 --- a/lib/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/directory/deleted_items/item/check_member_groups/check_member_groups_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.rb b/lib/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.rb index 6c9ce319a5..dcd261d56b 100644 --- a/lib/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/directory/deleted_items/item/check_member_objects/check_member_objects_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/item/directory_object_item_request_builder.rb b/lib/directory/deleted_items/item/directory_object_item_request_builder.rb index c98fb0250c..d3539787e2 100644 --- a/lib/directory/deleted_items/item/directory_object_item_request_builder.rb +++ b/lib/directory/deleted_items/item/directory_object_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.rb b/lib/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.rb index 88affc4395..daf10d862b 100644 --- a/lib/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/directory/deleted_items/item/get_member_groups/get_member_groups_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.rb b/lib/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.rb index 5e776eac7f..f0f3916142 100644 --- a/lib/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/directory/deleted_items/item/get_member_objects/get_member_objects_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/deleted_items/validate_properties/validate_properties_request_builder.rb b/lib/directory/deleted_items/validate_properties/validate_properties_request_builder.rb index 2b571cb8b9..f5de5b7b90 100644 --- a/lib/directory/deleted_items/validate_properties/validate_properties_request_builder.rb +++ b/lib/directory/deleted_items/validate_properties/validate_properties_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory/directory_request_builder.rb b/lib/directory/directory_request_builder.rb index 9fb9db2abd..9bf7ee2739 100644 --- a/lib/directory/directory_request_builder.rb +++ b/lib/directory/directory_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/federation_configurations/federation_configurations_request_builder.rb b/lib/directory/federation_configurations/federation_configurations_request_builder.rb index 5baf7e8f94..97f2feb639 100644 --- a/lib/directory/federation_configurations/federation_configurations_request_builder.rb +++ b/lib/directory/federation_configurations/federation_configurations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/federation_configurations/item/identity_provider_base_item_request_builder.rb b/lib/directory/federation_configurations/item/identity_provider_base_item_request_builder.rb index b0b3745a1d..6c9388d0e0 100644 --- a/lib/directory/federation_configurations/item/identity_provider_base_item_request_builder.rb +++ b/lib/directory/federation_configurations/item/identity_provider_base_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.rb b/lib/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.rb index 3e280322b5..100270b936 100644 --- a/lib/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.rb +++ b/lib/directory/on_premises_synchronization/item/on_premises_directory_synchronization_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory/on_premises_synchronization/on_premises_synchronization_request_builder.rb b/lib/directory/on_premises_synchronization/on_premises_synchronization_request_builder.rb index 245555c183..763f182bb2 100644 --- a/lib/directory/on_premises_synchronization/on_premises_synchronization_request_builder.rb +++ b/lib/directory/on_premises_synchronization/on_premises_synchronization_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_objects/directory_objects_request_builder.rb b/lib/directory_objects/directory_objects_request_builder.rb index 2008594503..35b7a68d59 100644 --- a/lib/directory_objects/directory_objects_request_builder.rb +++ b/lib/directory_objects/directory_objects_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_objects/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/directory_objects/get_available_extension_properties/get_available_extension_properties_request_builder.rb index c6cae8def3..e1cca9ae2d 100644 --- a/lib/directory_objects/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/directory_objects/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/get_by_ids/get_by_ids_request_builder.rb b/lib/directory_objects/get_by_ids/get_by_ids_request_builder.rb index 5732118239..172a9c946b 100644 --- a/lib/directory_objects/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/directory_objects/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/item/check_member_groups/check_member_groups_request_builder.rb b/lib/directory_objects/item/check_member_groups/check_member_groups_request_builder.rb index e89c98d464..87470f6036 100644 --- a/lib/directory_objects/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/directory_objects/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/item/check_member_objects/check_member_objects_request_builder.rb b/lib/directory_objects/item/check_member_objects/check_member_objects_request_builder.rb index e935447498..8020c18821 100644 --- a/lib/directory_objects/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/directory_objects/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/item/directory_object_item_request_builder.rb b/lib/directory_objects/item/directory_object_item_request_builder.rb index 7b47ab1bcd..5bb6028d37 100644 --- a/lib/directory_objects/item/directory_object_item_request_builder.rb +++ b/lib/directory_objects/item/directory_object_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_objects/item/get_member_groups/get_member_groups_request_builder.rb b/lib/directory_objects/item/get_member_groups/get_member_groups_request_builder.rb index eda87bd5da..13399f0601 100644 --- a/lib/directory_objects/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/directory_objects/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/item/get_member_objects/get_member_objects_request_builder.rb b/lib/directory_objects/item/get_member_objects/get_member_objects_request_builder.rb index cb98aa7bbe..d12226a01f 100644 --- a/lib/directory_objects/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/directory_objects/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_objects/validate_properties/validate_properties_request_builder.rb b/lib/directory_objects/validate_properties/validate_properties_request_builder.rb index 30ccea4abd..501b80795b 100644 --- a/lib/directory_objects/validate_properties/validate_properties_request_builder.rb +++ b/lib/directory_objects/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/directory_role_templates_request_builder.rb b/lib/directory_role_templates/directory_role_templates_request_builder.rb index 027e525919..96bc73e24b 100644 --- a/lib/directory_role_templates/directory_role_templates_request_builder.rb +++ b/lib/directory_role_templates/directory_role_templates_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_role_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/directory_role_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 01d1c68d57..3db7bbd4eb 100644 --- a/lib/directory_role_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/directory_role_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/get_by_ids/get_by_ids_request_builder.rb b/lib/directory_role_templates/get_by_ids/get_by_ids_request_builder.rb index b1011adb63..23e3e86ff0 100644 --- a/lib/directory_role_templates/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/directory_role_templates/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.rb b/lib/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.rb index c30e9673c9..30a62ded72 100644 --- a/lib/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/directory_role_templates/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.rb b/lib/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.rb index 40440631ff..b42a6a7844 100644 --- a/lib/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/directory_role_templates/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/item/directory_role_template_item_request_builder.rb b/lib/directory_role_templates/item/directory_role_template_item_request_builder.rb index 1c717c141d..42156a4e72 100644 --- a/lib/directory_role_templates/item/directory_role_template_item_request_builder.rb +++ b/lib/directory_role_templates/item/directory_role_template_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.rb b/lib/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.rb index e60eaaec42..9d733a5de3 100644 --- a/lib/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/directory_role_templates/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.rb b/lib/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.rb index 96e3ad2c04..84a138ca04 100644 --- a/lib/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/directory_role_templates/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_role_templates/validate_properties/validate_properties_request_builder.rb b/lib/directory_role_templates/validate_properties/validate_properties_request_builder.rb index 4ef3a98749..a8e309ed19 100644 --- a/lib/directory_role_templates/validate_properties/validate_properties_request_builder.rb +++ b/lib/directory_role_templates/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/directory_roles_request_builder.rb b/lib/directory_roles/directory_roles_request_builder.rb index 9ec08ba2bc..2fb8ffe9c4 100644 --- a/lib/directory_roles/directory_roles_request_builder.rb +++ b/lib/directory_roles/directory_roles_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_roles/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/directory_roles/get_available_extension_properties/get_available_extension_properties_request_builder.rb index b068abcc53..45f93a6e01 100644 --- a/lib/directory_roles/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/directory_roles/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/get_by_ids/get_by_ids_request_builder.rb b/lib/directory_roles/get_by_ids/get_by_ids_request_builder.rb index f6bc404481..0a41a80fba 100644 --- a/lib/directory_roles/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/directory_roles/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/item/check_member_groups/check_member_groups_request_builder.rb b/lib/directory_roles/item/check_member_groups/check_member_groups_request_builder.rb index 8fef775bb8..3e22ca99a1 100644 --- a/lib/directory_roles/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/directory_roles/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/item/check_member_objects/check_member_objects_request_builder.rb b/lib/directory_roles/item/check_member_objects/check_member_objects_request_builder.rb index dec3874765..bf8e2f438c 100644 --- a/lib/directory_roles/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/directory_roles/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/item/directory_role_item_request_builder.rb b/lib/directory_roles/item/directory_role_item_request_builder.rb index 936fc41236..2a8e9cd883 100644 --- a/lib/directory_roles/item/directory_role_item_request_builder.rb +++ b/lib/directory_roles/item/directory_role_item_request_builder.rb @@ -182,7 +182,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_roles/item/get_member_groups/get_member_groups_request_builder.rb b/lib/directory_roles/item/get_member_groups/get_member_groups_request_builder.rb index e34cee1c40..ab4be5cd9c 100644 --- a/lib/directory_roles/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/directory_roles/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/item/get_member_objects/get_member_objects_request_builder.rb b/lib/directory_roles/item/get_member_objects/get_member_objects_request_builder.rb index 569c6257c4..96c1d52cdc 100644 --- a/lib/directory_roles/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/directory_roles/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/directory_roles/item/members/ref/ref_request_builder.rb b/lib/directory_roles/item/members/ref/ref_request_builder.rb index ff403014fe..09e719950a 100644 --- a/lib/directory_roles/item/members/ref/ref_request_builder.rb +++ b/lib/directory_roles/item/members/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.rb b/lib/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.rb index 85d7163bae..aa4c8a5a3b 100644 --- a/lib/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.rb +++ b/lib/directory_roles/item/scoped_members/item/scoped_role_membership_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_roles/item/scoped_members/scoped_members_request_builder.rb b/lib/directory_roles/item/scoped_members/scoped_members_request_builder.rb index 57ad3483f3..5f10b6a682 100644 --- a/lib/directory_roles/item/scoped_members/scoped_members_request_builder.rb +++ b/lib/directory_roles/item/scoped_members/scoped_members_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/directory_roles/validate_properties/validate_properties_request_builder.rb b/lib/directory_roles/validate_properties/validate_properties_request_builder.rb index 364659b474..cb29ac79fe 100644 --- a/lib/directory_roles/validate_properties/validate_properties_request_builder.rb +++ b/lib/directory_roles/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/domain_dns_records/domain_dns_records_request_builder.rb b/lib/domain_dns_records/domain_dns_records_request_builder.rb index fc3577e68f..34d44ce909 100644 --- a/lib/domain_dns_records/domain_dns_records_request_builder.rb +++ b/lib/domain_dns_records/domain_dns_records_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domain_dns_records/item/domain_dns_record_item_request_builder.rb b/lib/domain_dns_records/item/domain_dns_record_item_request_builder.rb index 52d3268a11..b43b681c43 100644 --- a/lib/domain_dns_records/item/domain_dns_record_item_request_builder.rb +++ b/lib/domain_dns_records/item/domain_dns_record_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/domains_request_builder.rb b/lib/domains/domains_request_builder.rb index 2a72cc86a2..25e3c2aaf2 100644 --- a/lib/domains/domains_request_builder.rb +++ b/lib/domains/domains_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/domain_item_request_builder.rb b/lib/domains/item/domain_item_request_builder.rb index 743604ec9a..b02a49cc32 100644 --- a/lib/domains/item/domain_item_request_builder.rb +++ b/lib/domains/item/domain_item_request_builder.rb @@ -195,7 +195,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/domains/item/federation_configuration/federation_configuration_request_builder.rb b/lib/domains/item/federation_configuration/federation_configuration_request_builder.rb index 5902fc7ffc..9862fbca79 100644 --- a/lib/domains/item/federation_configuration/federation_configuration_request_builder.rb +++ b/lib/domains/item/federation_configuration/federation_configuration_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.rb b/lib/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.rb index a61b108839..34ffd5a8a4 100644 --- a/lib/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.rb +++ b/lib/domains/item/federation_configuration/item/internal_domain_federation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/force_delete/force_delete_request_builder.rb b/lib/domains/item/force_delete/force_delete_request_builder.rb index bd809de54f..a38bc29b6e 100644 --- a/lib/domains/item/force_delete/force_delete_request_builder.rb +++ b/lib/domains/item/force_delete/force_delete_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.rb b/lib/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.rb index b5aab85e68..7839da10aa 100644 --- a/lib/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.rb +++ b/lib/domains/item/service_configuration_records/item/domain_dns_record_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/service_configuration_records/service_configuration_records_request_builder.rb b/lib/domains/item/service_configuration_records/service_configuration_records_request_builder.rb index c1185e3c3a..f7e8e29bff 100644 --- a/lib/domains/item/service_configuration_records/service_configuration_records_request_builder.rb +++ b/lib/domains/item/service_configuration_records/service_configuration_records_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.rb b/lib/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.rb index 10899c7893..b599f0221f 100644 --- a/lib/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.rb +++ b/lib/domains/item/verification_dns_records/item/domain_dns_record_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/domains/item/verification_dns_records/verification_dns_records_request_builder.rb b/lib/domains/item/verification_dns_records/verification_dns_records_request_builder.rb index 32b5e5de56..59c3c7a65f 100644 --- a/lib/domains/item/verification_dns_records/verification_dns_records_request_builder.rb +++ b/lib/domains/item/verification_dns_records/verification_dns_records_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/drives_request_builder.rb b/lib/drives/drives_request_builder.rb index e762498476..a5f7e75fa5 100644 --- a/lib/drives/drives_request_builder.rb +++ b/lib/drives/drives_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/bundles/bundles_request_builder.rb b/lib/drives/item/bundles/bundles_request_builder.rb index 64b65d97c1..cde3011fee 100644 --- a/lib/drives/item/bundles/bundles_request_builder.rb +++ b/lib/drives/item/bundles/bundles_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/bundles/item/content/content_request_builder.rb b/lib/drives/item/bundles/item/content/content_request_builder.rb index e6af1c4489..cdd1d4869f 100644 --- a/lib/drives/item/bundles/item/content/content_request_builder.rb +++ b/lib/drives/item/bundles/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../drives' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/drive_item_request_builder.rb b/lib/drives/item/drive_item_request_builder.rb index 35cfe5feec..13f63720d1 100644 --- a/lib/drives/item/drive_item_request_builder.rb +++ b/lib/drives/item/drive_item_request_builder.rb @@ -222,7 +222,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/following/item/content/content_request_builder.rb b/lib/drives/item/following/item/content/content_request_builder.rb index 2e31aa3c0a..f0b54425f3 100644 --- a/lib/drives/item/following/item/content/content_request_builder.rb +++ b/lib/drives/item/following/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../drives' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/items/item/analytics/analytics_request_builder.rb b/lib/drives/item/items/item/analytics/analytics_request_builder.rb index ef9564f93c..aa97968a33 100644 --- a/lib/drives/item/items/item/analytics/analytics_request_builder.rb +++ b/lib/drives/item/items/item/analytics/analytics_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.rb b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.rb index 68d04b6eef..32687caa36 100644 --- a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.rb +++ b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/activities_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.rb b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.rb index c4f55b3bfb..7e92b17657 100644 --- a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.rb +++ b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/drive_item' require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../../../../drives' require_relative '../../../../../../../../../item' @@ -56,7 +57,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -66,7 +67,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -96,11 +97,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.rb b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.rb index 022edec90f..6a7e6d2d2d 100644 --- a/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.rb +++ b/lib/drives/item/items/item/analytics/item_activity_stats/item/activities/item/item_activity_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.rb b/lib/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.rb index 33bca30f65..5f6376e462 100644 --- a/lib/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.rb +++ b/lib/drives/item/items/item/analytics/item_activity_stats/item/item_activity_stat_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.rb b/lib/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.rb index 9b5c2845c2..6389bc0041 100644 --- a/lib/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.rb +++ b/lib/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/checkin/checkin_request_builder.rb b/lib/drives/item/items/item/checkin/checkin_request_builder.rb index 777dceeb0f..c7b3674ec0 100644 --- a/lib/drives/item/items/item/checkin/checkin_request_builder.rb +++ b/lib/drives/item/items/item/checkin/checkin_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/children/children_request_builder.rb b/lib/drives/item/items/item/children/children_request_builder.rb index 46faedd352..d43b92375a 100644 --- a/lib/drives/item/items/item/children/children_request_builder.rb +++ b/lib/drives/item/items/item/children/children_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/children/item/content/content_request_builder.rb b/lib/drives/item/items/item/children/item/content/content_request_builder.rb index f1d27cfad0..fbf426ce76 100644 --- a/lib/drives/item/items/item/children/item/content/content_request_builder.rb +++ b/lib/drives/item/items/item/children/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../drives' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/items/item/content/content_request_builder.rb b/lib/drives/item/items/item/content/content_request_builder.rb index 501aa0d354..b3d9ec8747 100644 --- a/lib/drives/item/items/item/content/content_request_builder.rb +++ b/lib/drives/item/items/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../drives' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/items/item/copy/copy_request_builder.rb b/lib/drives/item/items/item/copy/copy_request_builder.rb index 2250d202de..2bf4d7c089 100644 --- a/lib/drives/item/items/item/copy/copy_request_builder.rb +++ b/lib/drives/item/items/item/copy/copy_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/create_link/create_link_request_builder.rb b/lib/drives/item/items/item/create_link/create_link_request_builder.rb index a6bbc16426..fa73321800 100644 --- a/lib/drives/item/items/item/create_link/create_link_request_builder.rb +++ b/lib/drives/item/items/item/create_link/create_link_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/create_upload_session/create_upload_session_request_builder.rb b/lib/drives/item/items/item/create_upload_session/create_upload_session_request_builder.rb index 16a2f9dcdb..2cbd043a44 100644 --- a/lib/drives/item/items/item/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/drives/item/items/item/create_upload_session/create_upload_session_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/drive_item_item_request_builder.rb b/lib/drives/item/items/item/drive_item_item_request_builder.rb index 6c561bfd67..eedb8b9227 100644 --- a/lib/drives/item/items/item/drive_item_item_request_builder.rb +++ b/lib/drives/item/items/item/drive_item_item_request_builder.rb @@ -335,7 +335,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/drives/item/items/item/invite/invite_request_builder.rb b/lib/drives/item/items/item/invite/invite_request_builder.rb index 578661637e..f04319b4d3 100644 --- a/lib/drives/item/items/item/invite/invite_request_builder.rb +++ b/lib/drives/item/items/item/invite/invite_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/permissions/item/grant/grant_request_builder.rb b/lib/drives/item/items/item/permissions/item/grant/grant_request_builder.rb index e336b15dc2..59781655a1 100644 --- a/lib/drives/item/items/item/permissions/item/grant/grant_request_builder.rb +++ b/lib/drives/item/items/item/permissions/item/grant/grant_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/permissions/item/permission_item_request_builder.rb b/lib/drives/item/items/item/permissions/item/permission_item_request_builder.rb index 703b4f0816..bde3c3f22d 100644 --- a/lib/drives/item/items/item/permissions/item/permission_item_request_builder.rb +++ b/lib/drives/item/items/item/permissions/item/permission_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/permissions/permissions_request_builder.rb b/lib/drives/item/items/item/permissions/permissions_request_builder.rb index d786677148..8aef792b2a 100644 --- a/lib/drives/item/items/item/permissions/permissions_request_builder.rb +++ b/lib/drives/item/items/item/permissions/permissions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/preview/preview_request_builder.rb b/lib/drives/item/items/item/preview/preview_request_builder.rb index 620175e050..1312beac10 100644 --- a/lib/drives/item/items/item/preview/preview_request_builder.rb +++ b/lib/drives/item/items/item/preview/preview_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/restore/restore_request_builder.rb b/lib/drives/item/items/item/restore/restore_request_builder.rb index 67cf5883d5..a6e90d3a3c 100644 --- a/lib/drives/item/items/item/restore/restore_request_builder.rb +++ b/lib/drives/item/items/item/restore/restore_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/subscriptions/item/subscription_item_request_builder.rb b/lib/drives/item/items/item/subscriptions/item/subscription_item_request_builder.rb index 0794d2586e..ee8830e022 100644 --- a/lib/drives/item/items/item/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/drives/item/items/item/subscriptions/item/subscription_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/subscriptions/subscriptions_request_builder.rb b/lib/drives/item/items/item/subscriptions/subscriptions_request_builder.rb index 0ae72333d8..1ad9e04b83 100644 --- a/lib/drives/item/items/item/subscriptions/subscriptions_request_builder.rb +++ b/lib/drives/item/items/item/subscriptions/subscriptions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.rb b/lib/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.rb index 47bc609ea4..cc8592e43c 100644 --- a/lib/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.rb +++ b/lib/drives/item/items/item/thumbnails/item/thumbnail_set_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/thumbnails/thumbnails_request_builder.rb b/lib/drives/item/items/item/thumbnails/thumbnails_request_builder.rb index f2e8b1c784..4a3f6e6c3d 100644 --- a/lib/drives/item/items/item/thumbnails/thumbnails_request_builder.rb +++ b/lib/drives/item/items/item/thumbnails/thumbnails_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/validate_permission/validate_permission_request_builder.rb b/lib/drives/item/items/item/validate_permission/validate_permission_request_builder.rb index 1eba761395..c9a00fcd1d 100644 --- a/lib/drives/item/items/item/validate_permission/validate_permission_request_builder.rb +++ b/lib/drives/item/items/item/validate_permission/validate_permission_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/versions/item/content/content_request_builder.rb b/lib/drives/item/items/item/versions/item/content/content_request_builder.rb index cd0f0c59d8..de5aee6934 100644 --- a/lib/drives/item/items/item/versions/item/content/content_request_builder.rb +++ b/lib/drives/item/items/item/versions/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item_version' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../drives' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream for this version of the item. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item_version ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItemVersion.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream for this version of the item. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/items/item/versions/item/drive_item_version_item_request_builder.rb b/lib/drives/item/items/item/versions/item/drive_item_version_item_request_builder.rb index 7b1e31e4b9..21b2aa473b 100644 --- a/lib/drives/item/items/item/versions/item/drive_item_version_item_request_builder.rb +++ b/lib/drives/item/items/item/versions/item/drive_item_version_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/versions/versions_request_builder.rb b/lib/drives/item/items/item/versions/versions_request_builder.rb index 60358005f2..dbddcfd20b 100644 --- a/lib/drives/item/items/item/versions/versions_request_builder.rb +++ b/lib/drives/item/items/item/versions/versions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/application/application_request_builder.rb b/lib/drives/item/items/item/workbook/application/application_request_builder.rb index d58cbda318..8495640edb 100644 --- a/lib/drives/item/items/item/workbook/application/application_request_builder.rb +++ b/lib/drives/item/items/item/workbook/application/application_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/application/calculate/calculate_request_builder.rb b/lib/drives/item/items/item/workbook/application/calculate/calculate_request_builder.rb index f2695afb12..2bc9c57738 100644 --- a/lib/drives/item/items/item/workbook/application/calculate/calculate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/application/calculate/calculate_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/comments/comments_request_builder.rb b/lib/drives/item/items/item/workbook/comments/comments_request_builder.rb index 8bef6f1503..b34b15bee9 100644 --- a/lib/drives/item/items/item/workbook/comments/comments_request_builder.rb +++ b/lib/drives/item/items/item/workbook/comments/comments_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.rb b/lib/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.rb index d2eb3b951f..9848e68519 100644 --- a/lib/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/comments/item/replies/item/workbook_comment_reply_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.rb b/lib/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.rb index 0fa3193779..0ee22c3dcd 100644 --- a/lib/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.rb +++ b/lib/drives/item/items/item/workbook/comments/item/replies/replies_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.rb b/lib/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.rb index b89fdd0b7e..31b29a4d19 100644 --- a/lib/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/comments/item/workbook_comment_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/create_session/create_session_request_builder.rb b/lib/drives/item/items/item/workbook/create_session/create_session_request_builder.rb index bbac196439..4eace6e988 100644 --- a/lib/drives/item/items/item/workbook/create_session/create_session_request_builder.rb +++ b/lib/drives/item/items/item/workbook/create_session/create_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/abs/abs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/abs/abs_request_builder.rb index cfdd8487c9..665139ba00 100644 --- a/lib/drives/item/items/item/workbook/functions/abs/abs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/abs/abs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.rb b/lib/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.rb index 5f20109c8a..ab797f6879 100644 --- a/lib/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/accr_int/accr_int_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.rb b/lib/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.rb index 0aeca7ee5f..ef717c2a70 100644 --- a/lib/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/accr_int_m/accr_int_m_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/acos/acos_request_builder.rb b/lib/drives/item/items/item/workbook/functions/acos/acos_request_builder.rb index 36323da4d6..69175a5cb8 100644 --- a/lib/drives/item/items/item/workbook/functions/acos/acos_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/acos/acos_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.rb index e8ceb6658d..abf64aa7cf 100644 --- a/lib/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/acosh/acosh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/acot/acot_request_builder.rb b/lib/drives/item/items/item/workbook/functions/acot/acot_request_builder.rb index e5a7dac179..5af68cf78b 100644 --- a/lib/drives/item/items/item/workbook/functions/acot/acot_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/acot/acot_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.rb b/lib/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.rb index cb266b9e0f..606ec1e258 100644 --- a/lib/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/acoth/acoth_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.rb index 699a48d5da..0c6bef8643 100644 --- a/lib/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/amor_degrc/amor_degrc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.rb index dcddf9fae6..b74b5c1131 100644 --- a/lib/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/amor_linc/amor_linc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/and_escaped/and_request_builder.rb b/lib/drives/item/items/item/workbook/functions/and_escaped/and_request_builder.rb index 9a49847a57..74bb88ca16 100644 --- a/lib/drives/item/items/item/workbook/functions/and_escaped/and_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/and_escaped/and_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.rb b/lib/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.rb index 8399743bcd..60bdbe8aef 100644 --- a/lib/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/arabic/arabic_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/areas/areas_request_builder.rb b/lib/drives/item/items/item/workbook/functions/areas/areas_request_builder.rb index 5c81bbcbf8..f1f9fef1e8 100644 --- a/lib/drives/item/items/item/workbook/functions/areas/areas_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/areas/areas_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/asc/asc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/asc/asc_request_builder.rb index 62192c1c0a..e3efaab13b 100644 --- a/lib/drives/item/items/item/workbook/functions/asc/asc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/asc/asc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/asin/asin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/asin/asin_request_builder.rb index 5528ba64fb..5bddca0a37 100644 --- a/lib/drives/item/items/item/workbook/functions/asin/asin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/asin/asin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.rb index 3e62f3454d..391ef12628 100644 --- a/lib/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/asinh/asinh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/atan/atan_request_builder.rb b/lib/drives/item/items/item/workbook/functions/atan/atan_request_builder.rb index 58856bf6cb..1a51b33aee 100644 --- a/lib/drives/item/items/item/workbook/functions/atan/atan_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/atan/atan_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.rb b/lib/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.rb index 4e61c3d051..56214eccc7 100644 --- a/lib/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/atan2/atan2_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.rb index d2e314ebec..6857e4f2f8 100644 --- a/lib/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/atanh/atanh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.rb index 6507fd8a78..7922e8b696 100644 --- a/lib/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ave_dev/ave_dev_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/average/average_request_builder.rb b/lib/drives/item/items/item/workbook/functions/average/average_request_builder.rb index 79bba29e29..4d28bd8c6c 100644 --- a/lib/drives/item/items/item/workbook/functions/average/average_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/average/average_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.rb index 9855f45e34..4fde7f40a4 100644 --- a/lib/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/average_a/average_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.rb b/lib/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.rb index 44f5116663..b00a4826a4 100644 --- a/lib/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/average_if/average_if_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.rb index f5dbd1e40e..95de49c83c 100644 --- a/lib/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/average_ifs/average_ifs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.rb b/lib/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.rb index e64b927f4f..aa7c15fac5 100644 --- a/lib/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/baht_text/baht_text_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/base/base_request_builder_escaped.rb b/lib/drives/item/items/item/workbook/functions/base/base_request_builder_escaped.rb index e1eca6fd9e..83f2210e9a 100644 --- a/lib/drives/item/items/item/workbook/functions/base/base_request_builder_escaped.rb +++ b/lib/drives/item/items/item/workbook/functions/base/base_request_builder_escaped.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.rb index 919104dcda..1502783588 100644 --- a/lib/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bessel_i/bessel_i_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.rb index 2c039734cb..0744fd9152 100644 --- a/lib/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bessel_j/bessel_j_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.rb index ff8ca1d46e..0b9a61b336 100644 --- a/lib/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bessel_k/bessel_k_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.rb index a7a91d9730..beb4b46d20 100644 --- a/lib/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bessel_y/bessel_y_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb index dfd1823a44..579758def7 100644 --- a/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/beta_dist/beta_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb index 363efbee74..ffc61399d0 100644 --- a/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/beta_inv/beta_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.rb index ed8c1a86d5..e31ce5f91d 100644 --- a/lib/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bin2_dec/bin2_dec_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.rb index 3f82661e98..af9c748b90 100644 --- a/lib/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bin2_hex/bin2_hex_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.rb index ff6914bdf5..4aaa42e70a 100644 --- a/lib/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bin2_oct/bin2_oct_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb index 7c1b936deb..f3af833bcf 100644 --- a/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/binom_dist/binom_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb b/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb index b21cb77549..1d50374454 100644 --- a/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/binom_dist_range/binom_dist_range_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb index 0d9846ff1b..e06978c0aa 100644 --- a/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/binom_inv/binom_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.rb index fd1eaf9ede..4a411536e4 100644 --- a/lib/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bitand/bitand_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.rb index 72b57da6d9..458d64f71f 100644 --- a/lib/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bitlshift/bitlshift_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.rb index 7ea655804c..e3348b5687 100644 --- a/lib/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bitor/bitor_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.rb index e124ddde34..afa86a03f5 100644 --- a/lib/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bitrshift/bitrshift_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.rb b/lib/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.rb index d46b19dcb8..55142dddc2 100644 --- a/lib/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/bitxor/bitxor_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb index 515c984a2c..d0d5862988 100644 --- a/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ceiling_math/ceiling_math_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb index db1c0341fd..7710e2b74d 100644 --- a/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ceiling_precise/ceiling_precise_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/char/char_request_builder.rb b/lib/drives/item/items/item/workbook/functions/char/char_request_builder.rb index 92190b1e87..ce0daf00b3 100644 --- a/lib/drives/item/items/item/workbook/functions/char/char_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/char/char_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb index b663958aca..19c8e35b5d 100644 --- a/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/chi_sq_dist/chi_sq_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb index e4ce2bd061..fa030f4fe5 100644 --- a/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/chi_sq_dist_r_t/chi_sq_dist_r_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb index fe662ee442..011f50e1c4 100644 --- a/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/chi_sq_inv/chi_sq_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb index 908cc22f14..2bc4df9956 100644 --- a/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/chi_sq_inv_r_t/chi_sq_inv_r_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/choose/choose_request_builder.rb b/lib/drives/item/items/item/workbook/functions/choose/choose_request_builder.rb index fa96193a5a..a589870006 100644 --- a/lib/drives/item/items/item/workbook/functions/choose/choose_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/choose/choose_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/clean/clean_request_builder.rb b/lib/drives/item/items/item/workbook/functions/clean/clean_request_builder.rb index ce62de1173..5e31fccb4a 100644 --- a/lib/drives/item/items/item/workbook/functions/clean/clean_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/clean/clean_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/code/code_request_builder.rb b/lib/drives/item/items/item/workbook/functions/code/code_request_builder.rb index 80d3c6487e..8e1f495e0c 100644 --- a/lib/drives/item/items/item/workbook/functions/code/code_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/code/code_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/columns/columns_request_builder.rb b/lib/drives/item/items/item/workbook/functions/columns/columns_request_builder.rb index 3505206272..cfd78b02be 100644 --- a/lib/drives/item/items/item/workbook/functions/columns/columns_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/columns/columns_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/combin/combin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/combin/combin_request_builder.rb index 649c5a97b2..ce818622e6 100644 --- a/lib/drives/item/items/item/workbook/functions/combin/combin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/combin/combin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/combina/combina_request_builder.rb b/lib/drives/item/items/item/workbook/functions/combina/combina_request_builder.rb index 7cd9c5060c..596f5deb4a 100644 --- a/lib/drives/item/items/item/workbook/functions/combina/combina_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/combina/combina_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/complex/complex_request_builder.rb b/lib/drives/item/items/item/workbook/functions/complex/complex_request_builder.rb index 5f849390cd..dc735c01c9 100644 --- a/lib/drives/item/items/item/workbook/functions/complex/complex_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/complex/complex_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.rb b/lib/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.rb index de1c7db30b..5f08aa3a08 100644 --- a/lib/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/concatenate/concatenate_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb b/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb index 46482df5aa..cbbaefc1f3 100644 --- a/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/confidence_norm/confidence_norm_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb index f16387b58f..ea631dc3ae 100644 --- a/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/confidence_t/confidence_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/convert/convert_request_builder.rb b/lib/drives/item/items/item/workbook/functions/convert/convert_request_builder.rb index f2fe2b293a..d944bec541 100644 --- a/lib/drives/item/items/item/workbook/functions/convert/convert_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/convert/convert_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/cos/cos_request_builder.rb b/lib/drives/item/items/item/workbook/functions/cos/cos_request_builder.rb index 008a8076bb..3747b32f46 100644 --- a/lib/drives/item/items/item/workbook/functions/cos/cos_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/cos/cos_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.rb index a2b47053da..57ab9a2432 100644 --- a/lib/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/cosh/cosh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/cot/cot_request_builder.rb b/lib/drives/item/items/item/workbook/functions/cot/cot_request_builder.rb index dd62102000..d2c73d71ea 100644 --- a/lib/drives/item/items/item/workbook/functions/cot/cot_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/cot/cot_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coth/coth_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coth/coth_request_builder.rb index 7abea3ebb3..61233d29dd 100644 --- a/lib/drives/item/items/item/workbook/functions/coth/coth_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coth/coth_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/count/count_request_builder.rb b/lib/drives/item/items/item/workbook/functions/count/count_request_builder.rb index 376d40649a..2cf67b65f6 100644 --- a/lib/drives/item/items/item/workbook/functions/count/count_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/count/count_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.rb index 4a7fb95301..30fcfb8ccd 100644 --- a/lib/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/count_a/count_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.rb b/lib/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.rb index 885fd532f1..df72780a8b 100644 --- a/lib/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/count_blank/count_blank_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.rb b/lib/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.rb index 893bbe9e8c..080eb35c51 100644 --- a/lib/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/count_if/count_if_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.rb index 96e3b61fd0..191d7b9d43 100644 --- a/lib/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/count_ifs/count_ifs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.rb index 62d4977c31..4cea559178 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_day_bs/coup_day_bs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.rb index 8b08a381a6..a82649ddbf 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_days/coup_days_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.rb index 35eaa4e362..191e1ed8ce 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_days_nc/coup_days_nc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.rb index 11b31bff4f..45ca0c4a8d 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_ncd/coup_ncd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.rb index dbd142eeee..34b1c62e45 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_num/coup_num_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.rb index 32bbb90654..71f6834739 100644 --- a/lib/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/coup_pcd/coup_pcd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/csc/csc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/csc/csc_request_builder.rb index 44e9c55a6c..47ef7aee89 100644 --- a/lib/drives/item/items/item/workbook/functions/csc/csc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/csc/csc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/csch/csch_request_builder.rb b/lib/drives/item/items/item/workbook/functions/csch/csch_request_builder.rb index 5dca084890..5ab9d8cdbc 100644 --- a/lib/drives/item/items/item/workbook/functions/csch/csch_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/csch/csch_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.rb index e86da2deb5..774d930e79 100644 --- a/lib/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/cum_i_pmt/cum_i_pmt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.rb b/lib/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.rb index 6ecba945c2..cb7f1efebf 100644 --- a/lib/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/cum_princ/cum_princ_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/date/date_request_builder.rb b/lib/drives/item/items/item/workbook/functions/date/date_request_builder.rb index 96868164b0..6505cd5f8a 100644 --- a/lib/drives/item/items/item/workbook/functions/date/date_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/date/date_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.rb b/lib/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.rb index 2bc16d56ae..3a423f3b93 100644 --- a/lib/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/datevalue/datevalue_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.rb b/lib/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.rb index ee4e6b3179..d1f655c1b1 100644 --- a/lib/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/daverage/daverage_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/day/day_request_builder.rb b/lib/drives/item/items/item/workbook/functions/day/day_request_builder.rb index 18e12f2951..938821c16d 100644 --- a/lib/drives/item/items/item/workbook/functions/day/day_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/day/day_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/days/days_request_builder.rb b/lib/drives/item/items/item/workbook/functions/days/days_request_builder.rb index f69765f200..9adbe0c7cc 100644 --- a/lib/drives/item/items/item/workbook/functions/days/days_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/days/days_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/days360/days360_request_builder.rb b/lib/drives/item/items/item/workbook/functions/days360/days360_request_builder.rb index 0b44e3c93a..56db4dc256 100644 --- a/lib/drives/item/items/item/workbook/functions/days360/days360_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/days360/days360_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/db/db_request_builder.rb b/lib/drives/item/items/item/workbook/functions/db/db_request_builder.rb index 4b9a63e160..ca9e1080f7 100644 --- a/lib/drives/item/items/item/workbook/functions/db/db_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/db/db_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.rb index 7952fb9c11..0adbf17242 100644 --- a/lib/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dbcs/dbcs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.rb index 9a36e56b0a..470753fd30 100644 --- a/lib/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dcount/dcount_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.rb index 5379297885..b9514364ea 100644 --- a/lib/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dcount_a/dcount_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.rb index f5ad27f89f..6dd522a4c6 100644 --- a/lib/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ddb/ddb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.rb index cf07c5a3c2..a84cf69c87 100644 --- a/lib/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dec2_bin/dec2_bin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.rb index f6751a80db..6fa4ec0d87 100644 --- a/lib/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dec2_hex/dec2_hex_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.rb index 9032910755..d45001ffa9 100644 --- a/lib/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dec2_oct/dec2_oct_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.rb b/lib/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.rb index 44782d4b94..c61315b640 100644 --- a/lib/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/decimal/decimal_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.rb b/lib/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.rb index c57fe4af51..b47487d3f5 100644 --- a/lib/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/degrees/degrees_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/delta/delta_request_builder.rb b/lib/drives/item/items/item/workbook/functions/delta/delta_request_builder.rb index 268b491947..1de1d86183 100644 --- a/lib/drives/item/items/item/workbook/functions/delta/delta_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/delta/delta_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.rb index c0ce54b384..6c300fe762 100644 --- a/lib/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dev_sq/dev_sq_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dget/dget_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dget/dget_request_builder.rb index 29c21589f7..1861bd7868 100644 --- a/lib/drives/item/items/item/workbook/functions/dget/dget_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dget/dget_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/disc/disc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/disc/disc_request_builder.rb index 3ecae7157a..9c254262b2 100644 --- a/lib/drives/item/items/item/workbook/functions/disc/disc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/disc/disc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.rb index 967b327d3a..957e9d988b 100644 --- a/lib/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dmax/dmax_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.rb index b65635ac91..4db1d66864 100644 --- a/lib/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dmin/dmin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.rb index 049778f3b8..9dfdc0fef0 100644 --- a/lib/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dollar/dollar_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.rb index 1f5d5ba7ae..c5cc6f107d 100644 --- a/lib/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dollar_de/dollar_de_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.rb index fa6f180f87..aad8724a75 100644 --- a/lib/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dollar_fr/dollar_fr_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.rb index 5ce45080b0..004441535a 100644 --- a/lib/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dproduct/dproduct_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.rb index 77c7795962..4d184a1cfc 100644 --- a/lib/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dst_dev/dst_dev_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.rb index 94fcab3807..1ecb5e9e3a 100644 --- a/lib/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dst_dev_p/dst_dev_p_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.rb index 48ba43da17..f058124eca 100644 --- a/lib/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dsum/dsum_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/duration/duration_request_builder.rb b/lib/drives/item/items/item/workbook/functions/duration/duration_request_builder.rb index bde93892b5..fde191e0cc 100644 --- a/lib/drives/item/items/item/workbook/functions/duration/duration_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/duration/duration_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.rb index 62d1b1252f..f589c2da88 100644 --- a/lib/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dvar/dvar_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.rb b/lib/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.rb index a7be545b36..502bc2f6ed 100644 --- a/lib/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/dvar_p/dvar_p_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb index c8199a2879..e2e8b66230 100644 --- a/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ecma_ceiling/ecma_ceiling_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/edate/edate_request_builder.rb b/lib/drives/item/items/item/workbook/functions/edate/edate_request_builder.rb index 6f75c6a5ce..492f21031d 100644 --- a/lib/drives/item/items/item/workbook/functions/edate/edate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/edate/edate_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/effect/effect_request_builder.rb b/lib/drives/item/items/item/workbook/functions/effect/effect_request_builder.rb index a9f763ec0d..4e05f0ccdb 100644 --- a/lib/drives/item/items/item/workbook/functions/effect/effect_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/effect/effect_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.rb b/lib/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.rb index 1de5f6261e..88b77d0129 100644 --- a/lib/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/eo_month/eo_month_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/erf/erf_request_builder.rb b/lib/drives/item/items/item/workbook/functions/erf/erf_request_builder.rb index a5c127b575..635e8b0ab5 100644 --- a/lib/drives/item/items/item/workbook/functions/erf/erf_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/erf/erf_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.rb b/lib/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.rb index 5b7638d02f..7230f9ff7d 100644 --- a/lib/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/erf_c/erf_c_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb b/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb index 863d3baf70..6f7615e9cf 100644 --- a/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/erf_c_precise/erf_c_precise_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb b/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb index caf0901c02..e1ca33b8e0 100644 --- a/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/erf_precise/erf_precise_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb b/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb index 3e5bec5e93..e8b47e1720 100644 --- a/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/error_type/error_type_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/even/even_request_builder.rb b/lib/drives/item/items/item/workbook/functions/even/even_request_builder.rb index 7ee9459259..fd376858bd 100644 --- a/lib/drives/item/items/item/workbook/functions/even/even_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/even/even_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/exact/exact_request_builder.rb b/lib/drives/item/items/item/workbook/functions/exact/exact_request_builder.rb index 6e67b6071a..46f791d49a 100644 --- a/lib/drives/item/items/item/workbook/functions/exact/exact_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/exact/exact_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/exp/exp_request_builder.rb b/lib/drives/item/items/item/workbook/functions/exp/exp_request_builder.rb index 3cf3e1ecff..6a23c566a6 100644 --- a/lib/drives/item/items/item/workbook/functions/exp/exp_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/exp/exp_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb index 913bf641fc..2d9b38ec85 100644 --- a/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/expon_dist/expon_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb index 1b1e182950..4fe72269d1 100644 --- a/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/f_dist/f_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb index 8fd5000e03..27f077880e 100644 --- a/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/f_dist_r_t/f_dist_r_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb index 81af6c52bc..3b3388c34e 100644 --- a/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/f_inv/f_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb index 566f8733d2..2922500aa3 100644 --- a/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/f_inv_r_t/f_inv_r_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fact/fact_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fact/fact_request_builder.rb index 1896fc2eb8..ddae45c765 100644 --- a/lib/drives/item/items/item/workbook/functions/fact/fact_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fact/fact_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.rb index ecc2ac992c..c37efeb534 100644 --- a/lib/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fact_double/fact_double_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/find/find_request_builder.rb b/lib/drives/item/items/item/workbook/functions/find/find_request_builder.rb index 17014c71f8..ba714db181 100644 --- a/lib/drives/item/items/item/workbook/functions/find/find_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/find/find_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.rb b/lib/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.rb index 50d603de19..46c6ef681a 100644 --- a/lib/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/find_b/find_b_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.rb index 3719f95e9a..0359aece77 100644 --- a/lib/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fisher/fisher_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.rb index 999b64e64f..03f4ce795f 100644 --- a/lib/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fisher_inv/fisher_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.rb index e7587dd34c..6ea6c1dec2 100644 --- a/lib/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fixed/fixed_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb b/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb index cf1adc7049..174120bf3f 100644 --- a/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/floor_math/floor_math_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb b/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb index 236f80ea5c..bac105b56c 100644 --- a/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/floor_precise/floor_precise_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb b/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb index cdc100fdce..082f6ba076 100644 --- a/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/functions_request_builder.rb @@ -2320,7 +2320,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/functions/fv/fv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fv/fv_request_builder.rb index b9f3d9b6f7..6d4de5295e 100644 --- a/lib/drives/item/items/item/workbook/functions/fv/fv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fv/fv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.rb b/lib/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.rb index fdbf049609..f4315a6334 100644 --- a/lib/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/fvschedule/fvschedule_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.rb index 0ebce92861..8b89012fcb 100644 --- a/lib/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gamma/gamma_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb index d7eb2f60f7..e34dae597c 100644 --- a/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gamma_dist/gamma_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb index 8cc53da076..f7252c2ee5 100644 --- a/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gamma_inv/gamma_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.rb index 5c2f2e2453..1d78cb80ba 100644 --- a/lib/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gamma_ln/gamma_ln_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb index 52211eae0b..15f2963f98 100644 --- a/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gamma_ln_precise/gamma_ln_precise_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.rb index f5b61d295a..8bf05ac8cf 100644 --- a/lib/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gauss/gauss_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.rb index 1f5b0a55aa..a4c94815d7 100644 --- a/lib/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/gcd/gcd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.rb index a34e9a464e..90d5864ac8 100644 --- a/lib/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ge_step/ge_step_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.rb b/lib/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.rb index ac9729dede..62f3e927c2 100644 --- a/lib/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/geo_mean/geo_mean_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.rb b/lib/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.rb index 852b071cd9..11f83b08f3 100644 --- a/lib/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/har_mean/har_mean_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.rb index e9859916a4..f936fb56ec 100644 --- a/lib/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hex2_bin/hex2_bin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.rb index 78c5a35a52..ec7e39b6de 100644 --- a/lib/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hex2_dec/hex2_dec_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.rb index 49e975bace..9a214ee8dd 100644 --- a/lib/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hex2_oct/hex2_oct_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.rb index 1a1eac4676..7ce06f0030 100644 --- a/lib/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hlookup/hlookup_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hour/hour_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hour/hour_request_builder.rb index 874bc1791e..d1635c9ec1 100644 --- a/lib/drives/item/items/item/workbook/functions/hour/hour_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hour/hour_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb index 9b37535599..1a8bf0569a 100644 --- a/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hyp_geom_dist/hyp_geom_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.rb b/lib/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.rb index a8ba75e128..7d67c67b4b 100644 --- a/lib/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/hyperlink/hyperlink_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/if_escaped/if_request_builder.rb b/lib/drives/item/items/item/workbook/functions/if_escaped/if_request_builder.rb index f039f47b2d..85bf772555 100644 --- a/lib/drives/item/items/item/workbook/functions/if_escaped/if_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/if_escaped/if_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.rb index 80f7657e94..c46f38dd68 100644 --- a/lib/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_abs/im_abs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.rb index 66278fc6d2..b28c6267e1 100644 --- a/lib/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_argument/im_argument_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.rb index 4c3049ee20..9b0e5e0b67 100644 --- a/lib/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_conjugate/im_conjugate_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.rb index 18ec9847a6..d71019ccdd 100644 --- a/lib/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_cos/im_cos_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.rb index e5c596776c..8da30b9364 100644 --- a/lib/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_cosh/im_cosh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.rb index 7ddd415f80..6f021a9151 100644 --- a/lib/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_cot/im_cot_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.rb index 82de1ca02e..35546fc5a1 100644 --- a/lib/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_csc/im_csc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.rb index a606395390..c6dac981dd 100644 --- a/lib/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_csch/im_csch_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.rb index 7f0da50105..d5f509e45f 100644 --- a/lib/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_div/im_div_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.rb index 7b79dd99e2..8349eabc13 100644 --- a/lib/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_exp/im_exp_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.rb index 8b10bbb897..2edfdbf9df 100644 --- a/lib/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_ln/im_ln_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.rb index b85e1f2c30..25e9234f69 100644 --- a/lib/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_log10/im_log10_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.rb index 394433816b..c251792300 100644 --- a/lib/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_log2/im_log2_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.rb index 46b9f543ea..14776a5f5d 100644 --- a/lib/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_power/im_power_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.rb index cb50db363b..2a9bb5c5ae 100644 --- a/lib/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_product/im_product_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.rb index af263bfa0a..6b7b82bb92 100644 --- a/lib/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_real/im_real_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.rb index a3a6f01ee6..8be1198346 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sec/im_sec_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.rb index a1d45284d0..a25300caa4 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sech/im_sech_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.rb index 1635d6de8e..02b8a8fd4a 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sin/im_sin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.rb index 1eeb171c7c..b5e36c32b4 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sinh/im_sinh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.rb index 5a9bdfdcd5..304c2d2c97 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sqrt/im_sqrt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.rb index 244433aa12..f14768940b 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sub/im_sub_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.rb index 5fecd4fc77..f1ebc2378d 100644 --- a/lib/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_sum/im_sum_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.rb b/lib/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.rb index 17dfaca857..2dddd4872d 100644 --- a/lib/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/im_tan/im_tan_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.rb b/lib/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.rb index 03d6b5bebf..2310a2ae3b 100644 --- a/lib/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/imaginary/imaginary_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/int/int_request_builder.rb b/lib/drives/item/items/item/workbook/functions/int/int_request_builder.rb index 348056b02b..723af4b141 100644 --- a/lib/drives/item/items/item/workbook/functions/int/int_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/int/int_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.rb b/lib/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.rb index f49f6f9a18..ef406416d6 100644 --- a/lib/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/int_rate/int_rate_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.rb index dc4a3e399f..6b3c7e0763 100644 --- a/lib/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ipmt/ipmt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/irr/irr_request_builder.rb b/lib/drives/item/items/item/workbook/functions/irr/irr_request_builder.rb index c1f7f40d09..5f343545e9 100644 --- a/lib/drives/item/items/item/workbook/functions/irr/irr_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/irr/irr_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.rb index f387cedff2..9342119000 100644 --- a/lib/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_err/is_err_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.rb index 44cfba2811..af0099e2a9 100644 --- a/lib/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_error/is_error_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.rb index f303721a35..92d2f558b2 100644 --- a/lib/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_even/is_even_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.rb index 26b2ebb6bd..b4d894365f 100644 --- a/lib/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_formula/is_formula_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.rb index b93a5bc4b7..2cfd78e251 100644 --- a/lib/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_logical/is_logical_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.rb index ad43371212..97d4ecd22e 100644 --- a/lib/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_n_a/is_n_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.rb index 13d7134606..47b0a6c0d3 100644 --- a/lib/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_non_text/is_non_text_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.rb index 1f0e3d29e2..38c596b2dd 100644 --- a/lib/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_number/is_number_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.rb index fdbb2d59d6..d5a0027a23 100644 --- a/lib/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_odd/is_odd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.rb b/lib/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.rb index 0996ade18d..1516032200 100644 --- a/lib/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/is_text/is_text_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb b/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb index a5841944c3..cc42145bdf 100644 --- a/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/iso_ceiling/iso_ceiling_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.rb b/lib/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.rb index 6d1097141d..760e379f2c 100644 --- a/lib/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/iso_week_num/iso_week_num_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.rb index 2ef218456b..2539771b75 100644 --- a/lib/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ispmt/ispmt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/isref/isref_request_builder.rb b/lib/drives/item/items/item/workbook/functions/isref/isref_request_builder.rb index f953148eb5..ba1440eb84 100644 --- a/lib/drives/item/items/item/workbook/functions/isref/isref_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/isref/isref_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.rb index f699a1625c..e9f266b3d8 100644 --- a/lib/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/kurt/kurt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/large/large_request_builder.rb b/lib/drives/item/items/item/workbook/functions/large/large_request_builder.rb index 74f461b622..4251de02d5 100644 --- a/lib/drives/item/items/item/workbook/functions/large/large_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/large/large_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.rb b/lib/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.rb index b25d4931e4..252c968158 100644 --- a/lib/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/lcm/lcm_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/left/left_request_builder.rb b/lib/drives/item/items/item/workbook/functions/left/left_request_builder.rb index b70ca5946b..cbd348420b 100644 --- a/lib/drives/item/items/item/workbook/functions/left/left_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/left/left_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.rb index d7dff771a3..2ec0bfc3cc 100644 --- a/lib/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/leftb/leftb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/len/len_request_builder.rb b/lib/drives/item/items/item/workbook/functions/len/len_request_builder.rb index 4dcc0453ea..d46404950c 100644 --- a/lib/drives/item/items/item/workbook/functions/len/len_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/len/len_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.rb index e766a8c6ef..ab831ffb19 100644 --- a/lib/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/lenb/lenb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ln/ln_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ln/ln_request_builder.rb index 8de2b04248..94bbb847c7 100644 --- a/lib/drives/item/items/item/workbook/functions/ln/ln_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ln/ln_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/log/log_request_builder.rb b/lib/drives/item/items/item/workbook/functions/log/log_request_builder.rb index 2cf653f9dc..d27aaca010 100644 --- a/lib/drives/item/items/item/workbook/functions/log/log_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/log/log_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/log10/log10_request_builder.rb b/lib/drives/item/items/item/workbook/functions/log10/log10_request_builder.rb index 81b620335e..b8f3ce2509 100644 --- a/lib/drives/item/items/item/workbook/functions/log10/log10_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/log10/log10_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb index c28295564b..a6f862a530 100644 --- a/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/log_norm_dist/log_norm_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb index 2faa0e1b92..6f8b890da8 100644 --- a/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/log_norm_inv/log_norm_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.rb b/lib/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.rb index dfe4a93da6..3df08aef61 100644 --- a/lib/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/lookup/lookup_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/lower/lower_request_builder.rb b/lib/drives/item/items/item/workbook/functions/lower/lower_request_builder.rb index dbb71c36b9..eb1198df45 100644 --- a/lib/drives/item/items/item/workbook/functions/lower/lower_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/lower/lower_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/match/match_request_builder.rb b/lib/drives/item/items/item/workbook/functions/match/match_request_builder.rb index 44ab75efee..da677c850e 100644 --- a/lib/drives/item/items/item/workbook/functions/match/match_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/match/match_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/max/max_request_builder.rb b/lib/drives/item/items/item/workbook/functions/max/max_request_builder.rb index 8191efce45..71764bc8ff 100644 --- a/lib/drives/item/items/item/workbook/functions/max/max_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/max/max_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.rb index c500e7075c..6b0d8501ab 100644 --- a/lib/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/max_a/max_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.rb b/lib/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.rb index fc025e8cd1..f9dfd6eec8 100644 --- a/lib/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/mduration/mduration_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/median/median_request_builder.rb b/lib/drives/item/items/item/workbook/functions/median/median_request_builder.rb index 29462dfe26..cffcc07e7b 100644 --- a/lib/drives/item/items/item/workbook/functions/median/median_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/median/median_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/mid/mid_request_builder.rb b/lib/drives/item/items/item/workbook/functions/mid/mid_request_builder.rb index 4d8d769c4d..06326dc34f 100644 --- a/lib/drives/item/items/item/workbook/functions/mid/mid_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/mid/mid_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/midb/midb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/midb/midb_request_builder.rb index 561a51b8e7..e32b987ec9 100644 --- a/lib/drives/item/items/item/workbook/functions/midb/midb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/midb/midb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/min/min_request_builder.rb b/lib/drives/item/items/item/workbook/functions/min/min_request_builder.rb index e3f98e3b1b..8c63a5c0aa 100644 --- a/lib/drives/item/items/item/workbook/functions/min/min_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/min/min_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.rb index f48252d235..36f4834121 100644 --- a/lib/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/min_a/min_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/minute/minute_request_builder.rb b/lib/drives/item/items/item/workbook/functions/minute/minute_request_builder.rb index 7902f3fd5a..a222b6fe9f 100644 --- a/lib/drives/item/items/item/workbook/functions/minute/minute_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/minute/minute_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.rb b/lib/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.rb index da9d591e92..39f24a14ae 100644 --- a/lib/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/mirr/mirr_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/mod/mod_request_builder.rb b/lib/drives/item/items/item/workbook/functions/mod/mod_request_builder.rb index 6ebc822ffd..7426e4df9d 100644 --- a/lib/drives/item/items/item/workbook/functions/mod/mod_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/mod/mod_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/month/month_request_builder.rb b/lib/drives/item/items/item/workbook/functions/month/month_request_builder.rb index e112291377..48ea2be2fc 100644 --- a/lib/drives/item/items/item/workbook/functions/month/month_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/month/month_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/mround/mround_request_builder.rb b/lib/drives/item/items/item/workbook/functions/mround/mround_request_builder.rb index 49000a1896..5a4ad5e4ad 100644 --- a/lib/drives/item/items/item/workbook/functions/mround/mround_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/mround/mround_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.rb b/lib/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.rb index b2a38f018c..d32ecf68f0 100644 --- a/lib/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/multi_nomial/multi_nomial_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/n/n_request_builder.rb b/lib/drives/item/items/item/workbook/functions/n/n_request_builder.rb index 8755f3a496..207cd085a1 100644 --- a/lib/drives/item/items/item/workbook/functions/n/n_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/n/n_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb index bc18bf4978..d4739b8246 100644 --- a/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/neg_binom_dist/neg_binom_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.rb b/lib/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.rb index 8ce675f18a..f7be2fadf7 100644 --- a/lib/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/network_days/network_days_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb b/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb index d713d69f2b..c37ba7e3b7 100644 --- a/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/network_days_intl/network_days_intl_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.rb b/lib/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.rb index 2ade48e616..154c13e8b1 100644 --- a/lib/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/nominal/nominal_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb index e2129e5dae..d496f87601 100644 --- a/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/norm_dist/norm_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb index 223d52fa46..d36b8ed7f5 100644 --- a/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/norm_inv/norm_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb index 95a90eb9ae..60e32d7d5b 100644 --- a/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/norm_s_dist/norm_s_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb index 96e88ee0fc..b7792bc299 100644 --- a/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/norm_s_inv/norm_s_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/not_escaped/not_request_builder.rb b/lib/drives/item/items/item/workbook/functions/not_escaped/not_request_builder.rb index 32145b6649..e919e3f231 100644 --- a/lib/drives/item/items/item/workbook/functions/not_escaped/not_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/not_escaped/not_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/nper/nper_request_builder.rb b/lib/drives/item/items/item/workbook/functions/nper/nper_request_builder.rb index d52ac92114..c03ac521eb 100644 --- a/lib/drives/item/items/item/workbook/functions/nper/nper_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/nper/nper_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/npv/npv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/npv/npv_request_builder.rb index 0ba15f7d8a..5c4ddb615e 100644 --- a/lib/drives/item/items/item/workbook/functions/npv/npv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/npv/npv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.rb b/lib/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.rb index 28a2d85872..bc3527318b 100644 --- a/lib/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/number_value/number_value_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.rb index 980bf4826d..fc6f24c17e 100644 --- a/lib/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/oct2_bin/oct2_bin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.rb b/lib/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.rb index 8bb2ad4a26..5106188dca 100644 --- a/lib/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/oct2_dec/oct2_dec_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.rb b/lib/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.rb index f457151f8a..a45b7dfcdb 100644 --- a/lib/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/oct2_hex/oct2_hex_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/odd/odd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/odd/odd_request_builder.rb index 3ddb45c0bf..f47515ae99 100644 --- a/lib/drives/item/items/item/workbook/functions/odd/odd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/odd/odd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.rb b/lib/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.rb index 7df5c0a939..2f248f3589 100644 --- a/lib/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/odd_f_price/odd_f_price_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.rb b/lib/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.rb index 881a3d2383..3a6740f880 100644 --- a/lib/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/odd_f_yield/odd_f_yield_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.rb b/lib/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.rb index 6950df8972..464d727f5a 100644 --- a/lib/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/odd_l_price/odd_l_price_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.rb b/lib/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.rb index ebd1d184cd..115cf9ba72 100644 --- a/lib/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/odd_l_yield/odd_l_yield_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/or_escaped/or_request_builder.rb b/lib/drives/item/items/item/workbook/functions/or_escaped/or_request_builder.rb index c12c0ae3ad..27d55e38eb 100644 --- a/lib/drives/item/items/item/workbook/functions/or_escaped/or_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/or_escaped/or_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.rb b/lib/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.rb index 811ccb1dd2..3f725ca7c7 100644 --- a/lib/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/pduration/pduration_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb index 4b8c78892a..a57dbb1ec4 100644 --- a/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/percent_rank_exc/percent_rank_exc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb index 4700a8591b..cf19b0c657 100644 --- a/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/percent_rank_inc/percent_rank_inc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb index 2e7a8a1f3f..0bf2fe2370 100644 --- a/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/percentile_exc/percentile_exc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb index f2c9224ae5..b757d9ce05 100644 --- a/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/percentile_inc/percentile_inc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/permut/permut_request_builder.rb b/lib/drives/item/items/item/workbook/functions/permut/permut_request_builder.rb index 219a17a1f8..f0c7a9aadc 100644 --- a/lib/drives/item/items/item/workbook/functions/permut/permut_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/permut/permut_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.rb b/lib/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.rb index 3e4a6abf88..e542751e7b 100644 --- a/lib/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/permutationa/permutationa_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/phi/phi_request_builder.rb b/lib/drives/item/items/item/workbook/functions/phi/phi_request_builder.rb index 48c65d04a7..c5616bf3a4 100644 --- a/lib/drives/item/items/item/workbook/functions/phi/phi_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/phi/phi_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.rb index 4ad48bf1dc..0b267b6e32 100644 --- a/lib/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/pmt/pmt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb index 4c91c74e95..073f622d02 100644 --- a/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/poisson_dist/poisson_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/power/power_request_builder.rb b/lib/drives/item/items/item/workbook/functions/power/power_request_builder.rb index 4f44792245..e5139ce497 100644 --- a/lib/drives/item/items/item/workbook/functions/power/power_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/power/power_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.rb index 6dbe39476a..34f5a2fc34 100644 --- a/lib/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/ppmt/ppmt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/price/price_request_builder.rb b/lib/drives/item/items/item/workbook/functions/price/price_request_builder.rb index a798874801..6aa55ad7ea 100644 --- a/lib/drives/item/items/item/workbook/functions/price/price_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/price/price_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.rb index 56a2bd7baf..e42a33edde 100644 --- a/lib/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/price_disc/price_disc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.rb b/lib/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.rb index 45b0c9dab4..ba5dcb8b9b 100644 --- a/lib/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/price_mat/price_mat_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/product/product_request_builder.rb b/lib/drives/item/items/item/workbook/functions/product/product_request_builder.rb index 0c87dc0449..fb924da94b 100644 --- a/lib/drives/item/items/item/workbook/functions/product/product_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/product/product_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/proper/proper_request_builder.rb b/lib/drives/item/items/item/workbook/functions/proper/proper_request_builder.rb index f6a2d2fb7c..6f4ec7d493 100644 --- a/lib/drives/item/items/item/workbook/functions/proper/proper_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/proper/proper_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/pv/pv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/pv/pv_request_builder.rb index 38879f4997..80712e9f21 100644 --- a/lib/drives/item/items/item/workbook/functions/pv/pv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/pv/pv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb index f287bd74e8..f9f2693445 100644 --- a/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/quartile_exc/quartile_exc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb index e03c75b632..239960d70d 100644 --- a/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/quartile_inc/quartile_inc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.rb b/lib/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.rb index 1f2e4d9933..6d5c3c8d21 100644 --- a/lib/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/quotient/quotient_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/radians/radians_request_builder.rb b/lib/drives/item/items/item/workbook/functions/radians/radians_request_builder.rb index b955f35987..91f5f33381 100644 --- a/lib/drives/item/items/item/workbook/functions/radians/radians_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/radians/radians_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.rb index 0f80e8dfe5..c6fa245d38 100644 --- a/lib/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rand_between/rand_between_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb index eafee553d8..db07e9818d 100644 --- a/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rank_avg/rank_avg_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb index 4cc81b6a28..bf24c95211 100644 --- a/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rank_eq/rank_eq_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rate/rate_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rate/rate_request_builder.rb index 132ce19d86..32a787b090 100644 --- a/lib/drives/item/items/item/workbook/functions/rate/rate_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rate/rate_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/received/received_request_builder.rb b/lib/drives/item/items/item/workbook/functions/received/received_request_builder.rb index 00521ab782..bd5a35534d 100644 --- a/lib/drives/item/items/item/workbook/functions/received/received_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/received/received_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/replace/replace_request_builder.rb b/lib/drives/item/items/item/workbook/functions/replace/replace_request_builder.rb index 257f84fdef..f2f10f870e 100644 --- a/lib/drives/item/items/item/workbook/functions/replace/replace_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/replace/replace_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.rb b/lib/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.rb index 8f60a863c4..243eefff97 100644 --- a/lib/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/replace_b/replace_b_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rept/rept_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rept/rept_request_builder.rb index 6e48ca1272..16cf81797c 100644 --- a/lib/drives/item/items/item/workbook/functions/rept/rept_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rept/rept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/right/right_request_builder.rb b/lib/drives/item/items/item/workbook/functions/right/right_request_builder.rb index 7ba3a1af06..c3b638e1f8 100644 --- a/lib/drives/item/items/item/workbook/functions/right/right_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/right/right_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.rb index fdf3eed650..b589cb8344 100644 --- a/lib/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rightb/rightb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/roman/roman_request_builder.rb b/lib/drives/item/items/item/workbook/functions/roman/roman_request_builder.rb index d26314a7ae..0ace60e1db 100644 --- a/lib/drives/item/items/item/workbook/functions/roman/roman_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/roman/roman_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/round/round_request_builder.rb b/lib/drives/item/items/item/workbook/functions/round/round_request_builder.rb index af4324ff2b..61b846fb4f 100644 --- a/lib/drives/item/items/item/workbook/functions/round/round_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/round/round_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.rb b/lib/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.rb index ed2de196f3..47011896ac 100644 --- a/lib/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/round_down/round_down_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.rb b/lib/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.rb index 35303f49f7..4a4c2dce9e 100644 --- a/lib/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/round_up/round_up_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rows/rows_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rows/rows_request_builder.rb index 440aedc66c..753699d11f 100644 --- a/lib/drives/item/items/item/workbook/functions/rows/rows_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rows/rows_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/rri/rri_request_builder.rb b/lib/drives/item/items/item/workbook/functions/rri/rri_request_builder.rb index cd59169908..5779f1bb3a 100644 --- a/lib/drives/item/items/item/workbook/functions/rri/rri_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/rri/rri_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sec/sec_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sec/sec_request_builder.rb index a20c81e2ea..193b1051ea 100644 --- a/lib/drives/item/items/item/workbook/functions/sec/sec_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sec/sec_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sech/sech_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sech/sech_request_builder.rb index c027f89d73..c9966e2bd3 100644 --- a/lib/drives/item/items/item/workbook/functions/sech/sech_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sech/sech_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/second/second_request_builder.rb b/lib/drives/item/items/item/workbook/functions/second/second_request_builder.rb index 3c99e54ad5..4a7e9879c2 100644 --- a/lib/drives/item/items/item/workbook/functions/second/second_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/second/second_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.rb b/lib/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.rb index 90f3868ad2..5f0c0695af 100644 --- a/lib/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/series_sum/series_sum_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.rb index cc0131d189..130a588a36 100644 --- a/lib/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sheet/sheet_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.rb index 9d7b75eb42..d71679d23f 100644 --- a/lib/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sheets/sheets_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sign/sign_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sign/sign_request_builder.rb index f10e83f2ac..43bc36421b 100644 --- a/lib/drives/item/items/item/workbook/functions/sign/sign_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sign/sign_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sin/sin_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sin/sin_request_builder.rb index e0d8632f5b..58d54d2910 100644 --- a/lib/drives/item/items/item/workbook/functions/sin/sin_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sin/sin_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.rb index ba51e08943..58d1c84ff3 100644 --- a/lib/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sinh/sinh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/skew/skew_request_builder.rb b/lib/drives/item/items/item/workbook/functions/skew/skew_request_builder.rb index 654d9d5dd3..abe5d6f8bb 100644 --- a/lib/drives/item/items/item/workbook/functions/skew/skew_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/skew/skew_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb b/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb index 87f8b78cce..04a92ddee3 100644 --- a/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/skew_p/skew_p_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sln/sln_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sln/sln_request_builder.rb index 864a678519..523f2ce91e 100644 --- a/lib/drives/item/items/item/workbook/functions/sln/sln_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sln/sln_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/small/small_request_builder.rb b/lib/drives/item/items/item/workbook/functions/small/small_request_builder.rb index c00a1f0417..60db1a60b4 100644 --- a/lib/drives/item/items/item/workbook/functions/small/small_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/small/small_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.rb index 707947ef4a..ab785454b5 100644 --- a/lib/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sqrt/sqrt_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.rb index f3dd2c6584..3596395013 100644 --- a/lib/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sqrt_pi/sqrt_pi_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.rb index 1ed5a1597e..b07bc89b0e 100644 --- a/lib/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/st_dev_a/st_dev_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb b/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb index 7bcf00b4aa..eb6c4a6c90 100644 --- a/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/st_dev_p/st_dev_p_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.rb index c7104c6e97..984527d7b2 100644 --- a/lib/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/st_dev_p_a/st_dev_p_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb b/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb index cad366c56b..e3945561f7 100644 --- a/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/st_dev_s/st_dev_s_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.rb b/lib/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.rb index 8ef2c295b7..a74232ec30 100644 --- a/lib/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/standardize/standardize_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.rb b/lib/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.rb index ea8c037566..69f3e5adb8 100644 --- a/lib/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/substitute/substitute_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.rb b/lib/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.rb index e99b6c463d..c1b471dee6 100644 --- a/lib/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/subtotal/subtotal_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sum/sum_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sum/sum_request_builder.rb index 4cfc6cb307..acbbe66d3a 100644 --- a/lib/drives/item/items/item/workbook/functions/sum/sum_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sum/sum_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.rb index c52c89e101..4f712d9a45 100644 --- a/lib/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sum_if/sum_if_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.rb index 1b991f37a3..dea6aaab6e 100644 --- a/lib/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sum_ifs/sum_ifs_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.rb b/lib/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.rb index 3cb05887fa..b90eefba6f 100644 --- a/lib/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/sum_sq/sum_sq_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/syd/syd_request_builder.rb b/lib/drives/item/items/item/workbook/functions/syd/syd_request_builder.rb index 486e6bc614..89bd2639f4 100644 --- a/lib/drives/item/items/item/workbook/functions/syd/syd_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/syd/syd_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t/t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t/t_request_builder.rb index d015ff881a..ca2860b88c 100644 --- a/lib/drives/item/items/item/workbook/functions/t/t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t/t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb index d72280d305..8e3643f0b7 100644 --- a/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t_dist/t_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist2_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist2_t_request_builder.rb index d86dfeed22..439f15587b 100644 --- a/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist2_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t_dist_2_t/t_dist2_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb index c0844f14da..fd5c676f2e 100644 --- a/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t_dist_r_t/t_dist_r_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb index 7739e8ed57..bd9c529a29 100644 --- a/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t_inv/t_inv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv2_t_request_builder.rb b/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv2_t_request_builder.rb index b6cc77bc6a..14c277e89f 100644 --- a/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv2_t_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/t_inv_2_t/t_inv2_t_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/tan/tan_request_builder.rb b/lib/drives/item/items/item/workbook/functions/tan/tan_request_builder.rb index 33c5b7b765..429b740208 100644 --- a/lib/drives/item/items/item/workbook/functions/tan/tan_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/tan/tan_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.rb b/lib/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.rb index b27340149f..271d3c2f78 100644 --- a/lib/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/tanh/tanh_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.rb b/lib/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.rb index 01ea87718f..57c1b7b3ca 100644 --- a/lib/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/tbill_eq/tbill_eq_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.rb b/lib/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.rb index 793c4c34e4..b0e82fba61 100644 --- a/lib/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/tbill_price/tbill_price_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.rb b/lib/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.rb index fc3aae6e06..5bb97fb9fe 100644 --- a/lib/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/tbill_yield/tbill_yield_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/text/text_request_builder.rb b/lib/drives/item/items/item/workbook/functions/text/text_request_builder.rb index 2e6bfb423c..2acf473929 100644 --- a/lib/drives/item/items/item/workbook/functions/text/text_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/text/text_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/time/time_request_builder.rb b/lib/drives/item/items/item/workbook/functions/time/time_request_builder.rb index 3db1cfcee4..0c10d9d4ab 100644 --- a/lib/drives/item/items/item/workbook/functions/time/time_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/time/time_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.rb b/lib/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.rb index bb1ace5246..b73df25791 100644 --- a/lib/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/timevalue/timevalue_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/trim/trim_request_builder.rb b/lib/drives/item/items/item/workbook/functions/trim/trim_request_builder.rb index 211183ed5f..8afbce8a5f 100644 --- a/lib/drives/item/items/item/workbook/functions/trim/trim_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/trim/trim_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.rb b/lib/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.rb index 110678166a..5277590ea9 100644 --- a/lib/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/trim_mean/trim_mean_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.rb index 27c4a2afcd..09c1e9da60 100644 --- a/lib/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/trunc/trunc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/type/type_request_builder.rb b/lib/drives/item/items/item/workbook/functions/type/type_request_builder.rb index 00499a1ace..fc7b610bef 100644 --- a/lib/drives/item/items/item/workbook/functions/type/type_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/type/type_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.rb b/lib/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.rb index 2a5a3402d1..c25a06f4b4 100644 --- a/lib/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/unichar/unichar_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.rb b/lib/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.rb index 54387a2858..3ad77ee5ce 100644 --- a/lib/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/unicode/unicode_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/upper/upper_request_builder.rb b/lib/drives/item/items/item/workbook/functions/upper/upper_request_builder.rb index 4b46ee364b..a7cab0e992 100644 --- a/lib/drives/item/items/item/workbook/functions/upper/upper_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/upper/upper_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.rb b/lib/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.rb index 1614abdbd1..b25f712006 100644 --- a/lib/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/usdollar/usdollar_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/value/value_request_builder.rb b/lib/drives/item/items/item/workbook/functions/value/value_request_builder.rb index 9f4f5bf6a1..c2a252e3cc 100644 --- a/lib/drives/item/items/item/workbook/functions/value/value_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/value/value_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.rb index 9537c6abac..773fbc4dd7 100644 --- a/lib/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/var_a/var_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb b/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb index fdd3e68161..dc257d5ad9 100644 --- a/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/var_p/var_p_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.rb b/lib/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.rb index 86952889cd..76ee0be65e 100644 --- a/lib/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/var_p_a/var_p_a_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb b/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb index d88ec60547..28b95be3b7 100644 --- a/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/var_s/var_s_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.rb b/lib/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.rb index 46a0218d16..697c117cc6 100644 --- a/lib/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/vdb/vdb_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.rb b/lib/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.rb index 7ed123edb5..07d36bbaff 100644 --- a/lib/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/vlookup/vlookup_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.rb b/lib/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.rb index 1c9c0c8c19..0dbcd9d4cf 100644 --- a/lib/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/week_num/week_num_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.rb b/lib/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.rb index 0d2565c0bf..a201483909 100644 --- a/lib/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/weekday/weekday_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb b/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb index 5ef965dc18..f5b4cde6a7 100644 --- a/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/weibull_dist/weibull_dist_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.rb b/lib/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.rb index 7413131f32..2ac7ecc242 100644 --- a/lib/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/work_day/work_day_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb b/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb index f53f0a85f6..6a6b5de594 100644 --- a/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/work_day_intl/work_day_intl_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.rb b/lib/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.rb index f5af73d99c..3eda21bae4 100644 --- a/lib/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/xirr/xirr_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.rb b/lib/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.rb index 5655c7ca8b..db9adefa9f 100644 --- a/lib/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/xnpv/xnpv_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/xor/xor_request_builder.rb b/lib/drives/item/items/item/workbook/functions/xor/xor_request_builder.rb index e447a39ad7..c5177b54c4 100644 --- a/lib/drives/item/items/item/workbook/functions/xor/xor_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/xor/xor_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/year/year_request_builder.rb b/lib/drives/item/items/item/workbook/functions/year/year_request_builder.rb index c08ad3d63b..ef8592351e 100644 --- a/lib/drives/item/items/item/workbook/functions/year/year_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/year/year_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.rb b/lib/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.rb index f43bdc5c24..68705dc3da 100644 --- a/lib/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/year_frac/year_frac_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/yield/yield_request_builder.rb b/lib/drives/item/items/item/workbook/functions/yield/yield_request_builder.rb index 458fa350e1..4cb9055225 100644 --- a/lib/drives/item/items/item/workbook/functions/yield/yield_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/yield/yield_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.rb b/lib/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.rb index 021d4539ba..ff43acce35 100644 --- a/lib/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/yield_disc/yield_disc_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.rb b/lib/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.rb index e85170200b..c82ee463dc 100644 --- a/lib/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/yield_mat/yield_mat_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb b/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb index 3b54e47661..b7babc8ee7 100644 --- a/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb +++ b/lib/drives/item/items/item/workbook/functions/z_test/z_test_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/names/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/names/add/add_request_builder.rb index da4e83b195..5c45c6aa5b 100644 --- a/lib/drives/item/items/item/workbook/names/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/names/add/add_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.rb b/lib/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.rb index a3ab6bdd16..08e2088f2f 100644 --- a/lib/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.rb +++ b/lib/drives/item/items/item/workbook/names/add_formula_local/add_formula_local_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.rb b/lib/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.rb index a7dbf09310..b19bd78272 100644 --- a/lib/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/names/item/workbook_named_item_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/names/names_request_builder.rb b/lib/drives/item/items/item/workbook/names/names_request_builder.rb index 19c932c052..9b136e5f63 100644 --- a/lib/drives/item/items/item/workbook/names/names_request_builder.rb +++ b/lib/drives/item/items/item/workbook/names/names_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.rb b/lib/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.rb index 3d779227d5..7d2f37df04 100644 --- a/lib/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/operations/item/workbook_operation_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/operations/operations_request_builder.rb b/lib/drives/item/items/item/workbook/operations/operations_request_builder.rb index 86edca8e83..0dff9bce03 100644 --- a/lib/drives/item/items/item/workbook/operations/operations_request_builder.rb +++ b/lib/drives/item/items/item/workbook/operations/operations_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/tables/add/add_request_builder.rb index cef4423b52..7dc4be477f 100644 --- a/lib/drives/item/items/item/workbook/tables/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/add/add_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.rb index cbf0a765a6..d606009900 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/add/add_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.rb index 1201901097..126a9c5a73 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/columns_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.rb index 8031d420fc..07f125daaa 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply/apply_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb index 25905aa2f4..434db89b85 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb index 3e09673eb9..b9a4a1470e 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb index 15491adf3e..93d131e73e 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb index e15a849f93..f3aeaeecd8 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb index 80b647e2a2..e04ec490ac 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb index dbdbf2380b..a81467fa5f 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb index 980a1c1f1c..a4f59a4cc7 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb index 7e506adb07..ff71713dda 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb index 7e2e4ffaa5..9f3ef13400 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb index 1e6d88496a..d882eb10af 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.rb index 7b93294060..4843324d9c 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/filter/filter_request_builder.rb @@ -204,7 +204,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.rb index 22fd626a82..e7bd0ffb0f 100644 --- a/lib/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/columns/item/workbook_table_column_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.rb index 90ce521046..db2c27274f 100644 --- a/lib/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/rows/add/add_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.rb index 2bfca69f3d..fe5a03ec15 100644 --- a/lib/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/rows/item/workbook_table_row_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.rb index 8a355b67c5..dc998f18ff 100644 --- a/lib/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/rows/rows_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.rb index f21e88fd43..1b6bd3aa85 100644 --- a/lib/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/sort/apply/apply_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.rb index 22f665b111..b0d9e104b8 100644 --- a/lib/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/sort/sort_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.rb b/lib/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.rb index dcdfdfae78..2d200f45eb 100644 --- a/lib/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/item/workbook_table_item_request_builder.rb @@ -216,7 +216,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/tables/tables_request_builder.rb b/lib/drives/item/items/item/workbook/tables/tables_request_builder.rb index ff21db1237..cc9ddf30fa 100644 --- a/lib/drives/item/items/item/workbook/tables/tables_request_builder.rb +++ b/lib/drives/item/items/item/workbook/tables/tables_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/workbook_request_builder.rb b/lib/drives/item/items/item/workbook/workbook_request_builder.rb index 16d03ebbeb..a8884d258e 100644 --- a/lib/drives/item/items/item/workbook/workbook_request_builder.rb +++ b/lib/drives/item/items/item/workbook/workbook_request_builder.rb @@ -251,7 +251,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/drives/item/items/item/workbook/worksheets/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/add/add_request_builder.rb index b0f3fc2004..4701c2ff6f 100644 --- a/lib/drives/item/items/item/workbook/worksheets/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/add/add_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.rb index 46ec15be1e..5979f40b3e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/add/add_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.rb index 6b5262f600..7bfed0db49 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/charts_request_builder.rb @@ -131,7 +131,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.rb index 267ee1b4cc..dea6694787 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/axes_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.rb index 3a2ac31b9b..8db2926040 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/category_axis_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.rb index b9bdbe8de8..a5823ca272 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/font/font_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.rb index 594b451023..48fd1f904b 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/format_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.rb index 48b4cef0a8..53c1f72331 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/format/line/line_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.rb index d973d7676b..b3cbc43954 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.rb index 87f415ccad..b83762d845 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.rb index 529b4695e5..452c33983d 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/major_gridlines/major_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.rb index fc970760d4..166942c92b 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.rb index be851a1821..d5ca7d6217 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.rb index af07dc49a4..544ed79699 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/minor_gridlines/minor_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.rb index 2e1a565085..565869786d 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/font/font_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.rb index 90cb6be9e2..191271b305 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.rb index 6c9dd187bb..430cc248e5 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/category_axis/title/title_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.rb index ce88bed261..35fd6d106b 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/font/font_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.rb index 939a81b856..8d2e92eb60 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/format_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.rb index b236435478..ebd9cb6c3c 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/format/line/line_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.rb index 6851258f3b..79e8645725 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.rb index 66f3a76a0b..746a9bca63 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.rb index e769735884..6a780d61fe 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/major_gridlines/major_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.rb index 637c1f8290..e236f5cf21 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.rb index 946a90f81f..cd02e48a35 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.rb index 7f1a8a2032..ddd061baba 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/minor_gridlines/minor_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.rb index 056ccd9b71..be0e584140 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/series_axis_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.rb index 179e729401..dcdc335b77 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/font/font_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.rb index 71262a335b..f0d45c1297 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.rb index 602f454ab2..2c09f8678d 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/series_axis/title/title_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.rb index 3460805f68..356df14cbe 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/font/font_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.rb index b9f1bd346b..2f5b5d442b 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/format_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.rb index 826a2b80dc..f6f4aa6844 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/format/line/line_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.rb index 255ef022d7..0c11096714 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.rb index 787a3b5072..112354759f 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.rb index 511a7a41d5..66a163719f 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/major_gridlines/major_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.rb index b33c60b175..40db6db2b6 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.rb index 98ee325010..ad00dc768a 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/format/line/line_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.rb index d43ed68ffc..d7034e1e09 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/minor_gridlines/minor_gridlines_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.rb index 9f63668b44..f435a8a3de 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/font/font_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.rb index 0294d8328a..ca5f5e51de 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.rb index b4b9fe746d..3d0b868e1e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/title/title_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.rb index e92cc9873c..12a5189dff 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/axes/value_axis/value_axis_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.rb index 9bf45ce99d..2b28b1f48e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/data_labels_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.rb index a72a2fbb2d..adeb27511a 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/fill_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.rb index dd162d9bea..85a9c60295 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.rb index 98f107f2cc..2fdcac9fa4 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/font/font_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.rb index c1b8b3efc3..233ee26a96 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/data_labels/format/format_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.rb index 5ff4646ea7..d48d78ccb4 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/fill_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.rb index c0b9d2afe5..417bc7f59b 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.rb index 74b0c49714..afd876ae46 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/font/font_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.rb index 5b296bc1b1..801c3c2c67 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/format/format_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.rb index 1d53b416df..5edd9d446c 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/fill_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.rb index 92227cce34..164a802c3c 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.rb index 4b8f5e3cf8..ebe6758748 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/font/font_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.rb index 0313ba081d..61dbcfaa15 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/format/format_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.rb index 910d664732..52206c5270 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/legend/legend_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.rb index 1665261581..63be7713cf 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/fill_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.rb index b10ddb3987..0f47679c4d 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -76,7 +76,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.rb index 4bb6ae03aa..52937382d0 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/format_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.rb index 547eaedf74..0cf5cff559 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/format/line/line_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.rb index 235dded08e..3e679587a7 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/fill_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.rb index 29d6abef4c..61d68725b6 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -80,7 +80,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.rb index c08c4b11f1..a870c773c8 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/format/format_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.rb index 91c0f4deda..7383218e16 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/item/workbook_chart_point_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb index dcda0615d5..a2b61558c9 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/points/points_request_builder.rb @@ -50,7 +50,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/drives/{drive%2Did}/items/{driveItem%2Did}/workbook/worksheets/{workbookWorksheet%2Did}/charts/{workbookChart%2Did}/series/{workbookChartSeries%2Did}/points{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Retrieve a list of chartpoints objects. + ## Retrieve a list of chartpoint objects. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of workbook_chart_point_collection_response ## @@ -89,7 +89,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::WorkbookChartPoint.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Retrieve a list of chartpoints objects. + ## Retrieve a list of chartpoint objects. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -123,12 +123,12 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## - # Retrieve a list of chartpoints objects. + # Retrieve a list of chartpoint objects. class PointsRequestBuilderGetQueryParameters ## diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.rb index bb51fc0adc..7aaaed29f9 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/item/workbook_chart_series_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.rb index 51f0ba8667..74c8bcb329 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/series/series_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.rb index 781f97149f..c9bc0e4afe 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_data/set_data_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.rb index d6c0a3da34..6938a46197 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/set_position/set_position_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.rb index 953c0109ed..0a50077f8f 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/fill_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.rb index 2cbb3e7390..dc42596bf7 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/fill/set_solid_color/set_solid_color_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.rb index 5da835d080..144736f4e5 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/font/font_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.rb index ab664d290f..1929109dac 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/format/format_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.rb index 14476584bf..6ec94cc816 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/title/title_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.rb index 2b81ff85c6..f262ff7464 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/charts/item/workbook_chart_item_request_builder.rb @@ -238,7 +238,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.rb index e26832441e..786eaa1cd0 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/names/add/add_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.rb index e8d99955ef..7dbe671ac7 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/names/add_formula_local/add_formula_local_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.rb index a827a7c9cc..e54dd51d1e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/names/item/workbook_named_item_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.rb index f337054dd3..b933e19234 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/names/names_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.rb index 090f646318..fa7f935709 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/item/workbook_pivot_table_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.rb index 98c8954f93..785b9939c7 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/pivot_tables/pivot_tables_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.rb index b8a521eece..e79a3898d1 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/protection/protect/protect_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.rb index e003a17b07..b2acedbd69 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/protection/protection_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.rb index 592be81aa0..244e110ffc 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/add/add_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.rb index dfe7dadc69..3fc6464296 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/add/add_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.rb index 7b97af9a0e..ebb97f2d30 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/columns_request_builder.rb @@ -125,7 +125,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.rb index 4de77bce39..12e50bb8ca 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply/apply_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb index 89e194bb53..9d130aa8d5 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_items_filter/apply_bottom_items_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb index 6b7c847d82..2a193ea77e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_bottom_percent_filter/apply_bottom_percent_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb index aec39619b7..0cb3f72fdd 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_cell_color_filter/apply_cell_color_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb index 389b9d70c5..dea1751524 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_custom_filter/apply_custom_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb index 744fd7204e..01ada20cfe 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_dynamic_filter/apply_dynamic_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb index c3e6e42b3a..8acd16da7e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_font_color_filter/apply_font_color_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb index b4e8e1b66f..8488f65ee8 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_icon_filter/apply_icon_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb index f316ca3f8f..96b50c4d36 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_items_filter/apply_top_items_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb index 8a1062d48f..c8f588ed51 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_top_percent_filter/apply_top_percent_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb index 14ed065d49..17f1ad1bfb 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/apply_values_filter/apply_values_filter_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.rb index 3d3312686d..d3e8b9af78 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/filter/filter_request_builder.rb @@ -208,7 +208,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.rb index c06b8a853b..76dbf194ef 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/columns/item/workbook_table_column_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.rb index ab0f73cdcc..a57d79c7b1 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/add/add_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.rb index 691c806e67..2705eb69c7 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/item/workbook_table_row_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.rb index 022e0280c9..e651d56781 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/rows/rows_request_builder.rb @@ -125,7 +125,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.rb index 990c8e06d8..745883d418 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/apply/apply_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.rb index 63f3c9add4..f543dc0b8a 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/sort/sort_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.rb index 9df6ee0846..67611b6c4e 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/item/workbook_table_item_request_builder.rb @@ -220,7 +220,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.rb index 8b6c79b34a..ee2fb3ca4d 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/tables/tables_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.rb index 941af7510a..eee7d90247 100644 --- a/lib/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/item/workbook_worksheet_item_request_builder.rb @@ -239,7 +239,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/drives/item/items/item/workbook/worksheets/worksheets_request_builder.rb b/lib/drives/item/items/item/workbook/worksheets/worksheets_request_builder.rb index 7d5f9830eb..f8ed2a4522 100644 --- a/lib/drives/item/items/item/workbook/worksheets/worksheets_request_builder.rb +++ b/lib/drives/item/items/item/workbook/worksheets/worksheets_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/items/items_request_builder.rb b/lib/drives/item/items/items_request_builder.rb index 59fb662da3..59f34c07b2 100644 --- a/lib/drives/item/items/items_request_builder.rb +++ b/lib/drives/item/items/items_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/columns/columns_request_builder.rb b/lib/drives/item/list/columns/columns_request_builder.rb index 05426d3441..73990af3d8 100644 --- a/lib/drives/item/list/columns/columns_request_builder.rb +++ b/lib/drives/item/list/columns/columns_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/columns/item/column_definition_item_request_builder.rb b/lib/drives/item/list/columns/item/column_definition_item_request_builder.rb index 4321b19e61..3e060f2526 100644 --- a/lib/drives/item/list/columns/item/column_definition_item_request_builder.rb +++ b/lib/drives/item/list/columns/item/column_definition_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/add_copy/add_copy_request_builder.rb b/lib/drives/item/list/content_types/add_copy/add_copy_request_builder.rb index e89325aae9..e340f1013a 100644 --- a/lib/drives/item/list/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/drives/item/list/content_types/add_copy/add_copy_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/drives/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index bac89b6acc..b254cbe462 100644 --- a/lib/drives/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/drives/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/list/content_types/content_types_request_builder.rb b/lib/drives/item/list/content_types/content_types_request_builder.rb index 05793b6288..d4cb6e1867 100644 --- a/lib/drives/item/list/content_types/content_types_request_builder.rb +++ b/lib/drives/item/list/content_types/content_types_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/drives/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index 411e92b4bb..80f5f1237d 100644 --- a/lib/drives/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/drives/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/list/content_types/item/column_links/column_links_request_builder.rb b/lib/drives/item/list/content_types/item/column_links/column_links_request_builder.rb index 39baaafcfc..f3d93478cf 100644 --- a/lib/drives/item/list/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/drives/item/list/content_types/item/column_links/column_links_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/drives/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb index 9332976705..9eaaab2dd9 100644 --- a/lib/drives/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/drives/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/columns/columns_request_builder.rb b/lib/drives/item/list/content_types/item/columns/columns_request_builder.rb index 430c636287..a8b402df20 100644 --- a/lib/drives/item/list/content_types/item/columns/columns_request_builder.rb +++ b/lib/drives/item/list/content_types/item/columns/columns_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/drives/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb index a0506fd084..964f1d7b32 100644 --- a/lib/drives/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/drives/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/content_type_item_request_builder.rb b/lib/drives/item/list/content_types/item/content_type_item_request_builder.rb index 81d3337f9c..373c8a9867 100644 --- a/lib/drives/item/list/content_types/item/content_type_item_request_builder.rb +++ b/lib/drives/item/list/content_types/item/content_type_item_request_builder.rb @@ -230,7 +230,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/drives/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index cb24401f3c..20559ae009 100644 --- a/lib/drives/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/drives/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/drives/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb b/lib/drives/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb index c67743e452..1852f48098 100644 --- a/lib/drives/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb +++ b/lib/drives/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb b/lib/drives/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb index 468a416169..b4ce4d8930 100644 --- a/lib/drives/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb +++ b/lib/drives/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/item/drive_item/content/content_request_builder.rb b/lib/drives/item/list/items/item/drive_item/content/content_request_builder.rb index 28bb6d2d6d..378ebe8db3 100644 --- a/lib/drives/item/list/items/item/drive_item/content/content_request_builder.rb +++ b/lib/drives/item/list/items/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../drives' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/list/items/item/fields/fields_request_builder.rb b/lib/drives/item/list/items/item/fields/fields_request_builder.rb index e19fe762e8..33326eb19c 100644 --- a/lib/drives/item/list/items/item/fields/fields_request_builder.rb +++ b/lib/drives/item/list/items/item/fields/fields_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/item/list_item_item_request_builder.rb b/lib/drives/item/list/items/item/list_item_item_request_builder.rb index e3a5059d5c..49a73571eb 100644 --- a/lib/drives/item/list/items/item/list_item_item_request_builder.rb +++ b/lib/drives/item/list/items/item/list_item_item_request_builder.rb @@ -185,7 +185,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/drives/item/list/items/item/versions/item/fields/fields_request_builder.rb b/lib/drives/item/list/items/item/versions/item/fields/fields_request_builder.rb index 704e4ea363..efae6689ba 100644 --- a/lib/drives/item/list/items/item/versions/item/fields/fields_request_builder.rb +++ b/lib/drives/item/list/items/item/versions/item/fields/fields_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/item/versions/item/list_item_version_item_request_builder.rb b/lib/drives/item/list/items/item/versions/item/list_item_version_item_request_builder.rb index a52eb97e6b..0f7b03517f 100644 --- a/lib/drives/item/list/items/item/versions/item/list_item_version_item_request_builder.rb +++ b/lib/drives/item/list/items/item/versions/item/list_item_version_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/item/versions/versions_request_builder.rb b/lib/drives/item/list/items/item/versions/versions_request_builder.rb index 4474967240..1aec483a09 100644 --- a/lib/drives/item/list/items/item/versions/versions_request_builder.rb +++ b/lib/drives/item/list/items/item/versions/versions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/items/items_request_builder.rb b/lib/drives/item/list/items/items_request_builder.rb index b85bb28414..dae2acac02 100644 --- a/lib/drives/item/list/items/items_request_builder.rb +++ b/lib/drives/item/list/items/items_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/list_request_builder.rb b/lib/drives/item/list/list_request_builder.rb index 9eeb57725a..801640b762 100644 --- a/lib/drives/item/list/list_request_builder.rb +++ b/lib/drives/item/list/list_request_builder.rb @@ -214,7 +214,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/drives/item/list/operations/item/rich_long_running_operation_item_request_builder.rb index 08d0f7f17d..b557beb8d3 100644 --- a/lib/drives/item/list/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/drives/item/list/operations/item/rich_long_running_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/operations/operations_request_builder.rb b/lib/drives/item/list/operations/operations_request_builder.rb index 4aff42e708..ef0bb0d547 100644 --- a/lib/drives/item/list/operations/operations_request_builder.rb +++ b/lib/drives/item/list/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/subscriptions/item/subscription_item_request_builder.rb b/lib/drives/item/list/subscriptions/item/subscription_item_request_builder.rb index 9ce8f6e924..e308b13278 100644 --- a/lib/drives/item/list/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/drives/item/list/subscriptions/item/subscription_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/list/subscriptions/subscriptions_request_builder.rb b/lib/drives/item/list/subscriptions/subscriptions_request_builder.rb index db665abbd5..248b2b3a50 100644 --- a/lib/drives/item/list/subscriptions/subscriptions_request_builder.rb +++ b/lib/drives/item/list/subscriptions/subscriptions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/drives/item/root/content/content_request_builder.rb b/lib/drives/item/root/content/content_request_builder.rb index 129d58ffe9..6dd12dd6ce 100644 --- a/lib/drives/item/root/content/content_request_builder.rb +++ b/lib/drives/item/root/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../microsoft_graph' +require_relative '../../../../models/drive_item' require_relative '../../../../models/o_data_errors/o_data_error' require_relative '../../../drives' require_relative '../../item' @@ -42,7 +43,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +53,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -82,11 +83,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/drives/item/special/item/content/content_request_builder.rb b/lib/drives/item/special/item/content/content_request_builder.rb index decdb6a2de..9be089c66f 100644 --- a/lib/drives/item/special/item/content/content_request_builder.rb +++ b/lib/drives/item/special/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../drives' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/education/classes/classes_request_builder.rb b/lib/education/classes/classes_request_builder.rb index 5ae8e61c2c..073157a75d 100644 --- a/lib/education/classes/classes_request_builder.rb +++ b/lib/education/classes/classes_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignment_categories/assignment_categories_request_builder.rb b/lib/education/classes/item/assignment_categories/assignment_categories_request_builder.rb index 2414a6e21b..c61d2edf8f 100644 --- a/lib/education/classes/item/assignment_categories/assignment_categories_request_builder.rb +++ b/lib/education/classes/item/assignment_categories/assignment_categories_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignment_categories/item/education_category_item_request_builder.rb b/lib/education/classes/item/assignment_categories/item/education_category_item_request_builder.rb index e4050f7e4e..7f2c6db9ef 100644 --- a/lib/education/classes/item/assignment_categories/item/education_category_item_request_builder.rb +++ b/lib/education/classes/item/assignment_categories/item/education_category_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignment_defaults/assignment_defaults_request_builder.rb b/lib/education/classes/item/assignment_defaults/assignment_defaults_request_builder.rb index 9ae2bd1562..2e36577f38 100644 --- a/lib/education/classes/item/assignment_defaults/assignment_defaults_request_builder.rb +++ b/lib/education/classes/item/assignment_defaults/assignment_defaults_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignment_settings/assignment_settings_request_builder.rb b/lib/education/classes/item/assignment_settings/assignment_settings_request_builder.rb index e2d53cc582..7af5abb2ba 100644 --- a/lib/education/classes/item/assignment_settings/assignment_settings_request_builder.rb +++ b/lib/education/classes/item/assignment_settings/assignment_settings_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/assignments_request_builder.rb b/lib/education/classes/item/assignments/assignments_request_builder.rb index 4de75f8ab3..390b3cc516 100644 --- a/lib/education/classes/item/assignments/assignments_request_builder.rb +++ b/lib/education/classes/item/assignments/assignments_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/categories/categories_request_builder.rb b/lib/education/classes/item/assignments/item/categories/categories_request_builder.rb index c9b69d0021..8945bc5133 100644 --- a/lib/education/classes/item/assignments/item/categories/categories_request_builder.rb +++ b/lib/education/classes/item/assignments/item/categories/categories_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/categories/ref/ref_request_builder.rb b/lib/education/classes/item/assignments/item/categories/ref/ref_request_builder.rb index de163b32ae..b483f4cc2f 100644 --- a/lib/education/classes/item/assignments/item/categories/ref/ref_request_builder.rb +++ b/lib/education/classes/item/assignments/item/categories/ref/ref_request_builder.rb @@ -96,7 +96,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/education_assignment_item_request_builder.rb b/lib/education/classes/item/assignments/item/education_assignment_item_request_builder.rb index a241b10efe..fdd96046a1 100644 --- a/lib/education/classes/item/assignments/item/education_assignment_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/education_assignment_item_request_builder.rb @@ -200,7 +200,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb b/lib/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb index 49ecff6072..c31626c8d0 100644 --- a/lib/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/resources/resources_request_builder.rb b/lib/education/classes/item/assignments/item/resources/resources_request_builder.rb index 13e5292f19..78ae3f6d34 100644 --- a/lib/education/classes/item/assignments/item/resources/resources_request_builder.rb +++ b/lib/education/classes/item/assignments/item/resources/resources_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/rubric/ref/ref_request_builder.rb b/lib/education/classes/item/assignments/item/rubric/ref/ref_request_builder.rb index c0f93b6ca6..90c886ee9d 100644 --- a/lib/education/classes/item/assignments/item/rubric/ref/ref_request_builder.rb +++ b/lib/education/classes/item/assignments/item/rubric/ref/ref_request_builder.rb @@ -124,7 +124,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/education/classes/item/assignments/item/rubric/rubric_request_builder.rb b/lib/education/classes/item/assignments/item/rubric/rubric_request_builder.rb index cc1a22988a..1be032f84e 100644 --- a/lib/education/classes/item/assignments/item/rubric/rubric_request_builder.rb +++ b/lib/education/classes/item/assignments/item/rubric/rubric_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.rb index a6b49139bd..722ed0b882 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/education_submission_item_request_builder.rb @@ -210,7 +210,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb index f1f97ad7d6..a694536929 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb index 40904ffe5d..994446ccb1 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb index 6cbb6b26f0..3cda203b95 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.rb index 7a788e72aa..120858e5e9 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/resources/resources_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb index d1c6a61b4b..f1b8ed0230 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb index 166ac11fee..c214b74aa9 100644 --- a/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/assignments/item/submissions/submissions_request_builder.rb b/lib/education/classes/item/assignments/item/submissions/submissions_request_builder.rb index 176cfa169d..a94d57e2a8 100644 --- a/lib/education/classes/item/assignments/item/submissions/submissions_request_builder.rb +++ b/lib/education/classes/item/assignments/item/submissions/submissions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/education_class_item_request_builder.rb b/lib/education/classes/item/education_class_item_request_builder.rb index 169b9acee0..cbc42a8dd4 100644 --- a/lib/education/classes/item/education_class_item_request_builder.rb +++ b/lib/education/classes/item/education_class_item_request_builder.rb @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/members/ref/ref_request_builder.rb b/lib/education/classes/item/members/ref/ref_request_builder.rb index 315dd35c85..affecaaab1 100644 --- a/lib/education/classes/item/members/ref/ref_request_builder.rb +++ b/lib/education/classes/item/members/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/classes/item/teachers/ref/ref_request_builder.rb b/lib/education/classes/item/teachers/ref/ref_request_builder.rb index d931fd2c0d..53a578c3a8 100644 --- a/lib/education/classes/item/teachers/ref/ref_request_builder.rb +++ b/lib/education/classes/item/teachers/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/education_request_builder.rb b/lib/education/education_request_builder.rb index 6a4e17005b..460680d2bd 100644 --- a/lib/education/education_request_builder.rb +++ b/lib/education/education_request_builder.rb @@ -133,7 +133,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/education/me/assignments/assignments_request_builder.rb b/lib/education/me/assignments/assignments_request_builder.rb index 3ec3919523..3b5b0096cd 100644 --- a/lib/education/me/assignments/assignments_request_builder.rb +++ b/lib/education/me/assignments/assignments_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/categories/categories_request_builder.rb b/lib/education/me/assignments/item/categories/categories_request_builder.rb index ad3e403a3b..a13cedec00 100644 --- a/lib/education/me/assignments/item/categories/categories_request_builder.rb +++ b/lib/education/me/assignments/item/categories/categories_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/categories/ref/ref_request_builder.rb b/lib/education/me/assignments/item/categories/ref/ref_request_builder.rb index 374b676eb3..8e546138f6 100644 --- a/lib/education/me/assignments/item/categories/ref/ref_request_builder.rb +++ b/lib/education/me/assignments/item/categories/ref/ref_request_builder.rb @@ -94,7 +94,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/education_assignment_item_request_builder.rb b/lib/education/me/assignments/item/education_assignment_item_request_builder.rb index 365d62e044..92dff76bbf 100644 --- a/lib/education/me/assignments/item/education_assignment_item_request_builder.rb +++ b/lib/education/me/assignments/item/education_assignment_item_request_builder.rb @@ -198,7 +198,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb b/lib/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb index 05b043869e..47590b348b 100644 --- a/lib/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb +++ b/lib/education/me/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/resources/resources_request_builder.rb b/lib/education/me/assignments/item/resources/resources_request_builder.rb index 109ea29d88..c4470773d6 100644 --- a/lib/education/me/assignments/item/resources/resources_request_builder.rb +++ b/lib/education/me/assignments/item/resources/resources_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/rubric/ref/ref_request_builder.rb b/lib/education/me/assignments/item/rubric/ref/ref_request_builder.rb index a9a1faf811..0829cd0e4b 100644 --- a/lib/education/me/assignments/item/rubric/ref/ref_request_builder.rb +++ b/lib/education/me/assignments/item/rubric/ref/ref_request_builder.rb @@ -122,7 +122,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/education/me/assignments/item/rubric/rubric_request_builder.rb b/lib/education/me/assignments/item/rubric/rubric_request_builder.rb index 74eb504407..5e66eda465 100644 --- a/lib/education/me/assignments/item/rubric/rubric_request_builder.rb +++ b/lib/education/me/assignments/item/rubric/rubric_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/education_submission_item_request_builder.rb b/lib/education/me/assignments/item/submissions/item/education_submission_item_request_builder.rb index 1437bbeae6..b52fcb4bec 100644 --- a/lib/education/me/assignments/item/submissions/item/education_submission_item_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/education_submission_item_request_builder.rb @@ -208,7 +208,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb b/lib/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb index e8f1c37d21..921b26036a 100644 --- a/lib/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb b/lib/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb index a7df788b9c..cf0a516990 100644 --- a/lib/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb b/lib/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb index 3ff68ecfea..31823911b8 100644 --- a/lib/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/resources/resources_request_builder.rb b/lib/education/me/assignments/item/submissions/item/resources/resources_request_builder.rb index fb1c7bcaf7..21591de82a 100644 --- a/lib/education/me/assignments/item/submissions/item/resources/resources_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/resources/resources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb b/lib/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb index 8893e9770a..37d977eef5 100644 --- a/lib/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb b/lib/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb index d216b4ff71..d63f643720 100644 --- a/lib/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/assignments/item/submissions/submissions_request_builder.rb b/lib/education/me/assignments/item/submissions/submissions_request_builder.rb index 2f221172be..0508abab0f 100644 --- a/lib/education/me/assignments/item/submissions/submissions_request_builder.rb +++ b/lib/education/me/assignments/item/submissions/submissions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/me_request_builder.rb b/lib/education/me/me_request_builder.rb index 364dcfbb12..0422deea83 100644 --- a/lib/education/me/me_request_builder.rb +++ b/lib/education/me/me_request_builder.rb @@ -212,7 +212,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/rubrics/item/education_rubric_item_request_builder.rb b/lib/education/me/rubrics/item/education_rubric_item_request_builder.rb index 20b06a1751..4b77631686 100644 --- a/lib/education/me/rubrics/item/education_rubric_item_request_builder.rb +++ b/lib/education/me/rubrics/item/education_rubric_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/me/rubrics/rubrics_request_builder.rb b/lib/education/me/rubrics/rubrics_request_builder.rb index fe997ee7c1..c7a38bc65a 100644 --- a/lib/education/me/rubrics/rubrics_request_builder.rb +++ b/lib/education/me/rubrics/rubrics_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/schools/item/administrative_unit/administrative_unit_request_builder.rb b/lib/education/schools/item/administrative_unit/administrative_unit_request_builder.rb index 3fed16d420..868d498b38 100644 --- a/lib/education/schools/item/administrative_unit/administrative_unit_request_builder.rb +++ b/lib/education/schools/item/administrative_unit/administrative_unit_request_builder.rb @@ -90,7 +90,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/schools/item/classes/ref/ref_request_builder.rb b/lib/education/schools/item/classes/ref/ref_request_builder.rb index 6cfea7ef12..c0bb7e7d00 100644 --- a/lib/education/schools/item/classes/ref/ref_request_builder.rb +++ b/lib/education/schools/item/classes/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/schools/item/education_school_item_request_builder.rb b/lib/education/schools/item/education_school_item_request_builder.rb index ee6045775c..e69b159395 100644 --- a/lib/education/schools/item/education_school_item_request_builder.rb +++ b/lib/education/schools/item/education_school_item_request_builder.rb @@ -149,7 +149,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/education/schools/item/users/ref/ref_request_builder.rb b/lib/education/schools/item/users/ref/ref_request_builder.rb index cc181c02ca..8fc96d2245 100644 --- a/lib/education/schools/item/users/ref/ref_request_builder.rb +++ b/lib/education/schools/item/users/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/schools/schools_request_builder.rb b/lib/education/schools/schools_request_builder.rb index 41c914c0e7..235570efbd 100644 --- a/lib/education/schools/schools_request_builder.rb +++ b/lib/education/schools/schools_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/assignments_request_builder.rb b/lib/education/users/item/assignments/assignments_request_builder.rb index 45a3f264ae..57d29f8349 100644 --- a/lib/education/users/item/assignments/assignments_request_builder.rb +++ b/lib/education/users/item/assignments/assignments_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/categories/categories_request_builder.rb b/lib/education/users/item/assignments/item/categories/categories_request_builder.rb index ce4e3d003d..49c5b75c9c 100644 --- a/lib/education/users/item/assignments/item/categories/categories_request_builder.rb +++ b/lib/education/users/item/assignments/item/categories/categories_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/categories/ref/ref_request_builder.rb b/lib/education/users/item/assignments/item/categories/ref/ref_request_builder.rb index dd36adce12..d1f2fff8b0 100644 --- a/lib/education/users/item/assignments/item/categories/ref/ref_request_builder.rb +++ b/lib/education/users/item/assignments/item/categories/ref/ref_request_builder.rb @@ -96,7 +96,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/education_assignment_item_request_builder.rb b/lib/education/users/item/assignments/item/education_assignment_item_request_builder.rb index 2d95b0f8e9..0de406a087 100644 --- a/lib/education/users/item/assignments/item/education_assignment_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/education_assignment_item_request_builder.rb @@ -200,7 +200,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb b/lib/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb index 1973da65c2..42b46af4db 100644 --- a/lib/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/resources/item/education_assignment_resource_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/resources/resources_request_builder.rb b/lib/education/users/item/assignments/item/resources/resources_request_builder.rb index 8858a6a5a5..6b5daec3de 100644 --- a/lib/education/users/item/assignments/item/resources/resources_request_builder.rb +++ b/lib/education/users/item/assignments/item/resources/resources_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/rubric/ref/ref_request_builder.rb b/lib/education/users/item/assignments/item/rubric/ref/ref_request_builder.rb index 1645cccdd4..1549b4c14f 100644 --- a/lib/education/users/item/assignments/item/rubric/ref/ref_request_builder.rb +++ b/lib/education/users/item/assignments/item/rubric/ref/ref_request_builder.rb @@ -124,7 +124,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/education/users/item/assignments/item/rubric/rubric_request_builder.rb b/lib/education/users/item/assignments/item/rubric/rubric_request_builder.rb index 3b3b075f14..f685224633 100644 --- a/lib/education/users/item/assignments/item/rubric/rubric_request_builder.rb +++ b/lib/education/users/item/assignments/item/rubric/rubric_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.rb index c9e0e54e18..db79696e92 100644 --- a/lib/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/education_submission_item_request_builder.rb @@ -210,7 +210,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb index 621a951941..a0537292cd 100644 --- a/lib/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/outcomes/item/education_outcome_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb index 9bffdb1cd9..948c1abcc9 100644 --- a/lib/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/outcomes/outcomes_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb index fe4e294b3e..b252b11e4e 100644 --- a/lib/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/resources/item/education_submission_resource_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.rb index 930eb9e82e..6e36257230 100644 --- a/lib/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/resources/resources_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb index d2faf0d6ea..85c665fc21 100644 --- a/lib/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/submitted_resources/item/education_submission_resource_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb b/lib/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb index 44a7c952d6..0ce001f9b5 100644 --- a/lib/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/item/submitted_resources/submitted_resources_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/assignments/item/submissions/submissions_request_builder.rb b/lib/education/users/item/assignments/item/submissions/submissions_request_builder.rb index 75c296085e..a7e1145d17 100644 --- a/lib/education/users/item/assignments/item/submissions/submissions_request_builder.rb +++ b/lib/education/users/item/assignments/item/submissions/submissions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/education_user_item_request_builder.rb b/lib/education/users/item/education_user_item_request_builder.rb index eac03ce1ac..1cfd056bce 100644 --- a/lib/education/users/item/education_user_item_request_builder.rb +++ b/lib/education/users/item/education_user_item_request_builder.rb @@ -214,7 +214,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/rubrics/item/education_rubric_item_request_builder.rb b/lib/education/users/item/rubrics/item/education_rubric_item_request_builder.rb index e0285d3725..0253cada7d 100644 --- a/lib/education/users/item/rubrics/item/education_rubric_item_request_builder.rb +++ b/lib/education/users/item/rubrics/item/education_rubric_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/item/rubrics/rubrics_request_builder.rb b/lib/education/users/item/rubrics/rubrics_request_builder.rb index 9b5b82808c..3fe6316608 100644 --- a/lib/education/users/item/rubrics/rubrics_request_builder.rb +++ b/lib/education/users/item/rubrics/rubrics_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/education/users/users_request_builder.rb b/lib/education/users/users_request_builder.rb index 99411cd39e..4c3397ff1e 100644 --- a/lib/education/users/users_request_builder.rb +++ b/lib/education/users/users_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/employee_experience/employee_experience_request_builder.rb b/lib/employee_experience/employee_experience_request_builder.rb index 50e838c3c8..29203a61f9 100644 --- a/lib/employee_experience/employee_experience_request_builder.rb +++ b/lib/employee_experience/employee_experience_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb b/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb index dbf3782904..126072e1e9 100644 --- a/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb +++ b/lib/employee_experience/learning_providers/item/learning_contents/item/learning_content_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb b/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb index f7d71fa9bf..f44c7b0251 100644 --- a/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb +++ b/lib/employee_experience/learning_providers/item/learning_contents/learning_contents_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb b/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb index 086ebb8ea4..76f338bee1 100644 --- a/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb +++ b/lib/employee_experience/learning_providers/item/learning_provider_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/employee_experience/learning_providers/learning_providers_request_builder.rb b/lib/employee_experience/learning_providers/learning_providers_request_builder.rb index 80a5d35ccd..df02949323 100644 --- a/lib/employee_experience/learning_providers/learning_providers_request_builder.rb +++ b/lib/employee_experience/learning_providers/learning_providers_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/connections_request_builder.rb b/lib/external/connections/connections_request_builder.rb index 77c7858aec..7cdfb80f62 100644 --- a/lib/external/connections/connections_request_builder.rb +++ b/lib/external/connections/connections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/external_connection_item_request_builder.rb b/lib/external/connections/item/external_connection_item_request_builder.rb index 20714ceebe..e73298062a 100644 --- a/lib/external/connections/item/external_connection_item_request_builder.rb +++ b/lib/external/connections/item/external_connection_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/groups/groups_request_builder.rb b/lib/external/connections/item/groups/groups_request_builder.rb index bbb4c84765..0ee12c4cbb 100644 --- a/lib/external/connections/item/groups/groups_request_builder.rb +++ b/lib/external/connections/item/groups/groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/groups/item/external_group_item_request_builder.rb b/lib/external/connections/item/groups/item/external_group_item_request_builder.rb index 689107fb8a..a90aedc168 100644 --- a/lib/external/connections/item/groups/item/external_group_item_request_builder.rb +++ b/lib/external/connections/item/groups/item/external_group_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/groups/item/members/item/identity_item_request_builder.rb b/lib/external/connections/item/groups/item/members/item/identity_item_request_builder.rb index d0d1b603cf..d49f9602b8 100644 --- a/lib/external/connections/item/groups/item/members/item/identity_item_request_builder.rb +++ b/lib/external/connections/item/groups/item/members/item/identity_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/groups/item/members/members_request_builder.rb b/lib/external/connections/item/groups/item/members/members_request_builder.rb index 5896ddd9f8..187216b287 100644 --- a/lib/external/connections/item/groups/item/members/members_request_builder.rb +++ b/lib/external/connections/item/groups/item/members/members_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/items/item/external_item_item_request_builder.rb b/lib/external/connections/item/items/item/external_item_item_request_builder.rb index bd054de7d9..54b14dde4d 100644 --- a/lib/external/connections/item/items/item/external_item_item_request_builder.rb +++ b/lib/external/connections/item/items/item/external_item_item_request_builder.rb @@ -61,9 +61,9 @@ def get(request_configuration=nil) ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of external_item ## - def patch(body, request_configuration=nil) + def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? - request_info = self.to_patch_request_information( + request_info = self.to_put_request_information( body, request_configuration ) error_mapping = Hash.new @@ -111,18 +111,18 @@ def to_get_request_information(request_configuration=nil) ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## - def to_patch_request_information(body, request_configuration=nil) + def to_put_request_information(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? request_info = MicrosoftKiotaAbstractions::RequestInformation.new() request_info.url_template = @url_template request_info.path_parameters = @path_parameters - request_info.http_method = :PATCH + request_info.http_method = :PUT request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/items/items_request_builder.rb b/lib/external/connections/item/items/items_request_builder.rb index 1a95d8b92a..8ac504ff59 100644 --- a/lib/external/connections/item/items/items_request_builder.rb +++ b/lib/external/connections/item/items/items_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/operations/item/connection_operation_item_request_builder.rb b/lib/external/connections/item/operations/item/connection_operation_item_request_builder.rb index ac0cf3d55c..b55f25f64e 100644 --- a/lib/external/connections/item/operations/item/connection_operation_item_request_builder.rb +++ b/lib/external/connections/item/operations/item/connection_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/operations/operations_request_builder.rb b/lib/external/connections/item/operations/operations_request_builder.rb index 512fab14b7..04c2ea3f1d 100644 --- a/lib/external/connections/item/operations/operations_request_builder.rb +++ b/lib/external/connections/item/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/connections/item/schema/schema_request_builder.rb b/lib/external/connections/item/schema/schema_request_builder.rb index ca1d59cb9d..1fca5d86f8 100644 --- a/lib/external/connections/item/schema/schema_request_builder.rb +++ b/lib/external/connections/item/schema/schema_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/external/external_request_builder.rb b/lib/external/external_request_builder.rb index 0703060ac9..2d3f291678 100644 --- a/lib/external/external_request_builder.rb +++ b/lib/external/external_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb b/lib/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb index cd522e5df8..9de0a0932d 100644 --- a/lib/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb +++ b/lib/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_lifecycle_policies/item/add_group/add_group_request_builder.rb b/lib/group_lifecycle_policies/item/add_group/add_group_request_builder.rb index dec3e7e9b5..9a69c822c9 100644 --- a/lib/group_lifecycle_policies/item/add_group/add_group_request_builder.rb +++ b/lib/group_lifecycle_policies/item/add_group/add_group_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb b/lib/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb index 4f8bbd50c1..c375034253 100644 --- a/lib/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb +++ b/lib/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb b/lib/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb index de0877740c..2fdc083f1a 100644 --- a/lib/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb +++ b/lib/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/group_setting_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 52820fccea..4955901307 100644 --- a/lib/group_setting_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/group_setting_templates/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/get_by_ids/get_by_ids_request_builder.rb b/lib/group_setting_templates/get_by_ids/get_by_ids_request_builder.rb index d9714ac07b..adb0c95b94 100644 --- a/lib/group_setting_templates/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/group_setting_templates/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/group_setting_templates_request_builder.rb b/lib/group_setting_templates/group_setting_templates_request_builder.rb index d2335e9e36..d09f137915 100644 --- a/lib/group_setting_templates/group_setting_templates_request_builder.rb +++ b/lib/group_setting_templates/group_setting_templates_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.rb b/lib/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.rb index a03e272be9..0e5b14949c 100644 --- a/lib/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/group_setting_templates/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/item/check_member_objects/check_member_objects_request_builder.rb b/lib/group_setting_templates/item/check_member_objects/check_member_objects_request_builder.rb index ac369d5425..8efa091dd4 100644 --- a/lib/group_setting_templates/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/group_setting_templates/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/item/get_member_groups/get_member_groups_request_builder.rb b/lib/group_setting_templates/item/get_member_groups/get_member_groups_request_builder.rb index dfab9d9fe2..05e6d4a034 100644 --- a/lib/group_setting_templates/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/group_setting_templates/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.rb b/lib/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.rb index 77fcbfa2ba..3bad5f9dd0 100644 --- a/lib/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/group_setting_templates/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_setting_templates/item/group_setting_template_item_request_builder.rb b/lib/group_setting_templates/item/group_setting_template_item_request_builder.rb index c9fb470a47..c8846fe0bb 100644 --- a/lib/group_setting_templates/item/group_setting_template_item_request_builder.rb +++ b/lib/group_setting_templates/item/group_setting_template_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_setting_templates/validate_properties/validate_properties_request_builder.rb b/lib/group_setting_templates/validate_properties/validate_properties_request_builder.rb index 3993a72b45..3438f00d4a 100644 --- a/lib/group_setting_templates/validate_properties/validate_properties_request_builder.rb +++ b/lib/group_setting_templates/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/group_settings/group_settings_request_builder.rb b/lib/group_settings/group_settings_request_builder.rb index d4ee7a7dc4..5737585c15 100644 --- a/lib/group_settings/group_settings_request_builder.rb +++ b/lib/group_settings/group_settings_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/group_settings/item/group_setting_item_request_builder.rb b/lib/group_settings/item/group_setting_item_request_builder.rb index 2881f9ee5b..c2a9c6a6be 100644 --- a/lib/group_settings/item/group_setting_item_request_builder.rb +++ b/lib/group_settings/item/group_setting_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/groups/get_available_extension_properties/get_available_extension_properties_request_builder.rb index dcb4338c24..5f8591a350 100644 --- a/lib/groups/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/groups/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/get_by_ids/get_by_ids_request_builder.rb b/lib/groups/get_by_ids/get_by_ids_request_builder.rb index bfbef47a0c..7b46934276 100644 --- a/lib/groups/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/groups/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/groups_request_builder.rb b/lib/groups/groups_request_builder.rb index 3f8e4ddeb8..7dd7472e31 100644 --- a/lib/groups/groups_request_builder.rb +++ b/lib/groups/groups_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/accepted_senders/ref/ref_request_builder.rb b/lib/groups/item/accepted_senders/ref/ref_request_builder.rb index bc21212a2d..1501077690 100644 --- a/lib/groups/item/accepted_senders/ref/ref_request_builder.rb +++ b/lib/groups/item/accepted_senders/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/app_role_assignments/app_role_assignments_request_builder.rb b/lib/groups/item/app_role_assignments/app_role_assignments_request_builder.rb index 252362e01e..54f28fa5cc 100644 --- a/lib/groups/item/app_role_assignments/app_role_assignments_request_builder.rb +++ b/lib/groups/item/app_role_assignments/app_role_assignments_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb b/lib/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb index 9d0366aefc..4e4e99bc12 100644 --- a/lib/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb +++ b/lib/groups/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/assign_license/assign_license_request_builder.rb b/lib/groups/item/assign_license/assign_license_request_builder.rb index d29b9406a5..1ee0d5b9f3 100644 --- a/lib/groups/item/assign_license/assign_license_request_builder.rb +++ b/lib/groups/item/assign_license/assign_license_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb b/lib/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb index 36437ea4e7..825a83ab5a 100644 --- a/lib/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/groups/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb index 0f17325bf1..3f588de72b 100644 --- a/lib/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/accept/accept_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/accept/accept_request_builder.rb index 5a31c1986e..ef58fc2c0b 100644 --- a/lib/groups/item/calendar/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb index 42c598bea1..54e55b846b 100644 --- a/lib/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 45c9bd05cf..bd833c9134 100644 --- a/lib/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb index 21081c9bf7..411104ebca 100644 --- a/lib/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/decline/decline_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/decline/decline_request_builder.rb index f9f360cb3b..ef6439ac0e 100644 --- a/lib/groups/item/calendar/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb index a57858f07d..8760aec7d0 100644 --- a/lib/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb index 4eb5a2eba2..8b8c244ec7 100644 --- a/lib/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/forward/forward_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/forward/forward_request_builder.rb index f9f66f3a0e..a15024b5ac 100644 --- a/lib/groups/item/calendar/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/instances_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/instances_request_builder.rb index c31101bb47..35205311cb 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb index 29cad5e272..63c750db09 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index eb035f620d..9697353331 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index d8e0aa1aa1..952fa7ec25 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index c3e676dd58..4925db054e 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb index bd435b77a4..947d3a9b56 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb index dff0124581..7302a7106a 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index bccf75886b..6d7a152839 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index f467978013..bf8b1f7bc3 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb index f8cc7ac07d..314a3abaed 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 1cd35088e3..5b79334270 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b49ec88ac4..02cab1e533 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 2f824d5d41..a6c71203ec 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 56101cd0af..2996c493f7 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 359b5b29c2..0302a8631d 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index ee22b1938b..d4da7b60c5 100644 --- a/lib/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 11ce7a12af..fb6a1722ce 100644 --- a/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b281e574c4..1d8f14adec 100644 --- a/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e9454eeaa1..791a7dca61 100644 --- a/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index f9a86afaf8..566e72c452 100644 --- a/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index ad246a02d7..c31c752ed4 100644 --- a/lib/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 1a87dd0c04..866c056b80 100644 --- a/lib/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/events_request_builder.rb b/lib/groups/item/calendar/events/events_request_builder.rb index 055fd09a38..7e35f0509a 100644 --- a/lib/groups/item/calendar/events/events_request_builder.rb +++ b/lib/groups/item/calendar/events/events_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/accept/accept_request_builder.rb b/lib/groups/item/calendar/events/item/accept/accept_request_builder.rb index 8c86153dd2..33116d2808 100644 --- a/lib/groups/item/calendar/events/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar/events/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar/events/item/attachments/attachments_request_builder.rb index a8d5edb67f..dfe7634cdc 100644 --- a/lib/groups/item/calendar/events/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar/events/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 570d74d3c9..a3dbc4fb89 100644 --- a/lib/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar/events/item/cancel/cancel_request_builder.rb index c5a8f58964..175f1010b0 100644 --- a/lib/groups/item/calendar/events/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar/events/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/decline/decline_request_builder.rb b/lib/groups/item/calendar/events/item/decline/decline_request_builder.rb index 812f22fa34..980a27cd71 100644 --- a/lib/groups/item/calendar/events/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar/events/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/event_item_request_builder.rb b/lib/groups/item/calendar/events/item/event_item_request_builder.rb index 5b28da015d..43e0ff2b72 100644 --- a/lib/groups/item/calendar/events/item/event_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/event_item_request_builder.rb @@ -260,7 +260,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar/events/item/extensions/extensions_request_builder.rb index 10e17ad985..04964f3b69 100644 --- a/lib/groups/item/calendar/events/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar/events/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.rb index 9d8c6a3d72..cc181d6e85 100644 --- a/lib/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/forward/forward_request_builder.rb b/lib/groups/item/calendar/events/item/forward/forward_request_builder.rb index bb3e449009..fb2db5d81e 100644 --- a/lib/groups/item/calendar/events/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar/events/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/instances_request_builder.rb b/lib/groups/item/calendar/events/item/instances/instances_request_builder.rb index 470377df3a..fbd63f858e 100644 --- a/lib/groups/item/calendar/events/item/instances/instances_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.rb index 39f6ecbbe3..b777e17285 100644 --- a/lib/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb index 6b94b22746..0313da15b1 100644 --- a/lib/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 16f5036ebe..847fb79799 100644 --- a/lib/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb index e2e9e183ac..236864ff9e 100644 --- a/lib/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.rb index ffa1bc48bf..7b728a9433 100644 --- a/lib/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/event_item_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/event_item_request_builder.rb index f8e4377c5a..b2dc4be81a 100644 --- a/lib/groups/item/calendar/events/item/instances/item/event_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb index 89a82daffd..713bc85e97 100644 --- a/lib/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb index b4ed4d2e05..e57da29202 100644 --- a/lib/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.rb index 1756171b39..63cd3fa165 100644 --- a/lib/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index cfe2bacf35..a552466422 100644 --- a/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b0b572ef8f..447bdd160b 100644 --- a/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index f7552d5b50..bedc69cdb4 100644 --- a/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index ab5644e2fc..c64d9a1e54 100644 --- a/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index f61bbc2c86..7a28e4831e 100644 --- a/lib/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index c2b3c2e3e2..4eb3a08c86 100644 --- a/lib/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index fd0d643586..ce104127f2 100644 --- a/lib/groups/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b552b4ec07..1f332c188d 100644 --- a/lib/groups/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e48847024c..5b5fcd4804 100644 --- a/lib/groups/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 666b50c7de..f5b71e764d 100644 --- a/lib/groups/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb index d2ff6628b4..1a4d803eff 100644 --- a/lib/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 5bd0327c11..0468707830 100644 --- a/lib/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/get_schedule/get_schedule_request_builder.rb b/lib/groups/item/calendar/get_schedule/get_schedule_request_builder.rb index b5be7d554d..c31f8599e7 100644 --- a/lib/groups/item/calendar/get_schedule/get_schedule_request_builder.rb +++ b/lib/groups/item/calendar/get_schedule/get_schedule_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index c8c75e74fa..8de48ce2ea 100644 --- a/lib/groups/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index f175a75794..a8999dab9d 100644 --- a/lib/groups/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e6b8ec45a4..059977a3cc 100644 --- a/lib/groups/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 5741987d2b..a07686d080 100644 --- a/lib/groups/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/accept/accept_request_builder.rb b/lib/groups/item/calendar_view/item/accept/accept_request_builder.rb index 40722921a3..47e25be31a 100644 --- a/lib/groups/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar_view/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar_view/item/attachments/attachments_request_builder.rb index bd258f3927..bfa48c7d89 100644 --- a/lib/groups/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index d56dccaab5..bc56353265 100644 --- a/lib/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar_view/item/cancel/cancel_request_builder.rb index 9ca8e7d7e5..41c7bd75a7 100644 --- a/lib/groups/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/decline/decline_request_builder.rb b/lib/groups/item/calendar_view/item/decline/decline_request_builder.rb index bd61b9775c..f2c13c88fc 100644 --- a/lib/groups/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar_view/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar_view/item/extensions/extensions_request_builder.rb index 0cbd69100c..67f3566636 100644 --- a/lib/groups/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index bf1d231015..6d295be033 100644 --- a/lib/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/forward/forward_request_builder.rb b/lib/groups/item/calendar_view/item/forward/forward_request_builder.rb index 1646ae0efc..38e1b972ef 100644 --- a/lib/groups/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar_view/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/instances_request_builder.rb b/lib/groups/item/calendar_view/item/instances/instances_request_builder.rb index 71a8abacb1..ba27fbf142 100644 --- a/lib/groups/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index 77823dd5bd..5acdefd018 100644 --- a/lib/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index e37c181aeb..41c929430e 100644 --- a/lib/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 0a3eb10f66..474c7de515 100644 --- a/lib/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 90e491beed..3837e41d29 100644 --- a/lib/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index dea9b7b0ed..c20532c8b3 100644 --- a/lib/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/event_item_request_builder.rb index 7fd98aa607..da6674e984 100644 --- a/lib/groups/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index 6c4857bc6d..ba2942e51e 100644 --- a/lib/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index d5c35ed231..f3c2e9a61e 100644 --- a/lib/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index 7e94338fb5..38bbc0ab6d 100644 --- a/lib/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index fa09627382..948475ebc1 100644 --- a/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 564433c696..a00ceac9d3 100644 --- a/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index dcd9fe5c42..5ef54a75bf 100644 --- a/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index bde693d7b9..f6038df326 100644 --- a/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 1838fe88b4..9735082902 100644 --- a/lib/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 797e31d238..9f66eff954 100644 --- a/lib/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index b707e2e5fe..7e075be3e3 100644 --- a/lib/groups/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 08a8c88651..ff0020d09c 100644 --- a/lib/groups/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b1c768cba1..cb690b2870 100644 --- a/lib/groups/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 0510458bc3..5592524381 100644 --- a/lib/groups/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index 12bd9fc6e4..c74d13d328 100644 --- a/lib/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index e003a9c6c5..6f1a37f978 100644 --- a/lib/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/check_member_groups/check_member_groups_request_builder.rb b/lib/groups/item/check_member_groups/check_member_groups_request_builder.rb index a3443a51ba..8be28ed454 100644 --- a/lib/groups/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/groups/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/check_member_objects/check_member_objects_request_builder.rb b/lib/groups/item/check_member_objects/check_member_objects_request_builder.rb index 95e1a63240..98261927ee 100644 --- a/lib/groups/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/groups/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/conversations_request_builder.rb b/lib/groups/item/conversations/conversations_request_builder.rb index 647a85d49e..9448fda1c0 100644 --- a/lib/groups/item/conversations/conversations_request_builder.rb +++ b/lib/groups/item/conversations/conversations_request_builder.rb @@ -45,7 +45,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ConversationCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use reply thread or reply post to further post to that conversation. + ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of conversation @@ -79,7 +79,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use reply thread or reply post to further post to that conversation. + ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.rb index 2d3caeb4f7..d2ac0c044f 100644 --- a/lib/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/conversation_thread_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.rb index 83c2068123..eb5291d1b6 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/attachments/attachments_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 912d01d88b..62118a2932 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.rb index 831c1c55d4..cbd78c1f1d 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb index 270e2d1b22..124a349971 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.rb index 70b07c1cde..2414fc3489 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb index be47ccb10e..9e81971cec 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb index dc5e1fc9e1..174a69f032 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb index 43d4f80c6e..24d0fe8a6d 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb index 5123baad31..e1b71293c0 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb index 5f88537e73..dbae7e7a5f 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 4af85fd56e..74ad3db1b3 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 60b431fd70..86f8505d66 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb index ac21902456..aec8cbb40a 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb @@ -37,7 +37,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply") end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -53,7 +53,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e586e1bb55..47b464efcb 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb index a0ce9f849a..d223cbf0a9 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index a4d5ca4402..b300ed5c6f 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 933542794d..2c95f74c12 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb index c06211af51..79e758ee4d 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/reply/reply_request_builder.rb @@ -35,7 +35,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply") end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -51,7 +51,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 74feecc7b9..97dde497f6 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index ca9de42f30..ea93b621e3 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb b/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb index 56ca3ed77f..128cedef01 100644 --- a/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/posts/posts_request_builder.rb @@ -38,7 +38,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + ## Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of post_collection_response ## @@ -52,7 +52,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PostCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + ## Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -71,7 +71,7 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + # Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. class PostsRequestBuilderGetQueryParameters ## diff --git a/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb b/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb index ffe0604cdc..20ea0524f7 100644 --- a/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/item/reply/reply_request_builder.rb @@ -31,7 +31,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/conversations/{conversation%2Did}/threads/{conversationThread%2Did}/reply") end ## - ## 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. + ## 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. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -47,7 +47,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## 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. + ## 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. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/conversations/item/threads/threads_request_builder.rb b/lib/groups/item/conversations/item/threads/threads_request_builder.rb index 163a415182..42377bb979 100644 --- a/lib/groups/item/conversations/item/threads/threads_request_builder.rb +++ b/lib/groups/item/conversations/item/threads/threads_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/events_request_builder.rb b/lib/groups/item/events/events_request_builder.rb index 49cd87c689..ffd2d8b793 100644 --- a/lib/groups/item/events/events_request_builder.rb +++ b/lib/groups/item/events/events_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/accept/accept_request_builder.rb b/lib/groups/item/events/item/accept/accept_request_builder.rb index dc3d92e649..46276bdd6c 100644 --- a/lib/groups/item/events/item/accept/accept_request_builder.rb +++ b/lib/groups/item/events/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/attachments/attachments_request_builder.rb b/lib/groups/item/events/item/attachments/attachments_request_builder.rb index 3829061e8a..2bf4a8798f 100644 --- a/lib/groups/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/events/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 2c5e043416..41024207b3 100644 --- a/lib/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/cancel/cancel_request_builder.rb b/lib/groups/item/events/item/cancel/cancel_request_builder.rb index e67d231875..5181229a13 100644 --- a/lib/groups/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/events/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/decline/decline_request_builder.rb b/lib/groups/item/events/item/decline/decline_request_builder.rb index bdc63c43e5..e876e82469 100644 --- a/lib/groups/item/events/item/decline/decline_request_builder.rb +++ b/lib/groups/item/events/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/event_item_request_builder.rb b/lib/groups/item/events/item/event_item_request_builder.rb index 68b0dd01d7..c9e7b23017 100644 --- a/lib/groups/item/events/item/event_item_request_builder.rb +++ b/lib/groups/item/events/item/event_item_request_builder.rb @@ -258,7 +258,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/extensions/extensions_request_builder.rb b/lib/groups/item/events/item/extensions/extensions_request_builder.rb index b1ad1ff38e..7d74776c00 100644 --- a/lib/groups/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/events/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/events/item/extensions/item/extension_item_request_builder.rb index e60474703e..94c5620e1c 100644 --- a/lib/groups/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/events/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/forward/forward_request_builder.rb b/lib/groups/item/events/item/forward/forward_request_builder.rb index af3fabda02..bf7ffd91a7 100644 --- a/lib/groups/item/events/item/forward/forward_request_builder.rb +++ b/lib/groups/item/events/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/instances_request_builder.rb b/lib/groups/item/events/item/instances/instances_request_builder.rb index 9966be1c0f..702fdc431e 100644 --- a/lib/groups/item/events/item/instances/instances_request_builder.rb +++ b/lib/groups/item/events/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/groups/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/groups/item/events/item/instances/item/accept/accept_request_builder.rb index 44eef5f20c..eff5dfb983 100644 --- a/lib/groups/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/groups/item/events/item/instances/item/attachments/attachments_request_builder.rb index 0481075b5f..ea687da053 100644 --- a/lib/groups/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index d5c94e1707..f73ccbb0e5 100644 --- a/lib/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/groups/item/events/item/instances/item/cancel/cancel_request_builder.rb index 859a39e6d0..e40c8703dd 100644 --- a/lib/groups/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/groups/item/events/item/instances/item/decline/decline_request_builder.rb index c80c6ad93f..d25b6db3aa 100644 --- a/lib/groups/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/event_item_request_builder.rb b/lib/groups/item/events/item/instances/item/event_item_request_builder.rb index 267e243a76..761ccc0775 100644 --- a/lib/groups/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/groups/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/groups/item/events/item/instances/item/extensions/extensions_request_builder.rb index d3e0ed87cc..768bb65fea 100644 --- a/lib/groups/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 794a29558f..b8d7d0511a 100644 --- a/lib/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/groups/item/events/item/instances/item/forward/forward_request_builder.rb index ba1aea70c0..c68d1e3f2d 100644 --- a/lib/groups/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index bf6cad7d04..9acdba60a2 100644 --- a/lib/groups/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 99fa2717c6..a00b4621ad 100644 --- a/lib/groups/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 72b60fc441..fe98a9b1fd 100644 --- a/lib/groups/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index bbfeef394f..694e03aede 100644 --- a/lib/groups/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 89476d6a0c..f9cc357f57 100644 --- a/lib/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index d898faea19..1c8554829e 100644 --- a/lib/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 2eb64f961f..648d03d668 100644 --- a/lib/groups/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 9104efa030..36edb46334 100644 --- a/lib/groups/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 73f1f5cdde..968973c4b2 100644 --- a/lib/groups/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 36f97b1051..e2fbcddae8 100644 --- a/lib/groups/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 417010acb3..6bd7b69c8b 100644 --- a/lib/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/groups/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 3a4d92e8ff..da358f730f 100644 --- a/lib/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/groups/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/extensions/extensions_request_builder.rb b/lib/groups/item/extensions/extensions_request_builder.rb index dcabce049d..05ebf93b63 100644 --- a/lib/groups/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/extensions/extensions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/extensions/item/extension_item_request_builder.rb index 531054e381..621274bc9e 100644 --- a/lib/groups/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/extensions/item/extension_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/get_member_groups/get_member_groups_request_builder.rb b/lib/groups/item/get_member_groups/get_member_groups_request_builder.rb index 14092d424a..f8fa4f8f2b 100644 --- a/lib/groups/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/groups/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/get_member_objects/get_member_objects_request_builder.rb b/lib/groups/item/get_member_objects/get_member_objects_request_builder.rb index 5aab6a9dff..afb8e1a343 100644 --- a/lib/groups/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/groups/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/group_item_request_builder.rb b/lib/groups/item/group_item_request_builder.rb index cae4fb4244..7cc7561cf3 100644 --- a/lib/groups/item/group_item_request_builder.rb +++ b/lib/groups/item/group_item_request_builder.rb @@ -580,7 +580,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb b/lib/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb index 0b086fd415..645c1b5d3d 100644 --- a/lib/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb +++ b/lib/groups/item/group_lifecycle_policies/group_lifecycle_policies_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.rb b/lib/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.rb index 66ebddf443..3c6b9db5af 100644 --- a/lib/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.rb +++ b/lib/groups/item/group_lifecycle_policies/item/add_group/add_group_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb b/lib/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb index 3936799765..3d6e6b5bc1 100644 --- a/lib/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb +++ b/lib/groups/item/group_lifecycle_policies/item/group_lifecycle_policy_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb b/lib/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb index cd5becf6b0..a46e058b4b 100644 --- a/lib/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb +++ b/lib/groups/item/group_lifecycle_policies/item/remove_group/remove_group_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/members/ref/ref_request_builder.rb b/lib/groups/item/members/ref/ref_request_builder.rb index 75f1a3d228..1f85cd3160 100644 --- a/lib/groups/item/members/ref/ref_request_builder.rb +++ b/lib/groups/item/members/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb b/lib/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb index b944830f48..bdc5c88329 100644 --- a/lib/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb b/lib/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb index 751ae0d508..f38f4fb419 100644 --- a/lib/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/notebook_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/notebook_item_request_builder.rb index 4fd4cfaad1..4f07ccb3c9 100644 --- a/lib/groups/item/onenote/notebooks/item/notebook_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/notebook_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb index 6359c82c4f..bfd3aebe9b 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index a1db97d6bc..6f298d2322 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 9b7554a24b..47053b1766 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb index ac9a2ba476..d03dc141be 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index 0bbfd23421..b8ddd5eb02 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../groups' require_relative '../../../../../../../../../../item' require_relative '../../../../../../../../../onenote' @@ -58,7 +59,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -68,7 +69,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -98,11 +99,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index c1085d8a35..5e0b0be919 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index 4ad2c77797..12b1a5d636 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 9643a3dc35..fb741af644 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb index 9195002afe..841a811caf 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb index 97625fb9a9..0ea4b1a563 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb b/lib/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb index cfa7075a28..bcb667ffe5 100644 --- a/lib/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 159acdaf88..12e10d939b 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 8d47936fa3..0ba85747e3 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb index bb436ce646..053cf890f9 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb index 461e19c108..ea3e5b50b5 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../groups' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index de2ac2bcb3..2be15a3d6d 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb index f8e1d54496..84e3f26525 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index ffbd6f7378..757a4b5d8a 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb index f29223b8ef..5c7e37e753 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/item/sections/sections_request_builder.rb b/lib/groups/item/onenote/notebooks/item/sections/sections_request_builder.rb index 86524983e1..5cf758a3f9 100644 --- a/lib/groups/item/onenote/notebooks/item/sections/sections_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/notebooks/notebooks_request_builder.rb b/lib/groups/item/onenote/notebooks/notebooks_request_builder.rb index 26f6161561..e3010bbd3d 100644 --- a/lib/groups/item/onenote/notebooks/notebooks_request_builder.rb +++ b/lib/groups/item/onenote/notebooks/notebooks_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/onenote_request_builder.rb b/lib/groups/item/onenote/onenote_request_builder.rb index efb0fc0171..8fe807eff5 100644 --- a/lib/groups/item/onenote/onenote_request_builder.rb +++ b/lib/groups/item/onenote/onenote_request_builder.rb @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/operations/item/onenote_operation_item_request_builder.rb b/lib/groups/item/onenote/operations/item/onenote_operation_item_request_builder.rb index d919fa783a..cd1f1540cb 100644 --- a/lib/groups/item/onenote/operations/item/onenote_operation_item_request_builder.rb +++ b/lib/groups/item/onenote/operations/item/onenote_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/operations/operations_request_builder.rb b/lib/groups/item/onenote/operations/operations_request_builder.rb index ca1739fb37..f9bddcee48 100644 --- a/lib/groups/item/onenote/operations/operations_request_builder.rb +++ b/lib/groups/item/onenote/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/pages/item/content/content_request_builder.rb b/lib/groups/item/onenote/pages/item/content/content_request_builder.rb index b914a89df8..da189e38bb 100644 --- a/lib/groups/item/onenote/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_page' require_relative '../../../../../groups' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb index 7d4b7dd705..59da71e08f 100644 --- a/lib/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/onenote/pages/item/onenote_page_item_request_builder.rb index 3bf84ebb85..1e7828947f 100644 --- a/lib/groups/item/onenote/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/onenote/pages/item/onenote_page_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index bcddb9037b..b655285748 100644 --- a/lib/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/pages/pages_request_builder.rb b/lib/groups/item/onenote/pages/pages_request_builder.rb index 9ea60da8c7..b27d813ad7 100644 --- a/lib/groups/item/onenote/pages/pages_request_builder.rb +++ b/lib/groups/item/onenote/pages/pages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/resources/item/content/content_request_builder.rb b/lib/groups/item/onenote/resources/item/content/content_request_builder.rb index 6ba9d8ad96..19d975e91e 100644 --- a/lib/groups/item/onenote/resources/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/resources/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_resource' require_relative '../../../../../groups' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_resource ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenoteResource.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/resources/item/onenote_resource_item_request_builder.rb b/lib/groups/item/onenote/resources/item/onenote_resource_item_request_builder.rb index 157e6aa4c1..ad7a2c95c2 100644 --- a/lib/groups/item/onenote/resources/item/onenote_resource_item_request_builder.rb +++ b/lib/groups/item/onenote/resources/item/onenote_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/resources/resources_request_builder.rb b/lib/groups/item/onenote/resources/resources_request_builder.rb index 67e80926cd..9eeb55ef1f 100644 --- a/lib/groups/item/onenote/resources/resources_request_builder.rb +++ b/lib/groups/item/onenote/resources/resources_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/item/section_group_item_request_builder.rb b/lib/groups/item/onenote/section_groups/item/section_group_item_request_builder.rb index 3e890092e3..a013fe951f 100644 --- a/lib/groups/item/onenote/section_groups/item/section_group_item_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/section_group_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index a288efff3d..d7b7f1776d 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 35fab9dacb..951701f84b 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb index 6e171eac54..6759f17f90 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index ab567d6f7d..63593b4861 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../groups' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 529c66c5d4..aad6ee6c3b 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index e32c4dee1e..9067988eea 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 5d84b4cacc..cbcd64604d 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb index e81aeb3873..d25ad736b3 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/item/sections/sections_request_builder.rb b/lib/groups/item/onenote/section_groups/item/sections/sections_request_builder.rb index 9bba1ea077..ccdb619590 100644 --- a/lib/groups/item/onenote/section_groups/item/sections/sections_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/section_groups/section_groups_request_builder.rb b/lib/groups/item/onenote/section_groups/section_groups_request_builder.rb index b718a874b0..ff6384dcda 100644 --- a/lib/groups/item/onenote/section_groups/section_groups_request_builder.rb +++ b/lib/groups/item/onenote/section_groups/section_groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index bb621f5aff..a828f576f0 100644 --- a/lib/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 8217115c8b..fe276c97ee 100644 --- a/lib/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/onenote/sections/item/onenote_section_item_request_builder.rb index e32038367a..056eb0d61c 100644 --- a/lib/groups/item/onenote/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/onenote_section_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/onenote/sections/item/pages/item/content/content_request_builder.rb index 1ee56fc076..e2a8a5ba6c 100644 --- a/lib/groups/item/onenote/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../models/onenote_page' require_relative '../../../../../../../groups' require_relative '../../../../../../item' require_relative '../../../../../onenote' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index ed13dc6ac7..aee7aa70ed 100644 --- a/lib/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb index f29c62d067..e39e198472 100644 --- a/lib/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 60e5d47664..ff4feda838 100644 --- a/lib/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/onenote/sections/item/pages/pages_request_builder.rb b/lib/groups/item/onenote/sections/item/pages/pages_request_builder.rb index 27135dc13f..f34694d3fb 100644 --- a/lib/groups/item/onenote/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/onenote/sections/item/pages/pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/onenote/sections/sections_request_builder.rb b/lib/groups/item/onenote/sections/sections_request_builder.rb index c81337f25f..dfba8aba65 100644 --- a/lib/groups/item/onenote/sections/sections_request_builder.rb +++ b/lib/groups/item/onenote/sections/sections_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/owners/ref/ref_request_builder.rb b/lib/groups/item/owners/ref/ref_request_builder.rb index 22ed0a4931..519fbd5f66 100644 --- a/lib/groups/item/owners/ref/ref_request_builder.rb +++ b/lib/groups/item/owners/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/groups/item/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb index c2e45562ee..5a23164803 100644 --- a/lib/groups/item/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/groups/item/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/get_by_ids/get_by_ids_request_builder.rb b/lib/groups/item/permission_grants/get_by_ids/get_by_ids_request_builder.rb index b6e07fb138..71393dce43 100644 --- a/lib/groups/item/permission_grants/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/groups/item/permission_grants/get_by_ids/get_by_ids_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb b/lib/groups/item/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb index 5e89902477..a86567bc6c 100644 --- a/lib/groups/item/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/groups/item/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb b/lib/groups/item/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb index 5ea34b658c..9ae135821f 100644 --- a/lib/groups/item/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/groups/item/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb b/lib/groups/item/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb index 487c1867c1..eeddfd0f18 100644 --- a/lib/groups/item/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/groups/item/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb b/lib/groups/item/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb index 93e70aa5ea..e6020b2496 100644 --- a/lib/groups/item/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/groups/item/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb b/lib/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb index 0e24888404..2dbb68ba89 100644 --- a/lib/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb +++ b/lib/groups/item/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/permission_grants/permission_grants_request_builder.rb b/lib/groups/item/permission_grants/permission_grants_request_builder.rb index 750cc2c0a7..2ca574eea7 100644 --- a/lib/groups/item/permission_grants/permission_grants_request_builder.rb +++ b/lib/groups/item/permission_grants/permission_grants_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/permission_grants/validate_properties/validate_properties_request_builder.rb b/lib/groups/item/permission_grants/validate_properties/validate_properties_request_builder.rb index 679f7c41af..1736f0eb11 100644 --- a/lib/groups/item/permission_grants/validate_properties/validate_properties_request_builder.rb +++ b/lib/groups/item/permission_grants/validate_properties/validate_properties_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/photo/photo_request_builder.rb b/lib/groups/item/photo/photo_request_builder.rb index 1a5dad98d4..95718b5313 100644 --- a/lib/groups/item/photo/photo_request_builder.rb +++ b/lib/groups/item/photo/photo_request_builder.rb @@ -30,6 +30,20 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/photo{?%24select}") end ## + ## Delete navigation property photo for groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## ## The group's profile photo ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of profile_photo @@ -60,6 +74,22 @@ def patch(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ProfilePhoto.create_from_discriminator_value(pn) }, error_mapping) end ## + ## Delete navigation property photo for groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## ## The group's profile photo ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -94,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/photo/value/content_request_builder.rb b/lib/groups/item/photo/value/content_request_builder.rb index d26fcaed5f..3ab032117b 100644 --- a/lib/groups/item/photo/value/content_request_builder.rb +++ b/lib/groups/item/photo/value/content_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in groups ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from groups @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/photos/item/value/content_request_builder.rb b/lib/groups/item/photos/item/value/content_request_builder.rb index 63490fa676..6e61ae301c 100644 --- a/lib/groups/item/photos/item/value/content_request_builder.rb +++ b/lib/groups/item/photos/item/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photos in groups ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photos from groups @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/planner/planner_request_builder.rb b/lib/groups/item/planner/planner_request_builder.rb index 47d8e23b41..8b3334ec27 100644 --- a/lib/groups/item/planner/planner_request_builder.rb +++ b/lib/groups/item/planner/planner_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/buckets_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/buckets_request_builder.rb index 56f04b9303..89b3567933 100644 --- a/lib/groups/item/planner/plans/item/buckets/buckets_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/buckets_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb index e10737dab1..9c5b83d596 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index e8390dda01..de80c12368 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 128aaeb6fc..4654669530 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb index 2a83399119..4352b41de2 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb index 9d4ffaa3be..511454d366 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 70115fa23b..86253463c7 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb b/lib/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb index 705079bad0..afbd0fdf7d 100644 --- a/lib/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb +++ b/lib/groups/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/details/details_request_builder.rb b/lib/groups/item/planner/plans/item/details/details_request_builder.rb index ff460cf4ca..dd0a2352fb 100644 --- a/lib/groups/item/planner/plans/item/details/details_request_builder.rb +++ b/lib/groups/item/planner/plans/item/details/details_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/planner_plan_item_request_builder.rb b/lib/groups/item/planner/plans/item/planner_plan_item_request_builder.rb index 56c6aa70f4..1d93416e42 100644 --- a/lib/groups/item/planner/plans/item/planner_plan_item_request_builder.rb +++ b/lib/groups/item/planner/plans/item/planner_plan_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index 60ff5ff00f..bfb6eda7f0 100644 --- a/lib/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 979b2e17a3..2c954ee648 100644 --- a/lib/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/item/details/details_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/item/details/details_request_builder.rb index c93075bd39..4f0d3b3194 100644 --- a/lib/groups/item/planner/plans/item/tasks/item/details/details_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/item/details/details_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb index 17157d8c3c..bf3e810069 100644 --- a/lib/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 59f5ec972c..d0f3b500f2 100644 --- a/lib/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/item/tasks/tasks_request_builder.rb b/lib/groups/item/planner/plans/item/tasks/tasks_request_builder.rb index b4ffd29553..735432d951 100644 --- a/lib/groups/item/planner/plans/item/tasks/tasks_request_builder.rb +++ b/lib/groups/item/planner/plans/item/tasks/tasks_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/planner/plans/plans_request_builder.rb b/lib/groups/item/planner/plans/plans_request_builder.rb index e50b0159cf..b56d75f75a 100644 --- a/lib/groups/item/planner/plans/plans_request_builder.rb +++ b/lib/groups/item/planner/plans/plans_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/rejected_senders/ref/ref_request_builder.rb b/lib/groups/item/rejected_senders/ref/ref_request_builder.rb index ec5082e480..db905fd24a 100644 --- a/lib/groups/item/rejected_senders/ref/ref_request_builder.rb +++ b/lib/groups/item/rejected_senders/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/settings/item/group_setting_item_request_builder.rb b/lib/groups/item/settings/item/group_setting_item_request_builder.rb index 06d6794c44..09254e1929 100644 --- a/lib/groups/item/settings/item/group_setting_item_request_builder.rb +++ b/lib/groups/item/settings/item/group_setting_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/settings/settings_request_builder.rb b/lib/groups/item/settings/settings_request_builder.rb index faad05c1f5..7391bdbef6 100644 --- a/lib/groups/item/settings/settings_request_builder.rb +++ b/lib/groups/item/settings/settings_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/add/add_request_builder.rb b/lib/groups/item/sites/add/add_request_builder.rb index 2e75da0afb..3b0756a64e 100644 --- a/lib/groups/item/sites/add/add_request_builder.rb +++ b/lib/groups/item/sites/add/add_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/columns/columns_request_builder.rb b/lib/groups/item/sites/item/columns/columns_request_builder.rb index a948ffc987..6442c9a033 100644 --- a/lib/groups/item/sites/item/columns/columns_request_builder.rb +++ b/lib/groups/item/sites/item/columns/columns_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/columns/item/column_definition_item_request_builder.rb b/lib/groups/item/sites/item/columns/item/column_definition_item_request_builder.rb index dc0eed7b3a..4ff7704eca 100644 --- a/lib/groups/item/sites/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/groups/item/sites/item/columns/item/column_definition_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.rb b/lib/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.rb index d5e3adad18..3c21a09ef7 100644 --- a/lib/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/add_copy/add_copy_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index 62d45baa19..139446ee53 100644 --- a/lib/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/content_types/content_types_request_builder.rb b/lib/groups/item/sites/item/content_types/content_types_request_builder.rb index 7ad4efb16f..95fdc71e25 100644 --- a/lib/groups/item/sites/item/content_types/content_types_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/content_types_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index af83d1fd8c..dd77ee4e7d 100644 --- a/lib/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.rb b/lib/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.rb index c34a947261..add6402d14 100644 --- a/lib/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/column_links/column_links_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb index 8a404b18c9..a0e042c103 100644 --- a/lib/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/columns/columns_request_builder.rb b/lib/groups/item/sites/item/content_types/item/columns/columns_request_builder.rb index 2e052d01bd..17efdf3d2d 100644 --- a/lib/groups/item/sites/item/content_types/item/columns/columns_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/columns/columns_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb index f6aafb99ba..5f9404c493 100644 --- a/lib/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/content_type_item_request_builder.rb b/lib/groups/item/sites/item/content_types/item/content_type_item_request_builder.rb index ab90389727..42b2caafb8 100644 --- a/lib/groups/item/sites/item/content_types/item/content_type_item_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/content_type_item_request_builder.rb @@ -232,7 +232,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index 0ec065e213..6dc43dc9ed 100644 --- a/lib/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/groups/item/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/columns/columns_request_builder.rb b/lib/groups/item/sites/item/lists/item/columns/columns_request_builder.rb index 1f182bf599..3bceda695f 100644 --- a/lib/groups/item/sites/item/lists/item/columns/columns_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/columns/columns_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb index 6167c18a4f..abf5730056 100644 --- a/lib/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb index e12fbeaa00..1c08633f9a 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index b15eb3b600..679056fccf 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/content_types/content_types_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/content_types_request_builder.rb index 23d5a39cf6..8fff14dfc1 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/content_types_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/content_types_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index ffeec9f501..e82973bbdc 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb index 4824a8b1cf..f318aedbdb 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb index b52060778e..9b0c9929ea 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb index 8eb2e4d654..122cba475c 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb index e705c4e0e6..35fd90eced 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb index 0b1622885f..d6695e7d2d 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb @@ -236,7 +236,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index eba1f631b8..007c77b21f 100644 --- a/lib/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb index 0d58fd8cd8..b042a886c8 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb index db0bf9dcbe..18006130d9 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb index 5fb32dc7f3..3e29f93e98 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/drive_item' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../../../groups' require_relative '../../../../../../../../item' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.rb index bb0f3c2562..431f0fb32f 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/fields/fields_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.rb index a4294373c4..bc6b8bf65d 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/list_item_item_request_builder.rb @@ -191,7 +191,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb index 87200f1051..e07edbbd6d 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb index d0d1f2a9cd..6a9de35009 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.rb index 3ecbde15d5..aafd192335 100644 --- a/lib/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/item/versions/versions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/items/items_request_builder.rb b/lib/groups/item/sites/item/lists/item/items/items_request_builder.rb index 2ae5fb3a6b..51d42378b0 100644 --- a/lib/groups/item/sites/item/lists/item/items/items_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/items/items_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/list_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/list_item_request_builder.rb index 8e9d595306..4b4772d84b 100644 --- a/lib/groups/item/sites/item/lists/item/list_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/list_item_request_builder.rb @@ -220,7 +220,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb index 8123891cba..6d24de1bea 100644 --- a/lib/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/operations/operations_request_builder.rb b/lib/groups/item/sites/item/lists/item/operations/operations_request_builder.rb index 25ac6d0912..d7c3d2b717 100644 --- a/lib/groups/item/sites/item/lists/item/operations/operations_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/operations/operations_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb b/lib/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb index ba14627cd6..eb3380be49 100644 --- a/lib/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb b/lib/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb index 9be8971a79..64bae2295d 100644 --- a/lib/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb +++ b/lib/groups/item/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/lists/lists_request_builder.rb b/lib/groups/item/sites/item/lists/lists_request_builder.rb index 0a25740f1a..2da6168106 100644 --- a/lib/groups/item/sites/item/lists/lists_request_builder.rb +++ b/lib/groups/item/sites/item/lists/lists_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb index dbb83073cd..7460ac007a 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb index dfc1d019d1..3ef2e34aba 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb index fb4f471de8..6b167fe98e 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb index 4702371507..4cf404c878 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 1b070b2067..d30d8c19ab 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index f5107e6836..0367d7049f 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb index dc58525e40..dd30f9276e 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index a59de539c0..2b5faa751b 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../../../groups' require_relative '../../../../../../../../../../../../item' require_relative '../../../../../../../../../../../sites' @@ -62,7 +63,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -72,7 +73,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -102,11 +103,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index a2b899fbc3..44a5e97c4b 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -78,7 +78,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index 71a2b93a99..00c0ca6ba2 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 2a275675e6..6ea38260e7 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -76,7 +76,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb index 71be9e6038..d9ce8421cf 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb index c47382955e..882e0a99da 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb index 45c04e48d3..2bec2b9b36 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index b1277eedc6..6e42a7d071 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index a691182f48..6d8f70de7d 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb index 1d9b72e598..ecb9510278 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb index 014cfc2dec..3444fbdc38 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../groups' require_relative '../../../../../../../../../../item' require_relative '../../../../../../../../../sites' @@ -58,7 +59,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -68,7 +69,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -98,11 +99,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 20686f1a47..96a52e474d 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb index d751d682f4..93b6ac0890 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index aa9ce7d7da..bdca2b7c1b 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb index cf5c172830..b70febc543 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb index 4c4de1ad7b..675d4fda8c 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.rb b/lib/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.rb index 283554aa3b..5d9cefef76 100644 --- a/lib/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/notebooks/notebooks_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/onenote_request_builder.rb b/lib/groups/item/sites/item/onenote/onenote_request_builder.rb index b94c268010..98991e3403 100644 --- a/lib/groups/item/sites/item/onenote/onenote_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/onenote_request_builder.rb @@ -230,7 +230,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb b/lib/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb index 8762efd249..884f076ec1 100644 --- a/lib/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/operations/operations_request_builder.rb b/lib/groups/item/sites/item/onenote/operations/operations_request_builder.rb index 1f52b41797..1bd953df03 100644 --- a/lib/groups/item/sites/item/onenote/operations/operations_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/operations/operations_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/pages/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/pages/item/content/content_request_builder.rb index cc0a2b8058..87fab03168 100644 --- a/lib/groups/item/sites/item/onenote/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../models/onenote_page' require_relative '../../../../../../../groups' require_relative '../../../../../../item' require_relative '../../../../../sites' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb index 5d8380a27b..48e69a4880 100644 --- a/lib/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb index 653aca682b..d37ac7384d 100644 --- a/lib/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index d0ba071b6c..08d4ebb140 100644 --- a/lib/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/pages/pages_request_builder.rb b/lib/groups/item/sites/item/onenote/pages/pages_request_builder.rb index ec79effda8..de087c8f42 100644 --- a/lib/groups/item/sites/item/onenote/pages/pages_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/pages/pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/resources/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/resources/item/content/content_request_builder.rb index 05347c7f56..5e9f26bf87 100644 --- a/lib/groups/item/sites/item/onenote/resources/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/resources/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../models/onenote_resource' require_relative '../../../../../../../groups' require_relative '../../../../../../item' require_relative '../../../../../sites' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The content stream ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_resource ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenoteResource.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb b/lib/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb index d704478f7f..9ca4c6c357 100644 --- a/lib/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/resources/resources_request_builder.rb b/lib/groups/item/sites/item/onenote/resources/resources_request_builder.rb index 8c2f8d6253..e82d62c676 100644 --- a/lib/groups/item/sites/item/onenote/resources/resources_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/resources/resources_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb index ed40b28fb1..473f2c44a2 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index d154c898f7..f597abb249 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 6b37167b79..64d7dd1629 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb index 3d13bd70b1..e94a3cd2bf 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index 5407c36775..5493074c05 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../groups' require_relative '../../../../../../../../../../item' require_relative '../../../../../../../../../sites' @@ -58,7 +59,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -68,7 +69,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -98,11 +99,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 9381257d2e..190a08f127 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index d044eaebbc..3154f4d83b 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index fd5cbaf1dd..9502474e81 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb index 60dfd02e4e..a20014615f 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb index 51c5e3883a..4700aff709 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.rb b/lib/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.rb index 34cc19cdca..f47700bfb1 100644 --- a/lib/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/section_groups/section_groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 2c756de82e..b4cf9cbaef 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 0848b103c8..377103cf4e 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb index 6191cc5767..ca02527ccf 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb index 71c7b996af..5c39b5965f 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../groups' require_relative '../../../../../../../../item' require_relative '../../../../../../../sites' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 74ccbfb684..956a21a71c 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb index aa4849e85d..879722feb0 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index c19919fa0f..20f1709bc9 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.rb index a9dfb410fb..f4a88316e9 100644 --- a/lib/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/onenote/sections/sections_request_builder.rb b/lib/groups/item/sites/item/onenote/sections/sections_request_builder.rb index 6939001d2b..4cfefce047 100644 --- a/lib/groups/item/sites/item/onenote/sections/sections_request_builder.rb +++ b/lib/groups/item/sites/item/onenote/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb index 913bd99136..4cf1e0497f 100644 --- a/lib/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/groups/item/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/operations/operations_request_builder.rb b/lib/groups/item/sites/item/operations/operations_request_builder.rb index d2cfadcfc3..1fe5d987ec 100644 --- a/lib/groups/item/sites/item/operations/operations_request_builder.rb +++ b/lib/groups/item/sites/item/operations/operations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/permissions/item/grant/grant_request_builder.rb b/lib/groups/item/sites/item/permissions/item/grant/grant_request_builder.rb index 158568a150..9af96305d2 100644 --- a/lib/groups/item/sites/item/permissions/item/grant/grant_request_builder.rb +++ b/lib/groups/item/sites/item/permissions/item/grant/grant_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/sites/item/permissions/item/permission_item_request_builder.rb b/lib/groups/item/sites/item/permissions/item/permission_item_request_builder.rb index 6d0251db4b..b75137d5f6 100644 --- a/lib/groups/item/sites/item/permissions/item/permission_item_request_builder.rb +++ b/lib/groups/item/sites/item/permissions/item/permission_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/permissions/permissions_request_builder.rb b/lib/groups/item/sites/item/permissions/permissions_request_builder.rb index 737230b2dc..7eaa24f149 100644 --- a/lib/groups/item/sites/item/permissions/permissions_request_builder.rb +++ b/lib/groups/item/sites/item/permissions/permissions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/site_item_request_builder.rb b/lib/groups/item/sites/item/site_item_request_builder.rb index 5782a77941..2a7f04e017 100644 --- a/lib/groups/item/sites/item/site_item_request_builder.rb +++ b/lib/groups/item/sites/item/site_item_request_builder.rb @@ -334,7 +334,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/groups_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/groups_request_builder.rb index 014cd41ecf..8ed12eebf0 100644 --- a/lib/groups/item/sites/item/term_store/groups/groups_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/group_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/group_item_request_builder.rb index 6af5209284..dbc32dabd8 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/group_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/group_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb index beb72835ed..9581643db4 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb index 5a33b53529..0557507a9c 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index 09887a1029..b7cc310a25 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index d5bc7229fc..47310f04dc 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb index e034d114d3..e505601990 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index a795235ca5..ebe5222959 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb index 6acb800af2..b195b0f0f4 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb index 28eaa0ce46..0a668fc332 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb index 3d36eff351..4f3dd9f7a3 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb index 574b47eefb..2a025fd8a4 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb index 0aafeca533..84104d57b7 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb index 8e2dbafb7b..a3237b1c3e 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb @@ -190,7 +190,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb index 8ecc227cea..f9d300f508 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 6cbd4f0fb4..a7d603eeb4 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 8161c5934d..0b25a878e0 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb index 93687ca474..8252568c00 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 76df2567e8..465ca70b2f 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb index 55f87decd7..9ccbbeeeb9 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb index 062a38ab76..0de3e8373a 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb index bb284c17d6..0f4fb73fc6 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.rb index 6806ba32ff..511462dfa6 100644 --- a/lib/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/groups/item/sets/sets_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/children_request_builder.rb index b3140eb6fb..a5aa304c60 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/children_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb index 792d27751f..dc0486f687 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index 9286eae77d..5b89c867fb 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb index 98e8f7e595..40022872c9 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb index e7c67ada68..a2a55feddc 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb index ca8d10f27d..25b8f93772 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb index ba85d7b09f..2db79ce610 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb index 31cefa6cce..9bf164cf35 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb index 23c7a4eac8..58809d9403 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb index aed4a4cb2f..b0f916838c 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb index ca42200af7..4b20bcc76b 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index ae0be7a5b5..ddac00aefd 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb index 5fe76ef98c..55678c1dc2 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb index 6fa1106975..2759e949c7 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb index 14892d34b5..c697abc582 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb index 79044b05d0..7dbd595610 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb index e586e96eae..0371c4ab71 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb index 1eea2f5c9b..46c7dd742a 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb index ac840e7997..ec4619c5e9 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb index 60ff429609..34d8b5b529 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb @@ -186,7 +186,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb index 9e10b473ee..8416440d2e 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index a025c56428..bda96b8276 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 7c91405e18..4fe422e960 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb index 488bc5c067..942529b2f2 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 55951a4bdc..f586bd5cba 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb index 09ebd64c42..b96d9c9b08 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb index 05756a31b8..c79c2ae333 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb index 6bf537296d..02d093fe8c 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb index 1935f03a67..f15b304849 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb index 6722d4fa75..8afcf1e599 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.rb index 4122ddd9bc..40f06562b2 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/relations/relations_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/set_item_request_builder.rb index 0bfc0c425b..18926c1e8d 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/set_item_request_builder.rb @@ -186,7 +186,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb index ace1a0cb82..0b50d3e1b2 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 7f9e42986c..a9616d5bd7 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 0789ad26de..c49620ab26 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb index 1c2ac5a03f..5c3dc983e6 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 63236ff806..033f6c3291 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb index 05cd306947..2a6c31e659 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb index 2fcc7bf50b..bd27436a8e 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.rb index 1b68f2df6d..d39abf9ace 100644 --- a/lib/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/item/terms/terms_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_store/sets/sets_request_builder.rb index 55d1777f5a..8239058d0f 100644 --- a/lib/groups/item/sites/item/term_store/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/sets/sets_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_store/term_store_request_builder.rb b/lib/groups/item/sites/item/term_store/term_store_request_builder.rb index 354b152b1c..acd305b3ae 100644 --- a/lib/groups/item/sites/item/term_store/term_store_request_builder.rb +++ b/lib/groups/item/sites/item/term_store/term_store_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/groups_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/groups_request_builder.rb index 4dd359ef2b..b5af6608f0 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/groups_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/groups_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/group_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/group_item_request_builder.rb index e5a4d9d932..1681691383 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/group_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/group_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb index 7f1f0b0ea3..438fd7374b 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb index 57ce280b85..44c9d62cfe 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index b63ffbb8cc..9e111a8871 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index 5f8b6d9003..c90343fa4b 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb index c0ee11cad2..0a20c7ae8d 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index 1ac902d787..8fff8e4f63 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb index 1aa3b4ca44..8affa541ef 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb index 6963887ae9..9494113121 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb index 3459f98610..cdce96161f 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb index b5ae045f81..d49f8a83fb 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb index 3246e8c360..73ee3b3627 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb index f12324283f..19808c1bf0 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb @@ -192,7 +192,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb index 294e1e740c..f29989b1ae 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 4391a488a4..8af6be9802 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 0d2ac9ea13..bb05d8db51 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -119,7 +119,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb index 252768ee4d..4707ea01a4 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 065c821011..878deb3774 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb index 272ce12dff..3580260f4d 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb index d4a5d8c63a..cb256deecb 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb index 5bb1039141..66f5ab2b1a 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb index ac11ba8830..783839e06a 100644 --- a/lib/groups/item/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/children_request_builder.rb index c6b7a97647..8d8e34986e 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/children_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb index a16303b1a2..51ace12a84 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index 4eb08bb1f9..83fa7c4b94 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index 383bbb9ca4..9e3d78152e 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb index cb5a33a985..118d55bb9f 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index 28569b6884..095cd73dc5 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb index ab347a65ec..da4a7ff654 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb index c362062794..531c04b2eb 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb index 20a3418d4a..df6824d64b 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb index e3246ef640..91901c9cbc 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb index 72c12255d7..d5a652e3fe 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index bc813e6678..0c84d41c8d 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb index f1745f813c..a3cdb510be 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb index d466f68e34..8c3e1e5c61 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb index d1143162e6..a2c43d5dad 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb index bc321eba2a..1e5b7c4f33 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb index 360dd49565..6d0162dd3a 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb @@ -180,7 +180,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb index f178deb86c..2f39a6f068 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb index 3c59663397..4253287f75 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb index 8a0e2cfc13..6fa60cd508 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb @@ -188,7 +188,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb index 2ed8820713..2e4a0bf87a 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index db9d67e182..d30df20023 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 0f520fa6c6..6b1aba635a 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -121,7 +121,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb index b880940fd5..98a640215b 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 4bf6894522..2ce96cb182 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb index 79116ae2e2..b23483d11d 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb index dddbda7b66..2cc7d989c3 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb @@ -180,7 +180,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb index 46a727d2b3..c0906bdce8 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb index 8d02b51e2e..433fbe615a 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb index 1cf38fdd4e..3f95c45660 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb index 8cae50e2f3..1067cc782b 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/set_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/set_item_request_builder.rb index faec3614fe..bc84928747 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/set_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/set_item_request_builder.rb @@ -188,7 +188,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb index 3e533cb68d..5b52fa3018 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 20faa350c0..5eb4822dc3 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 32f3d8b6de..f363ff2375 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb index fe4ba28b5c..8bab1d84bf 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index fd532971eb..2797ed9853 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb index e9695305e8..ef10a44749 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb index 65fbdca5d5..c8424e37dd 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb index 98f1dac766..c697d641b3 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/sets/sets_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/sets/sets_request_builder.rb index 7dd95cce50..cfc86ca830 100644 --- a/lib/groups/item/sites/item/term_stores/item/sets/sets_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/sets/sets_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/item/store_item_request_builder.rb b/lib/groups/item/sites/item/term_stores/item/store_item_request_builder.rb index 83011c642f..e20a7022cd 100644 --- a/lib/groups/item/sites/item/term_stores/item/store_item_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/item/store_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/item/term_stores/term_stores_request_builder.rb b/lib/groups/item/sites/item/term_stores/term_stores_request_builder.rb index 4737ff8e43..b61a09f6e5 100644 --- a/lib/groups/item/sites/item/term_stores/term_stores_request_builder.rb +++ b/lib/groups/item/sites/item/term_stores/term_stores_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/sites/remove/remove_request_builder.rb b/lib/groups/item/sites/remove/remove_request_builder.rb index d7bd7c15be..4d8b7924ce 100644 --- a/lib/groups/item/sites/remove/remove_request_builder.rb +++ b/lib/groups/item/sites/remove/remove_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/archive/archive_request_builder.rb b/lib/groups/item/team/archive/archive_request_builder.rb index 64be0115ed..9d579de52e 100644 --- a/lib/groups/item/team/archive/archive_request_builder.rb +++ b/lib/groups/item/team/archive/archive_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/channels/channels_request_builder.rb b/lib/groups/item/team/channels/channels_request_builder.rb index 467e0a2a58..8888b83850 100644 --- a/lib/groups/item/team/channels/channels_request_builder.rb +++ b/lib/groups/item/team/channels/channels_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/channel_item_request_builder.rb b/lib/groups/item/team/channels/item/channel_item_request_builder.rb index 20bf54468e..ae87f03b40 100644 --- a/lib/groups/item/team/channels/item/channel_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/channel_item_request_builder.rb @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/files_folder/content/content_request_builder.rb b/lib/groups/item/team/channels/item/files_folder/content/content_request_builder.rb index 49b0eb93ee..84828acf0a 100644 --- a/lib/groups/item/team/channels/item/files_folder/content/content_request_builder.rb +++ b/lib/groups/item/team/channels/item/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../groups' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/team/channels/item/members/add/add_request_builder.rb b/lib/groups/item/team/channels/item/members/add/add_request_builder.rb index f9ad37b644..2915515f1d 100644 --- a/lib/groups/item/team/channels/item/members/add/add_request_builder.rb +++ b/lib/groups/item/team/channels/item/members/add/add_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.rb b/lib/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.rb index 9c53cd13d9..65ec93b42b 100644 --- a/lib/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/members/item/conversation_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/members/members_request_builder.rb b/lib/groups/item/team/channels/item/members/members_request_builder.rb index 4b3d24a00b..baec51e573 100644 --- a/lib/groups/item/team/channels/item/members/members_request_builder.rb +++ b/lib/groups/item/team/channels/item/members/members_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.rb index eff1f953a6..f4db7b6bd2 100644 --- a/lib/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/chat_message_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index fc42aad2b7..922d19be1f 100644 --- a/lib/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index bdd9c96f23..3fae9dbe72 100644 --- a/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Groups @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the group entity. + def content() + return MicrosoftGraph::Groups::Item::Team::Channels::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..486c88104d --- /dev/null +++ b/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../groups' +require_relative '../../../../../../../../item' +require_relative '../../../../../../../team' +require_relative '../../../../../../channels' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Groups + module Item + module Team + module Channels + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the group entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/value.rb b/lib/groups/item/team/channels/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb index 542d21e8bf..b008d80da1 100644 --- a/lib/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 05b91b643d..3d62ed71db 100644 --- a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index b4b30063d5..8357c29746 100644 --- a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -13,6 +13,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Groups @@ -30,6 +31,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the group entity. + def content() + return MicrosoftGraph::Groups::Item::Team::Channels::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -134,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..ad507ee616 --- /dev/null +++ b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,121 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../groups' +require_relative '../../../../../../../../../../item' +require_relative '../../../../../../../../../team' +require_relative '../../../../../../../../channels' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Groups + module Item + module Team + module Channels + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the group entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/team/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/groups/item/team/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/groups/item/team/channels/item/messages/item/replies/replies_request_builder.rb b/lib/groups/item/team/channels/item/messages/item/replies/replies_request_builder.rb index 2f8b71c97b..4f958e7711 100644 --- a/lib/groups/item/team/channels/item/messages/item/replies/replies_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/item/replies/replies_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/messages/messages_request_builder.rb b/lib/groups/item/team/channels/item/messages/messages_request_builder.rb index 4f968fe95f..b87dea7173 100644 --- a/lib/groups/item/team/channels/item/messages/messages_request_builder.rb +++ b/lib/groups/item/team/channels/item/messages/messages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 71843a63a6..d2c05df0fe 100644 --- a/lib/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.rb b/lib/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.rb index c08389dcc2..fb768b6bc0 100644 --- a/lib/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/groups/item/team/channels/item/shared_with_teams/shared_with_teams_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.rb b/lib/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.rb index 07e4fa1ed9..cc4625f89a 100644 --- a/lib/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/groups/item/team/channels/item/tabs/item/teams_tab_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/channels/item/tabs/tabs_request_builder.rb b/lib/groups/item/team/channels/item/tabs/tabs_request_builder.rb index 3b892a1191..eac0eaa811 100644 --- a/lib/groups/item/team/channels/item/tabs/tabs_request_builder.rb +++ b/lib/groups/item/team/channels/item/tabs/tabs_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/clone/clone_request_builder.rb b/lib/groups/item/team/clone/clone_request_builder.rb index 7ca0b29f8b..936e975ea7 100644 --- a/lib/groups/item/team/clone/clone_request_builder.rb +++ b/lib/groups/item/team/clone/clone_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/installed_apps/installed_apps_request_builder.rb b/lib/groups/item/team/installed_apps/installed_apps_request_builder.rb index 0c07623a02..7223482ce8 100644 --- a/lib/groups/item/team/installed_apps/installed_apps_request_builder.rb +++ b/lib/groups/item/team/installed_apps/installed_apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.rb index 3d34613160..c92f903f00 100644 --- a/lib/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/groups/item/team/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/members/add/add_request_builder.rb b/lib/groups/item/team/members/add/add_request_builder.rb index da16ae8d17..583c036f5f 100644 --- a/lib/groups/item/team/members/add/add_request_builder.rb +++ b/lib/groups/item/team/members/add/add_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/members/item/conversation_member_item_request_builder.rb b/lib/groups/item/team/members/item/conversation_member_item_request_builder.rb index 36c595de54..d581511074 100644 --- a/lib/groups/item/team/members/item/conversation_member_item_request_builder.rb +++ b/lib/groups/item/team/members/item/conversation_member_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/members/members_request_builder.rb b/lib/groups/item/team/members/members_request_builder.rb index 8a0eb634d1..734ffa3539 100644 --- a/lib/groups/item/team/members/members_request_builder.rb +++ b/lib/groups/item/team/members/members_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/operations/item/teams_async_operation_item_request_builder.rb b/lib/groups/item/team/operations/item/teams_async_operation_item_request_builder.rb index 65c3fa2128..82d5395362 100644 --- a/lib/groups/item/team/operations/item/teams_async_operation_item_request_builder.rb +++ b/lib/groups/item/team/operations/item/teams_async_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/operations/operations_request_builder.rb b/lib/groups/item/team/operations/operations_request_builder.rb index d2b7ea4aaf..3ab81ae752 100644 --- a/lib/groups/item/team/operations/operations_request_builder.rb +++ b/lib/groups/item/team/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/photo/photo_request_builder.rb b/lib/groups/item/team/photo/photo_request_builder.rb index dece9aef73..8f5daf7263 100644 --- a/lib/groups/item/team/photo/photo_request_builder.rb +++ b/lib/groups/item/team/photo/photo_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/photo/value/content_request_builder.rb b/lib/groups/item/team/photo/value/content_request_builder.rb index 9ddd978670..1c3cbfa176 100644 --- a/lib/groups/item/team/photo/value/content_request_builder.rb +++ b/lib/groups/item/team/photo/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in groups ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from groups @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/team/primary_channel/files_folder/content/content_request_builder.rb b/lib/groups/item/team/primary_channel/files_folder/content/content_request_builder.rb index 8cee6683c3..470c5f5dbc 100644 --- a/lib/groups/item/team/primary_channel/files_folder/content/content_request_builder.rb +++ b/lib/groups/item/team/primary_channel/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/drive_item' require_relative '../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../groups' require_relative '../../../../item' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/groups/item/team/primary_channel/members/add/add_request_builder.rb b/lib/groups/item/team/primary_channel/members/add/add_request_builder.rb index 8ede516173..742a37b9b7 100644 --- a/lib/groups/item/team/primary_channel/members/add/add_request_builder.rb +++ b/lib/groups/item/team/primary_channel/members/add/add_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.rb b/lib/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.rb index 37ef872ba0..5cdb69baed 100644 --- a/lib/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/members/item/conversation_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/members/members_request_builder.rb b/lib/groups/item/team/primary_channel/members/members_request_builder.rb index 2eb3725459..2cfdc78db1 100644 --- a/lib/groups/item/team/primary_channel/members/members_request_builder.rb +++ b/lib/groups/item/team/primary_channel/members/members_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.rb index bb5ea824e8..8eda87ce87 100644 --- a/lib/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/chat_message_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb index 4181718cd6..b8f9a9a8ed 100644 --- a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index eb831daf6c..ee1096a30d 100644 --- a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -10,6 +10,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Groups @@ -24,6 +25,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the group entity. + def content() + return MicrosoftGraph::Groups::Item::Team::PrimaryChannel::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -128,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..1dd919dba5 --- /dev/null +++ b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,112 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../groups' +require_relative '../../../../../../../item' +require_relative '../../../../../../team' +require_relative '../../../../../primary_channel' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Groups + module Item + module Team + module PrimaryChannel + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the group entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/value.rb b/lib/groups/item/team/primary_channel/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb index 4f3e387107..b7d95f481f 100644 --- a/lib/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index dcf32dcfc8..09e0350360 100644 --- a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 16281a0e24..f2d6c0be85 100644 --- a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -12,6 +12,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Groups @@ -28,6 +29,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the group entity. + def content() + return MicrosoftGraph::Groups::Item::Team::PrimaryChannel::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -132,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..6c832226a1 --- /dev/null +++ b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,118 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../groups' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../team' +require_relative '../../../../../../../primary_channel' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Groups + module Item + module Team + module PrimaryChannel + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the group entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/team/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from groups + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in groups + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/groups/item/team/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.rb b/lib/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.rb index 8cec9baa0c..a4103bdebb 100644 --- a/lib/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/item/replies/replies_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb b/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb index 69f6324da6..42bae6aaf4 100644 --- a/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb +++ b/lib/groups/item/team/primary_channel/messages/messages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/primary_channel_request_builder.rb b/lib/groups/item/team/primary_channel/primary_channel_request_builder.rb index 43379dbfb4..b38db02798 100644 --- a/lib/groups/item/team/primary_channel/primary_channel_request_builder.rb +++ b/lib/groups/item/team/primary_channel/primary_channel_request_builder.rb @@ -222,7 +222,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index c589518b36..fe6c6c8333 100644 --- a/lib/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb b/lib/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb index 7fbb5849f1..6c1b23b257 100644 --- a/lib/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/groups/item/team/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.rb b/lib/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.rb index 90e3eee180..d2a8a438a0 100644 --- a/lib/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/groups/item/team/primary_channel/tabs/item/teams_tab_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/primary_channel/tabs/tabs_request_builder.rb b/lib/groups/item/team/primary_channel/tabs/tabs_request_builder.rb index 6de56bc7a7..44736eb2cb 100644 --- a/lib/groups/item/team/primary_channel/tabs/tabs_request_builder.rb +++ b/lib/groups/item/team/primary_channel/tabs/tabs_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb b/lib/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb index 8fb0c7cef0..7eaacbe0a2 100644 --- a/lib/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb +++ b/lib/groups/item/team/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb b/lib/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb index cd30c1afc7..a6f982f70e 100644 --- a/lib/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb +++ b/lib/groups/item/team/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb b/lib/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb index 6b4b861232..edc28fab59 100644 --- a/lib/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb +++ b/lib/groups/item/team/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb b/lib/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb index 4df8e3cae5..b576b13a55 100644 --- a/lib/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb +++ b/lib/groups/item/team/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.rb b/lib/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.rb index 9451f15b87..de0463dcea 100644 --- a/lib/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.rb +++ b/lib/groups/item/team/schedule/open_shifts/item/open_shift_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/open_shifts/open_shifts_request_builder.rb b/lib/groups/item/team/schedule/open_shifts/open_shifts_request_builder.rb index a848382b8c..54c70381cb 100644 --- a/lib/groups/item/team/schedule/open_shifts/open_shifts_request_builder.rb +++ b/lib/groups/item/team/schedule/open_shifts/open_shifts_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/schedule_request_builder.rb b/lib/groups/item/team/schedule/schedule_request_builder.rb index 0b7363eba1..2198522c7b 100644 --- a/lib/groups/item/team/schedule/schedule_request_builder.rb +++ b/lib/groups/item/team/schedule/schedule_request_builder.rb @@ -288,7 +288,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb b/lib/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb index 845ba34363..e046e74bf9 100644 --- a/lib/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb +++ b/lib/groups/item/team/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.rb b/lib/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.rb index 7d7db1ea70..c1abcb6675 100644 --- a/lib/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.rb +++ b/lib/groups/item/team/schedule/scheduling_groups/scheduling_groups_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/share/share_request_builder.rb b/lib/groups/item/team/schedule/share/share_request_builder.rb index 82b3c2af07..bb7abdcbaa 100644 --- a/lib/groups/item/team/schedule/share/share_request_builder.rb +++ b/lib/groups/item/team/schedule/share/share_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/schedule/shifts/item/shift_item_request_builder.rb b/lib/groups/item/team/schedule/shifts/item/shift_item_request_builder.rb index 892482c399..118760b8f1 100644 --- a/lib/groups/item/team/schedule/shifts/item/shift_item_request_builder.rb +++ b/lib/groups/item/team/schedule/shifts/item/shift_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/shifts/shifts_request_builder.rb b/lib/groups/item/team/schedule/shifts/shifts_request_builder.rb index bb574be051..f2bb2195f5 100644 --- a/lib/groups/item/team/schedule/shifts/shifts_request_builder.rb +++ b/lib/groups/item/team/schedule/shifts/shifts_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb b/lib/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb index 2cc6696d5d..bd1de744a7 100644 --- a/lib/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb +++ b/lib/groups/item/team/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb b/lib/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb index 12bfa6dcb4..f1e2646c01 100644 --- a/lib/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb +++ b/lib/groups/item/team/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb b/lib/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb index c4b5c5edee..0e1dddd64c 100644 --- a/lib/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb +++ b/lib/groups/item/team/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.rb b/lib/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.rb index 96cf09659d..3d72b0ab7a 100644 --- a/lib/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.rb +++ b/lib/groups/item/team/schedule/time_off_reasons/time_off_reasons_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.rb b/lib/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.rb index f99dc11fde..1df09b5a5f 100644 --- a/lib/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.rb +++ b/lib/groups/item/team/schedule/time_off_requests/item/time_off_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.rb b/lib/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.rb index 1e8ab94361..e0eefe7e92 100644 --- a/lib/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.rb +++ b/lib/groups/item/team/schedule/time_off_requests/time_off_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/times_off/item/time_off_item_request_builder.rb b/lib/groups/item/team/schedule/times_off/item/time_off_item_request_builder.rb index 60d4244ab4..3e10d5480a 100644 --- a/lib/groups/item/team/schedule/times_off/item/time_off_item_request_builder.rb +++ b/lib/groups/item/team/schedule/times_off/item/time_off_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/schedule/times_off/times_off_request_builder.rb b/lib/groups/item/team/schedule/times_off/times_off_request_builder.rb index 7c48ecdf4e..3b48d3a3bc 100644 --- a/lib/groups/item/team/schedule/times_off/times_off_request_builder.rb +++ b/lib/groups/item/team/schedule/times_off/times_off_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/send_activity_notification/send_activity_notification_request_builder.rb b/lib/groups/item/team/send_activity_notification/send_activity_notification_request_builder.rb index e3ea77c7eb..43abac0b29 100644 --- a/lib/groups/item/team/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/groups/item/team/send_activity_notification/send_activity_notification_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.rb b/lib/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.rb index 7a64a3a15d..1e0df62520 100644 --- a/lib/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.rb +++ b/lib/groups/item/team/tags/item/members/item/teamwork_tag_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/tags/item/members/members_request_builder.rb b/lib/groups/item/team/tags/item/members/members_request_builder.rb index bad7d7dee6..6fdfb82ac1 100644 --- a/lib/groups/item/team/tags/item/members/members_request_builder.rb +++ b/lib/groups/item/team/tags/item/members/members_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/tags/item/teamwork_tag_item_request_builder.rb b/lib/groups/item/team/tags/item/teamwork_tag_item_request_builder.rb index 927db5c44f..47fd79af69 100644 --- a/lib/groups/item/team/tags/item/teamwork_tag_item_request_builder.rb +++ b/lib/groups/item/team/tags/item/teamwork_tag_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/tags/tags_request_builder.rb b/lib/groups/item/team/tags/tags_request_builder.rb index 98f0068ccf..89c5dc5517 100644 --- a/lib/groups/item/team/tags/tags_request_builder.rb +++ b/lib/groups/item/team/tags/tags_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/team/team_request_builder.rb b/lib/groups/item/team/team_request_builder.rb index d36ed13a26..ff4fe78a75 100644 --- a/lib/groups/item/team/team_request_builder.rb +++ b/lib/groups/item/team/team_request_builder.rb @@ -227,14 +227,14 @@ def operations_by_id(id) return MicrosoftGraph::Groups::Item::Team::Operations::Item::TeamsAsyncOperationItemRequestBuilder.new(url_tpl_params, @request_adapter) end ## - ## Create a new team under a group. In order to create a team, the group must have a least one owner. If the group was created less than 15 minutes ago, it's possible for the Create team call to fail with a 404 error code due to replication delays. The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + ## Update the navigation property team in groups ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of team ## - def patch(body, request_configuration=nil) + def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? - request_info = self.to_patch_request_information( + request_info = self.to_put_request_information( body, request_configuration ) error_mapping = Hash.new @@ -288,23 +288,23 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Create a new team under a group. In order to create a team, the group must have a least one owner. If the group was created less than 15 minutes ago, it's possible for the Create team call to fail with a 404 error code due to replication delays. The recommended pattern is to retry the Create team call three times, with a 10 second delay between calls. + ## Update the navigation property team in groups ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## - def to_patch_request_information(body, request_configuration=nil) + def to_put_request_information(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? request_info = MicrosoftKiotaAbstractions::RequestInformation.new() request_info.url_template = @url_template request_info.path_parameters = @path_parameters - request_info.http_method = :PATCH + request_info.http_method = :PUT request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/conversation_thread_item_request_builder.rb b/lib/groups/item/threads/item/conversation_thread_item_request_builder.rb index 92c3e547dd..7d82054f19 100644 --- a/lib/groups/item/threads/item/conversation_thread_item_request_builder.rb +++ b/lib/groups/item/threads/item/conversation_thread_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/attachments/attachments_request_builder.rb b/lib/groups/item/threads/item/posts/item/attachments/attachments_request_builder.rb index 9cdb3817dd..17470b8d85 100644 --- a/lib/groups/item/threads/item/posts/item/attachments/attachments_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/attachments/attachments_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 1bbc2a856d..284936c10e 100644 --- a/lib/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/extensions/extensions_request_builder.rb b/lib/groups/item/threads/item/posts/item/extensions/extensions_request_builder.rb index 9f95d9f0ce..71fd3d6682 100644 --- a/lib/groups/item/threads/item/posts/item/extensions/extensions_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb index 74f92a94e6..7687edf1f2 100644 --- a/lib/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/forward/forward_request_builder.rb b/lib/groups/item/threads/item/posts/item/forward/forward_request_builder.rb index 41b20fbd67..6b1003cc8f 100644 --- a/lib/groups/item/threads/item/posts/item/forward/forward_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb index 585e059a12..b10ae5db37 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/attachments_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb index 76576c0c2c..c98c4839e9 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb index 1961134017..728ee0ae74 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb index 2e4de04f1e..2ffa401e1f 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb index 64b18578da..fe61258fe2 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 434277256b..d015fb2cca 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 15c443e3c2..913bf794e4 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb index 9741614b53..8e03ecee61 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/reply/reply_request_builder.rb @@ -33,7 +33,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/inReplyTo/reply") end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -49,7 +49,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 28e3b49d22..5f8725ee2e 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb index ad27d8e8e8..0009451677 100644 --- a/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/in_reply_to/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 99dc90b101..a7a990b4d2 100644 --- a/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 3f94097451..3f434a73f0 100644 --- a/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb b/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb index 89a2d34f23..33e457b80f 100644 --- a/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/reply/reply_request_builder.rb @@ -31,7 +31,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts/{post%2Did}/reply") end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -47,7 +47,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Reply to a post and add a new post to the specified thread in a group conversation. You can specify both the parent conversation and thread in the request, or, you can specify just the parent thread without the parent conversation. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/groups/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 052a675820..8a66918b87 100644 --- a/lib/groups/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/groups/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index fc341fbc7c..bf7d6add43 100644 --- a/lib/groups/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/groups/item/threads/item/posts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/threads/item/posts/posts_request_builder.rb b/lib/groups/item/threads/item/posts/posts_request_builder.rb index 397d05e615..5ceb38561f 100644 --- a/lib/groups/item/threads/item/posts/posts_request_builder.rb +++ b/lib/groups/item/threads/item/posts/posts_request_builder.rb @@ -34,7 +34,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/posts{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + ## Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of post_collection_response ## @@ -48,7 +48,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::PostCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + ## Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -67,7 +67,7 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the properties and relationships of a post in a specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. Since the **post** resource supports extensions, you can also use the `GET` operation to get custom properties and extension data in a **post** instance. + # Get the posts of the specified thread. You can specify both the parent conversation and the thread, or, you can specify the thread without referencing the parent conversation. class PostsRequestBuilderGetQueryParameters ## diff --git a/lib/groups/item/threads/item/reply/reply_request_builder.rb b/lib/groups/item/threads/item/reply/reply_request_builder.rb index 985baa4c9f..d30bf32e94 100644 --- a/lib/groups/item/threads/item/reply/reply_request_builder.rb +++ b/lib/groups/item/threads/item/reply/reply_request_builder.rb @@ -27,7 +27,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/groups/{group%2Did}/threads/{conversationThread%2Did}/reply") end ## - ## 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. + ## 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. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of void @@ -43,7 +43,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, nil, error_mapping) end ## - ## 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. + ## 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. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/item/threads/threads_request_builder.rb b/lib/groups/item/threads/threads_request_builder.rb index fe8fa22d45..a304df3cf4 100644 --- a/lib/groups/item/threads/threads_request_builder.rb +++ b/lib/groups/item/threads/threads_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/groups/item/validate_properties/validate_properties_request_builder.rb b/lib/groups/item/validate_properties/validate_properties_request_builder.rb index 75baa912ec..8ee6da62b0 100644 --- a/lib/groups/item/validate_properties/validate_properties_request_builder.rb +++ b/lib/groups/item/validate_properties/validate_properties_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/groups/validate_properties/validate_properties_request_builder.rb b/lib/groups/validate_properties/validate_properties_request_builder.rb index d3e68a541c..c4a9309afc 100644 --- a/lib/groups/validate_properties/validate_properties_request_builder.rb +++ b/lib/groups/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity/api_connectors/api_connectors_request_builder.rb b/lib/identity/api_connectors/api_connectors_request_builder.rb index 8c746d72bb..f0c781ecc0 100644 --- a/lib/identity/api_connectors/api_connectors_request_builder.rb +++ b/lib/identity/api_connectors/api_connectors_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/api_connectors/item/identity_api_connector_item_request_builder.rb b/lib/identity/api_connectors/item/identity_api_connector_item_request_builder.rb index c7ff4d56a0..571f65c189 100644 --- a/lib/identity/api_connectors/item/identity_api_connector_item_request_builder.rb +++ b/lib/identity/api_connectors/item/identity_api_connector_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.rb b/lib/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.rb index 70746fb64f..7dc925f885 100644 --- a/lib/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.rb +++ b/lib/identity/api_connectors/item/upload_client_certificate/upload_client_certificate_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity/b2x_user_flows/b2x_user_flows_request_builder.rb b/lib/identity/b2x_user_flows/b2x_user_flows_request_builder.rb index 45d9e4b416..0386a7ed50 100644 --- a/lib/identity/b2x_user_flows/b2x_user_flows_request_builder.rb +++ b/lib/identity/b2x_user_flows/b2x_user_flows_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.rb b/lib/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.rb index 3c44afeff0..0bbb71ae65 100644 --- a/lib/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/b2x_identity_user_flow_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.rb index 00a50d07d8..4db2079667 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/default_pages/default_pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.rb index f83514c62f..a3be66d377 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/user_flow_language_page_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.rb index 250b63d2dc..0839cc29ce 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/default_pages/item/value/content_request_builder.rb @@ -50,7 +50,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property defaultPages in identity ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +60,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property defaultPages from identity @@ -94,7 +94,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.rb index e11b5fc954..62a966beea 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/user_flow_language_page_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.rb index e6ae977663..6e31896ca7 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/item/value/content_request_builder.rb @@ -50,7 +50,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property overridesPages in identity ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +60,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property overridesPages from identity @@ -94,7 +94,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.rb index 35c5a439cf..c6fa718a52 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/overrides_pages/overrides_pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.rb index 5bad9ca929..e55984e4e3 100644 --- a/lib/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/item/user_flow_language_configuration_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/languages/languages_request_builder.rb b/lib/identity/b2x_user_flows/item/languages/languages_request_builder.rb index 157484ee24..10cfafd469 100644 --- a/lib/identity/b2x_user_flows/item/languages/languages_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/languages/languages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.rb b/lib/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.rb index f73b3dea92..ef6ab1b2a5 100644 --- a/lib/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/user_attribute_assignments/item/identity_user_flow_attribute_assignment_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.rb b/lib/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.rb index e0fe6e852b..d7823c2564 100644 --- a/lib/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/user_attribute_assignments/set_order/set_order_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.rb b/lib/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.rb index b7813c7aab..45c7de0804 100644 --- a/lib/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/user_attribute_assignments/user_attribute_assignments_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.rb b/lib/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.rb index d228fa2065..2bf3993ea7 100644 --- a/lib/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.rb +++ b/lib/identity/b2x_user_flows/item/user_flow_identity_providers/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.rb b/lib/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.rb index 6fa45820c7..3371460486 100644 --- a/lib/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.rb +++ b/lib/identity/conditional_access/authentication_context_class_references/authentication_context_class_references_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.rb b/lib/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.rb index 88f59a0262..152ced1b26 100644 --- a/lib/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.rb +++ b/lib/identity/conditional_access/authentication_context_class_references/item/authentication_context_class_reference_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/conditional_access_request_builder.rb b/lib/identity/conditional_access/conditional_access_request_builder.rb index c79febc135..d65efb33d0 100644 --- a/lib/identity/conditional_access/conditional_access_request_builder.rb +++ b/lib/identity/conditional_access/conditional_access_request_builder.rb @@ -188,7 +188,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/named_locations/item/named_location_item_request_builder.rb b/lib/identity/conditional_access/named_locations/item/named_location_item_request_builder.rb index 73ffbbed09..443e226c88 100644 --- a/lib/identity/conditional_access/named_locations/item/named_location_item_request_builder.rb +++ b/lib/identity/conditional_access/named_locations/item/named_location_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/named_locations/named_locations_request_builder.rb b/lib/identity/conditional_access/named_locations/named_locations_request_builder.rb index 7a546c217a..c117795dd7 100644 --- a/lib/identity/conditional_access/named_locations/named_locations_request_builder.rb +++ b/lib/identity/conditional_access/named_locations/named_locations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.rb b/lib/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.rb index 742fb47e3e..3589bccab4 100644 --- a/lib/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.rb +++ b/lib/identity/conditional_access/policies/item/conditional_access_policy_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/conditional_access/policies/policies_request_builder.rb b/lib/identity/conditional_access/policies/policies_request_builder.rb index 095bc7da68..a3ab8a50e6 100644 --- a/lib/identity/conditional_access/policies/policies_request_builder.rb +++ b/lib/identity/conditional_access/policies/policies_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/identity_providers/identity_providers_request_builder.rb b/lib/identity/identity_providers/identity_providers_request_builder.rb index dcb2b9b9d8..bd0a613fbc 100644 --- a/lib/identity/identity_providers/identity_providers_request_builder.rb +++ b/lib/identity/identity_providers/identity_providers_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/identity_providers/item/identity_provider_base_item_request_builder.rb b/lib/identity/identity_providers/item/identity_provider_base_item_request_builder.rb index 7a1bf0323d..01638e7f7b 100644 --- a/lib/identity/identity_providers/item/identity_provider_base_item_request_builder.rb +++ b/lib/identity/identity_providers/item/identity_provider_base_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/identity_request_builder.rb b/lib/identity/identity_request_builder.rb index 85610b4ff3..2615f46c9a 100644 --- a/lib/identity/identity_request_builder.rb +++ b/lib/identity/identity_request_builder.rb @@ -151,7 +151,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.rb b/lib/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.rb index 3e96654119..f2511dc22a 100644 --- a/lib/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.rb +++ b/lib/identity/user_flow_attributes/item/identity_user_flow_attribute_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity/user_flow_attributes/user_flow_attributes_request_builder.rb b/lib/identity/user_flow_attributes/user_flow_attributes_request_builder.rb index 0a397f532d..2160b9703d 100644 --- a/lib/identity/user_flow_attributes/user_flow_attributes_request_builder.rb +++ b/lib/identity/user_flow_attributes/user_flow_attributes_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/access_reviews_request_builder.rb b/lib/identity_governance/access_reviews/access_reviews_request_builder.rb index d6d03ec034..005a170a3e 100644 --- a/lib/identity_governance/access_reviews/access_reviews_request_builder.rb +++ b/lib/identity_governance/access_reviews/access_reviews_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/definitions_request_builder.rb b/lib/identity_governance/access_reviews/definitions/definitions_request_builder.rb index f47abedc7a..cd0bf7f114 100644 --- a/lib/identity_governance/access_reviews/definitions/definitions_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/definitions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.rb index c3da620f09..bbc412a84f 100644 --- a/lib/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/access_review_schedule_definition_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.rb index ed61bfac8b..d0a85f6301 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/instances_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.rb index 711dd9d049..77c2192e14 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/access_review_instance_item_request_builder.rb @@ -214,7 +214,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.rb index 80ce18d51b..9d9d19c4d2 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/batch_record_decisions/batch_record_decisions_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.rb index 4be3714dd6..af9d59dfa6 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/contacted_reviewers_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.rb index a06807f5f2..04afbd8fe2 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/contacted_reviewers/item/access_review_reviewer_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.rb index 723bd7b3c1..aa549d841d 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/decisions_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb index 27c9ebb5fb..3504bf81e7 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.rb index a802f3d57a..c531ee798f 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/access_review_stage_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.rb index 7473424867..b506f86cc1 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/decisions_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb index b408278cd8..c7fc1c5f50 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/item/decisions/item/access_review_instance_decision_item_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.rb b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.rb index 6a20c5cc8d..6a62ff823d 100644 --- a/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.rb +++ b/lib/identity_governance/access_reviews/definitions/item/instances/item/stages/stages_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.rb b/lib/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.rb index 5a2d2f48af..977f5d45f6 100644 --- a/lib/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.rb +++ b/lib/identity_governance/access_reviews/history_definitions/history_definitions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.rb b/lib/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.rb index 26c7153168..71eee5919b 100644 --- a/lib/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/history_definitions/item/access_review_history_definition_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.rb b/lib/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.rb index 1f0563b736..95b744efb3 100644 --- a/lib/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.rb +++ b/lib/identity_governance/access_reviews/history_definitions/item/instances/instances_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.rb b/lib/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.rb index c84c3662aa..b8754572bc 100644 --- a/lib/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.rb +++ b/lib/identity_governance/access_reviews/history_definitions/item/instances/item/access_review_history_instance_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_request_builder.rb b/lib/identity_governance/app_consent/app_consent_request_builder.rb index 75321e0a47..448f64f06f 100644 --- a/lib/identity_governance/app_consent/app_consent_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.rb index 199381f49e..528c7d25df 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/app_consent_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.rb index 6be33cb7ab..8619ffd549 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/app_consent_request_item_request_builder.rb @@ -127,7 +127,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.rb index 7d5ec238eb..e3f2af6abc 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/approval_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/item/approval_stage_item_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/item/approval_stage_item_request_builder.rb index d897b76451..a5a066e09e 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/item/approval_stage_item_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/item/approval_stage_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/stages_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/stages_request_builder.rb index feb6405d10..846a3c8d47 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/stages_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/approval/stages/stages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.rb index fe37e97c9d..546b773149 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/item/user_consent_request_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.rb b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.rb index 8713ff855e..2a099b312d 100644 --- a/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.rb +++ b/lib/identity_governance/app_consent/app_consent_requests/item/user_consent_requests/user_consent_requests_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.rb b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.rb index e63e0c8bcb..1be716ecad 100644 --- a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/access_package_assignment_approvals_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.rb b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.rb index a4da7deb23..a3f209207e 100644 --- a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/approval_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/item/approval_stage_item_request_builder.rb b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/item/approval_stage_item_request_builder.rb index d185e1175d..41f65bfd7b 100644 --- a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/item/approval_stage_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/item/approval_stage_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/stages_request_builder.rb b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/stages_request_builder.rb index 329996a7f4..7b01da4a03 100644 --- a/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/stages_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_package_assignment_approvals/item/stages/stages_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/access_packages_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/access_packages_request_builder.rb index 86fb4ebb03..d7d50941af 100644 --- a/lib/identity_governance/entitlement_management/access_packages/access_packages_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/access_packages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.rb index 702fafb148..e5d9d59189 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/access_package_item_request_builder.rb @@ -204,7 +204,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/assignment_policies_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/assignment_policies_request_builder.rb index 3df4b39ab7..cf58fb9d2b 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/assignment_policies_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/assignment_policies_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb index a27a27c1ed..2788a6d2fd 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb index 3f216d8745..01d16de0b1 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb index b431be737e..0adb9a8d1d 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb index a4025a15e3..d3fcce2d1f 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb @@ -94,7 +94,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.rb index 3c6c9a605d..172b05d9f4 100644 --- a/lib/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/access_packages/item/incompatible_groups/ref/ref_request_builder.rb @@ -94,7 +94,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_policies/assignment_policies_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_policies/assignment_policies_request_builder.rb index 2f4dedd81a..20e0e802da 100644 --- a/lib/identity_governance/entitlement_management/assignment_policies/assignment_policies_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_policies/assignment_policies_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb index 12fd416386..a5324b93d9 100644 --- a/lib/identity_governance/entitlement_management/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb @@ -150,7 +150,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb index 9a14dc86cc..cdbf19a4cf 100644 --- a/lib/identity_governance/entitlement_management/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_policies/item/questions/questions_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_policies/item/questions/questions_request_builder.rb index 3fa2aebe15..b3a6a5dbfc 100644 --- a/lib/identity_governance/entitlement_management/assignment_policies/item/questions/questions_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_policies/item/questions/questions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.rb index 092f10738d..cf95b807fd 100644 --- a/lib/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_requests/assignment_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.rb b/lib/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.rb index 15ac2fd279..ec3c5656a1 100644 --- a/lib/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignment_requests/item/access_package_assignment_request_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignments/assignments_request_builder.rb b/lib/identity_governance/entitlement_management/assignments/assignments_request_builder.rb index 516d56a448..42efdc8a21 100644 --- a/lib/identity_governance/entitlement_management/assignments/assignments_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignments/assignments_request_builder.rb @@ -123,7 +123,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/assignments/item/access_package_assignment_item_request_builder.rb b/lib/identity_governance/entitlement_management/assignments/item/access_package_assignment_item_request_builder.rb index fe8a3492b3..d53715adc4 100644 --- a/lib/identity_governance/entitlement_management/assignments/item/access_package_assignment_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/assignments/item/access_package_assignment_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/catalogs_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/catalogs_request_builder.rb index 95f88d93c9..6fb0e84ea9 100644 --- a/lib/identity_governance/entitlement_management/catalogs/catalogs_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/catalogs_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_package_catalog_item_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_package_catalog_item_request_builder.rb index e83e4bb404..16923220dc 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_package_catalog_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_package_catalog_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/access_packages_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/access_packages_request_builder.rb index b2514cfc5f..12386bdea0 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/access_packages_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/access_packages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/access_package_item_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/access_package_item_request_builder.rb index b4a9787e8d..5eafd4b29d 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/access_package_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/access_package_item_request_builder.rb @@ -208,7 +208,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/assignment_policies_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/assignment_policies_request_builder.rb index c972cb5b2a..f6a2cbc5ff 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/assignment_policies_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/assignment_policies_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb index 7b9523f8dd..3bb7eb1a4e 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/access_package_assignment_policy_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb index e6f719bc98..13060695a6 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/item/access_package_question_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb index 460504d4e1..126466e97b 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/assignment_policies/item/questions/questions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb index f7f7b9143f..7821462fd1 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_access_packages/ref/ref_request_builder.rb @@ -98,7 +98,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_groups/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_groups/ref/ref_request_builder.rb index 467f9b77f7..3993b20834 100644 --- a/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_groups/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/catalogs/item/access_packages/item/incompatible_groups/ref/ref_request_builder.rb @@ -98,7 +98,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.rb index e0bacad96d..dcba87f316 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/connected_organizations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.rb index 3d639bf87f..f10a53460f 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/connected_organization_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.rb index a618ba12c1..3a94690f2b 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/external_sponsors_request_builder.rb @@ -129,7 +129,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb index f16d2c1fd7..c4e37104a7 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_by_ids/get_by_ids_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_by_ids/get_by_ids_request_builder.rb index 555f5e328c..56fb04eacc 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/get_by_ids/get_by_ids_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.rb index 693c575eeb..bac657c4bb 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/ref/ref_request_builder.rb @@ -94,7 +94,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/validate_properties/validate_properties_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/validate_properties/validate_properties_request_builder.rb index 67d55f2e5e..b18b2513c2 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/validate_properties/validate_properties_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/external_sponsors/validate_properties/validate_properties_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb index ad4f5ffa53..9591918518 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_by_ids/get_by_ids_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_by_ids/get_by_ids_request_builder.rb index a84da72e63..d062c28c13 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/get_by_ids/get_by_ids_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.rb index 8e2f0be8bc..b08dfcd0b0 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/internal_sponsors_request_builder.rb @@ -129,7 +129,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.rb index a9cbe20069..3ef46555bb 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/ref/ref_request_builder.rb @@ -94,7 +94,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/validate_properties/validate_properties_request_builder.rb b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/validate_properties/validate_properties_request_builder.rb index 45f4c5b4ae..bec5389f9b 100644 --- a/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/validate_properties/validate_properties_request_builder.rb +++ b/lib/identity_governance/entitlement_management/connected_organizations/item/internal_sponsors/validate_properties/validate_properties_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_governance/entitlement_management/entitlement_management_request_builder.rb b/lib/identity_governance/entitlement_management/entitlement_management_request_builder.rb index 1bba54065d..497d2022c4 100644 --- a/lib/identity_governance/entitlement_management/entitlement_management_request_builder.rb +++ b/lib/identity_governance/entitlement_management/entitlement_management_request_builder.rb @@ -248,7 +248,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/entitlement_management/settings/settings_request_builder.rb b/lib/identity_governance/entitlement_management/settings/settings_request_builder.rb index 2fe1561469..6c6dce0cd5 100644 --- a/lib/identity_governance/entitlement_management/settings/settings_request_builder.rb +++ b/lib/identity_governance/entitlement_management/settings/settings_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/identity_governance_request_builder.rb b/lib/identity_governance/identity_governance_request_builder.rb index 8ba6a423ea..d1d3b21dca 100644 --- a/lib/identity_governance/identity_governance_request_builder.rb +++ b/lib/identity_governance/identity_governance_request_builder.rb @@ -108,7 +108,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.rb b/lib/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.rb index 25623f2c00..0022b98197 100644 --- a/lib/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreement_acceptances/agreement_acceptances_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb index 4cf2930da3..4aaea2227a 100644 --- a/lib/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreement_acceptances/item/agreement_acceptance_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/agreements_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/agreements_request_builder.rb index 3031d48891..133bbbda0d 100644 --- a/lib/identity_governance/terms_of_use/agreements/agreements_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/agreements_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.rb index c2352c6918..942b558ff6 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/acceptances/acceptances_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb index d4058ca9fe..81a1ff4424 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/acceptances/item/agreement_acceptance_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.rb index b65d5ff7ad..cf0a13a752 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/agreement_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/file/file_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/file/file_request_builder.rb index 932b0de2ec..1e90038bff 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/file/file_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/file/file_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb index 5ed6c9d814..fad45ead20 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/agreement_file_localization_item_request_builder.rb @@ -133,7 +133,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb index 67d6e6c254..4acfba950f 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/item/agreement_file_version_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.rb index 9fa5ec901d..451187d9da 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/item/versions/versions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.rb index 8a4bc167f0..7a6ec16cdb 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/file/localizations/localizations_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/files/files_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/files/files_request_builder.rb index 588f502064..8b3b184a04 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/files/files_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/files/files_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.rb index ae1d277ca6..293d1cd210 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/files/item/agreement_file_localization_item_request_builder.rb @@ -131,7 +131,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb index 7d8525f46a..6e3309f0fc 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/item/agreement_file_version_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.rb b/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.rb index 57228a4888..2f7f4bbd32 100644 --- a/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.rb +++ b/lib/identity_governance/terms_of_use/agreements/item/files/item/versions/versions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_governance/terms_of_use/terms_of_use_request_builder.rb b/lib/identity_governance/terms_of_use/terms_of_use_request_builder.rb index c5dec2996a..dc9a488e96 100644 --- a/lib/identity_governance/terms_of_use/terms_of_use_request_builder.rb +++ b/lib/identity_governance/terms_of_use/terms_of_use_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/identity_protection_request_builder.rb b/lib/identity_protection/identity_protection_request_builder.rb index 6f12fbf54d..60f38a5c7f 100644 --- a/lib/identity_protection/identity_protection_request_builder.rb +++ b/lib/identity_protection/identity_protection_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risk_detections/item/risk_detection_item_request_builder.rb b/lib/identity_protection/risk_detections/item/risk_detection_item_request_builder.rb index acd3adad14..e6c29f9d13 100644 --- a/lib/identity_protection/risk_detections/item/risk_detection_item_request_builder.rb +++ b/lib/identity_protection/risk_detections/item/risk_detection_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risk_detections/risk_detections_request_builder.rb b/lib/identity_protection/risk_detections/risk_detections_request_builder.rb index 397d2d50b5..8a97d56bb5 100644 --- a/lib/identity_protection/risk_detections/risk_detections_request_builder.rb +++ b/lib/identity_protection/risk_detections/risk_detections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.rb b/lib/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.rb index 1c2d808929..372ceb98a2 100644 --- a/lib/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/confirm_compromised/confirm_compromised_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.rb b/lib/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.rb index 3dc3450536..783b75d36e 100644 --- a/lib/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/dismiss/dismiss_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_protection/risky_service_principals/item/history/history_request_builder.rb b/lib/identity_protection/risky_service_principals/item/history/history_request_builder.rb index f102f5e24c..139dfd487e 100644 --- a/lib/identity_protection/risky_service_principals/item/history/history_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/item/history/history_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.rb b/lib/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.rb index 3020ccc023..020448d2e6 100644 --- a/lib/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/item/history/item/risky_service_principal_history_item_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.rb b/lib/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.rb index c8327f326c..167383db7b 100644 --- a/lib/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/item/risky_service_principal_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_service_principals/risky_service_principals_request_builder.rb b/lib/identity_protection/risky_service_principals/risky_service_principals_request_builder.rb index 0b60441ace..176f118245 100644 --- a/lib/identity_protection/risky_service_principals/risky_service_principals_request_builder.rb +++ b/lib/identity_protection/risky_service_principals/risky_service_principals_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.rb b/lib/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.rb index d7ac5cd2de..30fe66b4b8 100644 --- a/lib/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.rb +++ b/lib/identity_protection/risky_users/confirm_compromised/confirm_compromised_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_protection/risky_users/dismiss/dismiss_request_builder.rb b/lib/identity_protection/risky_users/dismiss/dismiss_request_builder.rb index 2e741435c5..6d553f1072 100644 --- a/lib/identity_protection/risky_users/dismiss/dismiss_request_builder.rb +++ b/lib/identity_protection/risky_users/dismiss/dismiss_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/identity_protection/risky_users/item/history/history_request_builder.rb b/lib/identity_protection/risky_users/item/history/history_request_builder.rb index 7b7591e813..f4ef9cb657 100644 --- a/lib/identity_protection/risky_users/item/history/history_request_builder.rb +++ b/lib/identity_protection/risky_users/item/history/history_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.rb b/lib/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.rb index 3a34e302b4..6add2d219a 100644 --- a/lib/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.rb +++ b/lib/identity_protection/risky_users/item/history/item/risky_user_history_item_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_users/item/risky_user_item_request_builder.rb b/lib/identity_protection/risky_users/item/risky_user_item_request_builder.rb index 45a6fc9a8a..2ab60ae8b6 100644 --- a/lib/identity_protection/risky_users/item/risky_user_item_request_builder.rb +++ b/lib/identity_protection/risky_users/item/risky_user_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/risky_users/risky_users_request_builder.rb b/lib/identity_protection/risky_users/risky_users_request_builder.rb index 0ec7a4012d..8bfabee319 100644 --- a/lib/identity_protection/risky_users/risky_users_request_builder.rb +++ b/lib/identity_protection/risky_users/risky_users_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.rb b/lib/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.rb index 033b05e857..c2c93e8c69 100644 --- a/lib/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.rb +++ b/lib/identity_protection/service_principal_risk_detections/item/service_principal_risk_detection_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.rb b/lib/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.rb index f9aeab7e21..c73fc0bc52 100644 --- a/lib/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.rb +++ b/lib/identity_protection/service_principal_risk_detections/service_principal_risk_detections_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_providers/identity_providers_request_builder.rb b/lib/identity_providers/identity_providers_request_builder.rb index f2c5f38628..d19ea33818 100644 --- a/lib/identity_providers/identity_providers_request_builder.rb +++ b/lib/identity_providers/identity_providers_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/identity_providers/item/identity_provider_item_request_builder.rb b/lib/identity_providers/item/identity_provider_item_request_builder.rb index 06d2842bac..570611461e 100644 --- a/lib/identity_providers/item/identity_provider_item_request_builder.rb +++ b/lib/identity_providers/item/identity_provider_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/information_protection/information_protection_request_builder.rb b/lib/information_protection/information_protection_request_builder.rb index 1a064d662e..52a60e1c21 100644 --- a/lib/information_protection/information_protection_request_builder.rb +++ b/lib/information_protection/information_protection_request_builder.rb @@ -108,7 +108,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.rb b/lib/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.rb index 7526b40ba5..bfddfcff56 100644 --- a/lib/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.rb +++ b/lib/information_protection/threat_assessment_requests/item/results/item/threat_assessment_result_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/information_protection/threat_assessment_requests/item/results/results_request_builder.rb b/lib/information_protection/threat_assessment_requests/item/results/results_request_builder.rb index 0ae572ae7f..ba20615c10 100644 --- a/lib/information_protection/threat_assessment_requests/item/results/results_request_builder.rb +++ b/lib/information_protection/threat_assessment_requests/item/results/results_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.rb b/lib/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.rb index e1edab26ee..b1c46502a7 100644 --- a/lib/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.rb +++ b/lib/information_protection/threat_assessment_requests/item/threat_assessment_request_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.rb b/lib/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.rb index d6ba705fb7..50c9c97a9a 100644 --- a/lib/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.rb +++ b/lib/information_protection/threat_assessment_requests/threat_assessment_requests_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/invitations/invitations_request_builder.rb b/lib/invitations/invitations_request_builder.rb index a568ffd10f..aba07377a6 100644 --- a/lib/invitations/invitations_request_builder.rb +++ b/lib/invitations/invitations_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/invitations/item/invitation_item_request_builder.rb b/lib/invitations/item/invitation_item_request_builder.rb index a4b48f67f7..6baec0d57b 100644 --- a/lib/invitations/item/invitation_item_request_builder.rb +++ b/lib/invitations/item/invitation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/kiota-lock.json b/lib/kiota-lock.json index 2ec7249ff5..ec1b8c35b9 100644 --- a/lib/kiota-lock.json +++ b/lib/kiota-lock.json @@ -1,8 +1,8 @@ { - "descriptionHash": "4223E1B599AD838109D7CECD1EA985665EB1C7102923AF25D157D284447CEC6DE313D969C2FB4C5001DF90AE395730BB6B8C02D08D0857C348F599963D5CE1C2", + "descriptionHash": "6C34C82C91DA48B50657ADBAA14B7EEC6FF731CF8526B6F484CAF7B08839409C08D0B3A8A62DAB326FF7F60EAC1B234731ED64CC2112AF4607AD956730FF4267", "descriptionLocation": "/mnt/vss/_work/1/s/msgraph-metadata/clean_v10_openapi/openapi.yaml", "lockFileVersion": "1.0.0", - "kiotaVersion": "1.0.1", + "kiotaVersion": "1.1.1", "clientClassName": "GraphBaseServiceClient", "clientNamespaceName": "MicrosoftGraph", "language": "Ruby", diff --git a/lib/localizations/item/background_image/background_image_request_builder.rb b/lib/localizations/item/background_image/background_image_request_builder.rb index 0ff7bbf2ba..b35a70e4b3 100644 --- a/lib/localizations/item/background_image/background_image_request_builder.rb +++ b/lib/localizations/item/background_image/background_image_request_builder.rb @@ -40,7 +40,7 @@ def get(request_configuration=nil) ## Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -50,7 +50,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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. @@ -84,7 +84,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/localizations/item/banner_logo/banner_logo_request_builder.rb b/lib/localizations/item/banner_logo/banner_logo_request_builder.rb index 53a2ab3686..7d54d09b67 100644 --- a/lib/localizations/item/banner_logo/banner_logo_request_builder.rb +++ b/lib/localizations/item/banner_logo/banner_logo_request_builder.rb @@ -40,7 +40,7 @@ def get(request_configuration=nil) ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -50,7 +50,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -84,7 +84,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/localizations/item/organizational_branding_localization_item_request_builder.rb b/lib/localizations/item/organizational_branding_localization_item_request_builder.rb index 8a47ef11b9..7dfee7f4a2 100644 --- a/lib/localizations/item/organizational_branding_localization_item_request_builder.rb +++ b/lib/localizations/item/organizational_branding_localization_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/localizations/item/square_logo/square_logo_request_builder.rb b/lib/localizations/item/square_logo/square_logo_request_builder.rb index 9e5837af30..eb3f31954e 100644 --- a/lib/localizations/item/square_logo/square_logo_request_builder.rb +++ b/lib/localizations/item/square_logo/square_logo_request_builder.rb @@ -40,7 +40,7 @@ def get(request_configuration=nil) ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -50,7 +50,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -84,7 +84,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/localizations/localizations_request_builder.rb b/lib/localizations/localizations_request_builder.rb index c5305b98df..e4b800d9ce 100644 --- a/lib/localizations/localizations_request_builder.rb +++ b/lib/localizations/localizations_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/activities/activities_request_builder.rb b/lib/me/activities/activities_request_builder.rb index bdc19fd4c3..103baaafab 100644 --- a/lib/me/activities/activities_request_builder.rb +++ b/lib/me/activities/activities_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/activities/item/history_items/history_items_request_builder.rb b/lib/me/activities/item/history_items/history_items_request_builder.rb index 61509b2888..55135abf64 100644 --- a/lib/me/activities/item/history_items/history_items_request_builder.rb +++ b/lib/me/activities/item/history_items/history_items_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/activities/item/history_items/item/activity_history_item_item_request_builder.rb b/lib/me/activities/item/history_items/item/activity_history_item_item_request_builder.rb index 93fe354af7..f8ed61f6db 100644 --- a/lib/me/activities/item/history_items/item/activity_history_item_item_request_builder.rb +++ b/lib/me/activities/item/history_items/item/activity_history_item_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/activities/item/user_activity_item_request_builder.rb b/lib/me/activities/item/user_activity_item_request_builder.rb index d769dc66bf..3299169a9e 100644 --- a/lib/me/activities/item/user_activity_item_request_builder.rb +++ b/lib/me/activities/item/user_activity_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/app_role_assignments/app_role_assignments_request_builder.rb b/lib/me/app_role_assignments/app_role_assignments_request_builder.rb index a3e2996d81..bfd7e58039 100644 --- a/lib/me/app_role_assignments/app_role_assignments_request_builder.rb +++ b/lib/me/app_role_assignments/app_role_assignments_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/app_role_assignments/item/app_role_assignment_item_request_builder.rb b/lib/me/app_role_assignments/item/app_role_assignment_item_request_builder.rb index 5ca348fb9e..a9fa72da64 100644 --- a/lib/me/app_role_assignments/item/app_role_assignment_item_request_builder.rb +++ b/lib/me/app_role_assignments/item/app_role_assignment_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/assign_license/assign_license_request_builder.rb b/lib/me/assign_license/assign_license_request_builder.rb index 5b4ff5137b..752c73a91c 100644 --- a/lib/me/assign_license/assign_license_request_builder.rb +++ b/lib/me/assign_license/assign_license_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/authentication/authentication_request_builder.rb b/lib/me/authentication/authentication_request_builder.rb index 6dc5caeeaa..75d01cba55 100644 --- a/lib/me/authentication/authentication_request_builder.rb +++ b/lib/me/authentication/authentication_request_builder.rb @@ -285,7 +285,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/me/authentication/email_methods/email_methods_request_builder.rb b/lib/me/authentication/email_methods/email_methods_request_builder.rb index a41d4582e3..e8ea586ac5 100644 --- a/lib/me/authentication/email_methods/email_methods_request_builder.rb +++ b/lib/me/authentication/email_methods/email_methods_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/email_methods/item/email_authentication_method_item_request_builder.rb b/lib/me/authentication/email_methods/item/email_authentication_method_item_request_builder.rb index a212b71d8b..58a4fcf697 100644 --- a/lib/me/authentication/email_methods/item/email_authentication_method_item_request_builder.rb +++ b/lib/me/authentication/email_methods/item/email_authentication_method_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/methods/item/authentication_method_item_request_builder.rb b/lib/me/authentication/methods/item/authentication_method_item_request_builder.rb index 291831d3ba..3711946cf2 100644 --- a/lib/me/authentication/methods/item/authentication_method_item_request_builder.rb +++ b/lib/me/authentication/methods/item/authentication_method_item_request_builder.rb @@ -96,7 +96,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb b/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb index 771d6f0057..106e8439ca 100644 --- a/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb +++ b/lib/me/authentication/methods/item/reset_password/reset_password_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/authentication/methods/methods_request_builder.rb b/lib/me/authentication/methods/methods_request_builder.rb index 470b5a375c..719a28ba26 100644 --- a/lib/me/authentication/methods/methods_request_builder.rb +++ b/lib/me/authentication/methods/methods_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/operations/item/long_running_operation_item_request_builder.rb b/lib/me/authentication/operations/item/long_running_operation_item_request_builder.rb index c935c348a2..b6b9a4e00c 100644 --- a/lib/me/authentication/operations/item/long_running_operation_item_request_builder.rb +++ b/lib/me/authentication/operations/item/long_running_operation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/operations/operations_request_builder.rb b/lib/me/authentication/operations/operations_request_builder.rb index 3aca3f0d9d..78bbec6345 100644 --- a/lib/me/authentication/operations/operations_request_builder.rb +++ b/lib/me/authentication/operations/operations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/password_methods/password_methods_request_builder.rb b/lib/me/authentication/password_methods/password_methods_request_builder.rb index b2beba8212..6b3274ab50 100644 --- a/lib/me/authentication/password_methods/password_methods_request_builder.rb +++ b/lib/me/authentication/password_methods/password_methods_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb b/lib/me/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb index 01235cada5..8450235539 100644 --- a/lib/me/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb +++ b/lib/me/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/phone_methods/phone_methods_request_builder.rb b/lib/me/authentication/phone_methods/phone_methods_request_builder.rb index cce73e9ccc..a418123fda 100644 --- a/lib/me/authentication/phone_methods/phone_methods_request_builder.rb +++ b/lib/me/authentication/phone_methods/phone_methods_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb b/lib/me/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb index 2c201e19da..fb106721d9 100644 --- a/lib/me/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb +++ b/lib/me/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_permissions/calendar_permissions_request_builder.rb b/lib/me/calendar/calendar_permissions/calendar_permissions_request_builder.rb index 0d42c34bfa..56c036e26c 100644 --- a/lib/me/calendar/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/me/calendar/calendar_permissions/calendar_permissions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/me/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb index d96c3118c4..8010622bb9 100644 --- a/lib/me/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/me/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_request_builder.rb b/lib/me/calendar/calendar_request_builder.rb index 27c4ffd5ae..f0a904221a 100644 --- a/lib/me/calendar/calendar_request_builder.rb +++ b/lib/me/calendar/calendar_request_builder.rb @@ -192,7 +192,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/accept/accept_request_builder.rb b/lib/me/calendar/calendar_view/item/accept/accept_request_builder.rb index a26573d432..78af568f74 100644 --- a/lib/me/calendar/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/attachments/attachments_request_builder.rb b/lib/me/calendar/calendar_view/item/attachments/attachments_request_builder.rb index 499f9682b2..60ff6f9023 100644 --- a/lib/me/calendar/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index c2d23d1acc..abc37389aa 100644 --- a/lib/me/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/cancel/cancel_request_builder.rb b/lib/me/calendar/calendar_view/item/cancel/cancel_request_builder.rb index 4706fd476e..ae7e59288f 100644 --- a/lib/me/calendar/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/decline/decline_request_builder.rb b/lib/me/calendar/calendar_view/item/decline/decline_request_builder.rb index c85cc929b2..6ee23798b2 100644 --- a/lib/me/calendar/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/extensions/extensions_request_builder.rb b/lib/me/calendar/calendar_view/item/extensions/extensions_request_builder.rb index 3ed282608d..e312fa2d14 100644 --- a/lib/me/calendar/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb index bd9426df68..b4639c79e2 100644 --- a/lib/me/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/forward/forward_request_builder.rb b/lib/me/calendar/calendar_view/item/forward/forward_request_builder.rb index 41b2603c56..c0ae0ae68e 100644 --- a/lib/me/calendar/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/instances_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/instances_request_builder.rb index d7e6aed1d6..2aa8a8cbb9 100644 --- a/lib/me/calendar/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendar/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendar/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb index 5e31c72878..42aa7ac31a 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index e2be104ae6..e56c0d2c15 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 5bfa077128..29c29fe039 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 2acad4ccbc..3b4cab9295 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb index a52fbcbfd2..53520aeab9 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/event_item_request_builder.rb index 68d89b5965..0c852051d2 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index d8fc3be6f7..8d19757b64 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index d095955ad1..14bcc950db 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb index 3058252422..fe7358674c 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index fe54747fe7..c4901adbe7 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index f606360e22..2fa8f2ee64 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 597aa47f7c..7ec90a4634 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 4cff5e8196..ab72e5c18b 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 4efc72c5d9..b738b4071c 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 7aed77373a..7b0cc4ae56 100644 --- a/lib/me/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 8960f24d92..f118f41ea0 100644 --- a/lib/me/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index ed2af5c881..a0f1e6b1fb 100644 --- a/lib/me/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 3136934568..777dae1cbc 100644 --- a/lib/me/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index e0eeafd76e..a37a191d0e 100644 --- a/lib/me/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index e2bd4ba402..638bc3c057 100644 --- a/lib/me/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 42b6ae25b7..36e7b53dc8 100644 --- a/lib/me/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/events_request_builder.rb b/lib/me/calendar/events/events_request_builder.rb index 6dea212b7b..0a7af22a75 100644 --- a/lib/me/calendar/events/events_request_builder.rb +++ b/lib/me/calendar/events/events_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/accept/accept_request_builder.rb b/lib/me/calendar/events/item/accept/accept_request_builder.rb index 692ea10fde..dc20209bd7 100644 --- a/lib/me/calendar/events/item/accept/accept_request_builder.rb +++ b/lib/me/calendar/events/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/attachments/attachments_request_builder.rb b/lib/me/calendar/events/item/attachments/attachments_request_builder.rb index a8036480f1..ddabbd9602 100644 --- a/lib/me/calendar/events/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar/events/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 3cdbce617b..995db2b75c 100644 --- a/lib/me/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/cancel/cancel_request_builder.rb b/lib/me/calendar/events/item/cancel/cancel_request_builder.rb index c840dd2d3d..b289126daf 100644 --- a/lib/me/calendar/events/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar/events/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/decline/decline_request_builder.rb b/lib/me/calendar/events/item/decline/decline_request_builder.rb index 99fe9e5c0f..e5973d3a46 100644 --- a/lib/me/calendar/events/item/decline/decline_request_builder.rb +++ b/lib/me/calendar/events/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/event_item_request_builder.rb b/lib/me/calendar/events/item/event_item_request_builder.rb index e3ba84bc69..e9e74b087d 100644 --- a/lib/me/calendar/events/item/event_item_request_builder.rb +++ b/lib/me/calendar/events/item/event_item_request_builder.rb @@ -258,7 +258,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/extensions/extensions_request_builder.rb b/lib/me/calendar/events/item/extensions/extensions_request_builder.rb index ecaeca2dca..85a7137487 100644 --- a/lib/me/calendar/events/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar/events/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar/events/item/extensions/item/extension_item_request_builder.rb index 1c216846fa..0b2f0796fe 100644 --- a/lib/me/calendar/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar/events/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/forward/forward_request_builder.rb b/lib/me/calendar/events/item/forward/forward_request_builder.rb index 0a64ab3227..b245a8e18c 100644 --- a/lib/me/calendar/events/item/forward/forward_request_builder.rb +++ b/lib/me/calendar/events/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/instances_request_builder.rb b/lib/me/calendar/events/item/instances/instances_request_builder.rb index b823a30ab1..2961bf7586 100644 --- a/lib/me/calendar/events/item/instances/instances_request_builder.rb +++ b/lib/me/calendar/events/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendar/events/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendar/events/item/instances/item/accept/accept_request_builder.rb index 5aed76ef12..05e79c3897 100644 --- a/lib/me/calendar/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendar/events/item/instances/item/attachments/attachments_request_builder.rb index 9ed1246ac9..7faad6b925 100644 --- a/lib/me/calendar/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 39a8331527..8ad69e6775 100644 --- a/lib/me/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendar/events/item/instances/item/cancel/cancel_request_builder.rb index c089a29b90..64740da639 100644 --- a/lib/me/calendar/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendar/events/item/instances/item/decline/decline_request_builder.rb index 16a602c07c..9dfb4f10a8 100644 --- a/lib/me/calendar/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/event_item_request_builder.rb b/lib/me/calendar/events/item/instances/item/event_item_request_builder.rb index 0dfe162da1..8b7dbb5695 100644 --- a/lib/me/calendar/events/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendar/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendar/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendar/events/item/instances/item/extensions/extensions_request_builder.rb index f303ac80cc..8ed6bbfa22 100644 --- a/lib/me/calendar/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 86a883f993..453ece0f9b 100644 --- a/lib/me/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendar/events/item/instances/item/forward/forward_request_builder.rb index af45e5819b..808a435dac 100644 --- a/lib/me/calendar/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 3ea7a35b2d..ed24bc18fe 100644 --- a/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index f0b31738b4..2a935fcb32 100644 --- a/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index f2f32f4740..07abefa780 100644 --- a/lib/me/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index b132e717c2..1514a8f66e 100644 --- a/lib/me/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 1836408bb9..6f529d3db7 100644 --- a/lib/me/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 77b6b6b632..de2ff0bbe4 100644 --- a/lib/me/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 3037af293f..aa7b9d826f 100644 --- a/lib/me/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index ea1c121d6d..4eb26c56b6 100644 --- a/lib/me/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b83d5fb44c..2b684db5c7 100644 --- a/lib/me/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index e9f8f58540..ba7d5c9bc3 100644 --- a/lib/me/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 47af4b2484..b642905e5d 100644 --- a/lib/me/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb index e05e073b76..ec4d652bfa 100644 --- a/lib/me/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/get_schedule/get_schedule_request_builder.rb b/lib/me/calendar/get_schedule/get_schedule_request_builder.rb index 23ca97839a..76bf6d5985 100644 --- a/lib/me/calendar/get_schedule/get_schedule_request_builder.rb +++ b/lib/me/calendar/get_schedule/get_schedule_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index e82f607e72..4d8f438947 100644 --- a/lib/me/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index d768886904..a3d89eb3a5 100644 --- a/lib/me/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index c4a4513604..9527667c37 100644 --- a/lib/me/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 83bf36ba7f..b237ff8297 100644 --- a/lib/me/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/calendar_groups_request_builder.rb b/lib/me/calendar_groups/calendar_groups_request_builder.rb index 46f00956ea..0eadcbd23e 100644 --- a/lib/me/calendar_groups/calendar_groups_request_builder.rb +++ b/lib/me/calendar_groups/calendar_groups_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendar_group_item_request_builder.rb b/lib/me/calendar_groups/item/calendar_group_item_request_builder.rb index 45f90fd9c6..8d1955a14e 100644 --- a/lib/me/calendar_groups/item/calendar_group_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendar_group_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/calendars_request_builder.rb b/lib/me/calendar_groups/item/calendars/calendars_request_builder.rb index 8678dae620..32943240f9 100644 --- a/lib/me/calendar_groups/item/calendars/calendars_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/calendars_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_item_request_builder.rb index 3a8e7a11cf..3931da73b6 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_item_request_builder.rb @@ -228,7 +228,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb index 91b167eae8..d0e0e1e807 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb index 08d47773ff..36cc7ba769 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb index 7d51229970..b40bcedc55 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb index eef965333e..0a4b947fa8 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 89b1832d8d..56a23c0b3a 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb index b7b0dfad66..06a09413e7 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb index 29c5e5fa90..321f27b72d 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb index 8c2e2de471..feab0d699f 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index 97cdbf7f4c..9fa823770e 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb index 96d7ab4167..5ee638437f 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb index 8dcf695e9c..31219663df 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb @@ -43,10 +43,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -60,7 +60,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -79,13 +79,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -98,6 +101,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index fc30063d9f..966fa368d3 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 03b07d2c56..a21819fdab 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -65,7 +65,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -99,7 +99,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 42304e5200..dce2e4ab3d 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index c07c685bf4..e97367f6d8 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index 4aa95b706a..942892802b 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb index c1de8c7d20..4f0ff9c0b5 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -120,7 +120,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -192,10 +192,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index 50dd57697b..b5b65a2cb7 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 4d99126653..1e47e7d7a4 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index 1c9aaedd16..4233e43ddb 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 666a5e9fda..c2effca89c 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index dfcef9fa85..1b8cfde92c 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e94d62a76d..b4c7411075 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 43cd43ce0d..9f52260eaa 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 13521ee576..2935251e9c 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 5140b50f28..de7ad8f739 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 5a088afd68..7e6353f29f 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index a8c9912bab..061d103202 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 009042faa4..f7cffdcf7d 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 7281cdb183..9d0a7741be 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index f51626f433..35d8e79684 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 632f45f4ac..a122bc8c57 100644 --- a/lib/me/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/events_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/events_request_builder.rb index 8167c99d74..9ddbd198dc 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/events_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/events_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb index 5e3b7f386d..595888d070 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb index a25443d570..2332492ca4 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index dbb85944d1..e58b13284f 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb index 7fd6512faf..3962d10e31 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb index 37b69afbd9..79801b5d21 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb index 68af4db5d5..80b9ec884b 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb @@ -264,7 +264,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb index 9f1506ed8f..2d13d52729 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb index cb3ac87714..f3749d3497 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb index 89295a51c1..8db2527e74 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb index 28a4ccc9e6..34e5ef2691 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb @@ -43,10 +43,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -60,7 +60,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -79,13 +79,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -98,6 +101,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb index 8fceb46397..9d57c2719e 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb index 28f62efd68..1ec7324756 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -65,7 +65,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -99,7 +99,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 9493342a8b..edb6ddce5f 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb index 68210f1e9c..79f13662fa 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb index 9c6f5b0d89..24e0ff3183 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb index 2e58e1036a..e5698336b6 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb @@ -120,7 +120,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -192,10 +192,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb index b74f8e91ae..dc92c519d4 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index c6e1c07821..d14b6b35b2 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb index e4671f7a16..a0224a557e 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 5ce8c4b261..6a7217fbd9 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 7d0dc5c6b8..8379231916 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 0fff1255c4..b12097cd06 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 897d702d2f..2c685f0d4b 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index d16e2e61a9..5b31cb31a5 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 34f169abcb..28caa1fc92 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 4c962ce85b..bcb759c83c 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 4b38906563..aef8fd7980 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e1584668e7..3b39aa1abd 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 2bfa04b121..69317a4112 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 415bd6dcbe..fc72600576 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 1d1fad6331..57342db605 100644 --- a/lib/me/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb index 4e160b323b..43c4621f71 100644 --- a/lib/me/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index e9ea48bd10..7333dc24f7 100644 --- a/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 77b44c7592..67d8de5dad 100644 --- a/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 61e546e0c8..26ebe1ebf7 100644 --- a/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 4bbc11e2bb..aea3930ac0 100644 --- a/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/accept/accept_request_builder.rb b/lib/me/calendar_view/item/accept/accept_request_builder.rb index 74a35c3c24..079ff6c102 100644 --- a/lib/me/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_view/item/accept/accept_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/attachments/attachments_request_builder.rb b/lib/me/calendar_view/item/attachments/attachments_request_builder.rb index a2b5945434..4fcd0d0131 100644 --- a/lib/me/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_view/item/attachments/attachments_request_builder.rb @@ -53,7 +53,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -87,7 +87,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 40bd599a17..94d0dd6b44 100644 --- a/lib/me/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/cancel/cancel_request_builder.rb b/lib/me/calendar_view/item/cancel/cancel_request_builder.rb index 9e2ae8b207..df3f24d48b 100644 --- a/lib/me/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_view/item/cancel/cancel_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/decline/decline_request_builder.rb b/lib/me/calendar_view/item/decline/decline_request_builder.rb index 78d438cfc9..6a9f028f7c 100644 --- a/lib/me/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_view/item/decline/decline_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/extensions/extensions_request_builder.rb b/lib/me/calendar_view/item/extensions/extensions_request_builder.rb index bf78553d8d..24b0ab0809 100644 --- a/lib/me/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_view/item/extensions/extensions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_view/item/extensions/item/extension_item_request_builder.rb index b414bc0d76..9561034f5f 100644 --- a/lib/me/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/forward/forward_request_builder.rb b/lib/me/calendar_view/item/forward/forward_request_builder.rb index 86f3390f32..e950bc21c5 100644 --- a/lib/me/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_view/item/forward/forward_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/instances_request_builder.rb b/lib/me/calendar_view/item/instances/instances_request_builder.rb index 709554bebe..b264868fd6 100644 --- a/lib/me/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/me/calendar_view/item/instances/instances_request_builder.rb @@ -35,10 +35,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -52,7 +52,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -71,13 +71,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -90,6 +93,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendar_view/item/instances/item/accept/accept_request_builder.rb index 2d453bd229..ecb57ba6eb 100644 --- a/lib/me/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 55c1c74a6b..4d0f6cc76f 100644 --- a/lib/me/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 0ac10c1cfe..1ded62e2dc 100644 --- a/lib/me/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 9f7ee6a1ec..be9a49becc 100644 --- a/lib/me/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendar_view/item/instances/item/decline/decline_request_builder.rb index e9ee4c8cce..740aa237b3 100644 --- a/lib/me/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/me/calendar_view/item/instances/item/event_item_request_builder.rb index 48ded3613c..171e95941f 100644 --- a/lib/me/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/event_item_request_builder.rb @@ -112,7 +112,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -184,10 +184,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index d49649ad56..08e324bbb8 100644 --- a/lib/me/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 4996b5a403..26c6d41688 100644 --- a/lib/me/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendar_view/item/instances/item/forward/forward_request_builder.rb index a6a65091f9..b91a3f54e0 100644 --- a/lib/me/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index c42461a946..8b9de93bca 100644 --- a/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b907dcfadb..dddbc70697 100644 --- a/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 82c76b3e8b..4e2c5ee972 100644 --- a/lib/me/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index b70a6656cf..5937679da3 100644 --- a/lib/me/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index b51ecbb21b..1d2a08c813 100644 --- a/lib/me/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index fbd3e4a7d3..b03cfc4c9c 100644 --- a/lib/me/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 1d0f6bb5da..58280c9c9a 100644 --- a/lib/me/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 5c44fb28ff..04b636a336 100644 --- a/lib/me/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 680a0510b4..4163b486cc 100644 --- a/lib/me/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index c52d28de6b..0057690cdd 100644 --- a/lib/me/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index f3c3d49811..3691df068e 100644 --- a/lib/me/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index d054472559..b8919f609e 100644 --- a/lib/me/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/calendars_request_builder.rb b/lib/me/calendars/calendars_request_builder.rb index e3df083476..6d74862c3e 100644 --- a/lib/me/calendars/calendars_request_builder.rb +++ b/lib/me/calendars/calendars_request_builder.rb @@ -26,7 +26,7 @@ def count() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## ## Get all the user's calendars (`/calendars` navigation property), get the calendars from the default calendar group or from a specific calendar group. @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -105,6 +105,9 @@ class CalendarsRequestBuilderGetQueryParameters # Include count of items attr_accessor :count ## + # Expand related entities + attr_accessor :expand + ## # Filter items by property values attr_accessor :filter ## @@ -129,6 +132,8 @@ def get_query_parameter(original_name) case original_name when "count" return "%24count" + when "expand" + return "%24expand" when "filter" return "%24filter" when "orderby" diff --git a/lib/me/calendars/item/calendar_item_request_builder.rb b/lib/me/calendars/item/calendar_item_request_builder.rb index dbf71e708a..d658b9c55e 100644 --- a/lib/me/calendars/item/calendar_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_item_request_builder.rb @@ -94,7 +94,7 @@ def calendar_view_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}{?%24select,%24expand}") end ## ## Delete navigation property calendars for me @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -232,6 +232,9 @@ def to_patch_request_information(body, request_configuration=nil) # The user's calendars. Read-only. Nullable. class CalendarItemRequestBuilderGetQueryParameters + ## + # Expand related entities + attr_accessor :expand ## # Select properties to be returned attr_accessor :select @@ -243,6 +246,8 @@ class CalendarItemRequestBuilderGetQueryParameters def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name + when "expand" + return "%24expand" when "select" return "%24select" else diff --git a/lib/me/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb b/lib/me/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb index fb63bb45f0..66d7fb6c42 100644 --- a/lib/me/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/me/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/me/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb index 4e96a995bb..ff28a0e66c 100644 --- a/lib/me/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/accept/accept_request_builder.rb b/lib/me/calendars/item/calendar_view/item/accept/accept_request_builder.rb index ac95f21756..5053074200 100644 --- a/lib/me/calendars/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/me/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb index b5f963bb00..2a204053d7 100644 --- a/lib/me/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 0f4b4b6a16..5fb152e241 100644 --- a/lib/me/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/me/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb index 724323f45a..3a7c2c61f1 100644 --- a/lib/me/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/decline/decline_request_builder.rb b/lib/me/calendars/item/calendar_view/item/decline/decline_request_builder.rb index 7ea8c77fc1..3ac904d85d 100644 --- a/lib/me/calendars/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/me/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb index 8562546e07..d8cc64969a 100644 --- a/lib/me/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index dca2d2387d..718a00246e 100644 --- a/lib/me/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/forward/forward_request_builder.rb b/lib/me/calendars/item/calendar_view/item/forward/forward_request_builder.rb index affd83a4cc..61c0813a25 100644 --- a/lib/me/calendars/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/instances_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/instances_request_builder.rb index f38dc5343a..1ab42f4ab7 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index 357cd0ed67..35cd13c5dc 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 80e030ef8b..28a865c962 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 8488336d5c..b54f6aecfe 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 9c15b58e9a..17c8ed4a42 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index 9bb011c706..1d63c13850 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb index ca7d4fdf85..9f38ca3501 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index 77f9ecd271..d5bc027a85 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index dfe3244656..ae913f3189 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index e82dcc5536..d2036fe64d 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 8167818640..1de3672a97 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 20cb611d7a..a837c2733a 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 669855f9a1..8021793026 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 19ec4ed3db..54ffd3056b 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 51b36c0ee9..f3686dd07e 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 20e3cf1586..311ec060cf 100644 --- a/lib/me/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index aa0b4b271d..6338482119 100644 --- a/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 20ada29a4f..88f7736cb6 100644 --- a/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 02035f1644..df1c9dbb33 100644 --- a/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index f334024ac9..81753e98b1 100644 --- a/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index b7b695446d..1e1b1d0ce8 100644 --- a/lib/me/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index f375a04b5b..91bcf90a93 100644 --- a/lib/me/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/events_request_builder.rb b/lib/me/calendars/item/events/events_request_builder.rb index 5a8c723506..f21a918afa 100644 --- a/lib/me/calendars/item/events/events_request_builder.rb +++ b/lib/me/calendars/item/events/events_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/accept/accept_request_builder.rb b/lib/me/calendars/item/events/item/accept/accept_request_builder.rb index 8fe2ff76f4..82657db285 100644 --- a/lib/me/calendars/item/events/item/accept/accept_request_builder.rb +++ b/lib/me/calendars/item/events/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/attachments/attachments_request_builder.rb b/lib/me/calendars/item/events/item/attachments/attachments_request_builder.rb index 86393a582d..d15f20abce 100644 --- a/lib/me/calendars/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendars/item/events/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 02d8b4066a..35595d3cc0 100644 --- a/lib/me/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/cancel/cancel_request_builder.rb b/lib/me/calendars/item/events/item/cancel/cancel_request_builder.rb index 629fd7fcff..59eec01171 100644 --- a/lib/me/calendars/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendars/item/events/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/decline/decline_request_builder.rb b/lib/me/calendars/item/events/item/decline/decline_request_builder.rb index 85c8de1767..4f169f5e3f 100644 --- a/lib/me/calendars/item/events/item/decline/decline_request_builder.rb +++ b/lib/me/calendars/item/events/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/event_item_request_builder.rb b/lib/me/calendars/item/events/item/event_item_request_builder.rb index f04a459a5d..bd5a7561f4 100644 --- a/lib/me/calendars/item/events/item/event_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/event_item_request_builder.rb @@ -260,7 +260,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/extensions/extensions_request_builder.rb b/lib/me/calendars/item/events/item/extensions/extensions_request_builder.rb index 48e36c3eb7..ca6bf6fd38 100644 --- a/lib/me/calendars/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendars/item/events/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendars/item/events/item/extensions/item/extension_item_request_builder.rb index 1d739d6409..e2137e7ef2 100644 --- a/lib/me/calendars/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/forward/forward_request_builder.rb b/lib/me/calendars/item/events/item/forward/forward_request_builder.rb index fb035b1920..9cd9a4503a 100644 --- a/lib/me/calendars/item/events/item/forward/forward_request_builder.rb +++ b/lib/me/calendars/item/events/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/instances_request_builder.rb b/lib/me/calendars/item/events/item/instances/instances_request_builder.rb index fc7f483e62..df6380a9e2 100644 --- a/lib/me/calendars/item/events/item/instances/instances_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/calendars/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/accept/accept_request_builder.rb index a38630d407..2eb0fc5498 100644 --- a/lib/me/calendars/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb index 765d561464..68f2262fcd 100644 --- a/lib/me/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 190976b594..8f16106e71 100644 --- a/lib/me/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb index 529020bc29..56134dfd6e 100644 --- a/lib/me/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/decline/decline_request_builder.rb index ee84daf398..6553f69ae6 100644 --- a/lib/me/calendars/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/event_item_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/event_item_request_builder.rb index 38f8e390c4..0d4e7ed5c7 100644 --- a/lib/me/calendars/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb index 9db587a3c3..9075dfd4ec 100644 --- a/lib/me/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index a6425a42f1..b7323db568 100644 --- a/lib/me/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/forward/forward_request_builder.rb index cb1ba880d9..61ded7e11b 100644 --- a/lib/me/calendars/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index a02866a03e..3587da6fbf 100644 --- a/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index ca6b74d9e5..b531adbfc4 100644 --- a/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 980b0b9eb9..251f52b2bc 100644 --- a/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 9b91872f8a..a0988ea338 100644 --- a/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index d5ad62ffe9..4bf1ba3f72 100644 --- a/lib/me/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 887c075323..da13cfd536 100644 --- a/lib/me/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 829e975ae1..fbd63891e4 100644 --- a/lib/me/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 9b6d6a8c35..e785251f1d 100644 --- a/lib/me/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index ee0f4461e2..60af8c6fbd 100644 --- a/lib/me/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 818845f635..c01bf2343d 100644 --- a/lib/me/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 581bae09ee..1bef6f4e0e 100644 --- a/lib/me/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index c7c1241948..415c2948f7 100644 --- a/lib/me/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/get_schedule/get_schedule_request_builder.rb b/lib/me/calendars/item/get_schedule/get_schedule_request_builder.rb index c6317812ab..c103d7bb78 100644 --- a/lib/me/calendars/item/get_schedule/get_schedule_request_builder.rb +++ b/lib/me/calendars/item/get_schedule/get_schedule_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 042feff05e..00b66fb5fe 100644 --- a/lib/me/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 9c005043fa..c2c89ba3b2 100644 --- a/lib/me/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index eb8901681d..85926b9b0a 100644 --- a/lib/me/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index a30c69d691..b9c2eb41f3 100644 --- a/lib/me/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/change_password/change_password_request_builder.rb b/lib/me/change_password/change_password_request_builder.rb index b615c4933c..2e89d1b3df 100644 --- a/lib/me/change_password/change_password_request_builder.rb +++ b/lib/me/change_password/change_password_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/chats_request_builder.rb b/lib/me/chats/chats_request_builder.rb index 58346ceeca..692061a858 100644 --- a/lib/me/chats/chats_request_builder.rb +++ b/lib/me/chats/chats_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/chat_item_request_builder.rb b/lib/me/chats/item/chat_item_request_builder.rb index dfa839cf77..833482a863 100644 --- a/lib/me/chats/item/chat_item_request_builder.rb +++ b/lib/me/chats/item/chat_item_request_builder.rb @@ -244,7 +244,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/hide_for_user/hide_for_user_request_builder.rb b/lib/me/chats/item/hide_for_user/hide_for_user_request_builder.rb index 0c0ccf41c0..177629e574 100644 --- a/lib/me/chats/item/hide_for_user/hide_for_user_request_builder.rb +++ b/lib/me/chats/item/hide_for_user/hide_for_user_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/item/installed_apps/installed_apps_request_builder.rb b/lib/me/chats/item/installed_apps/installed_apps_request_builder.rb index 5e0d1a7a2f..1779b0fa51 100644 --- a/lib/me/chats/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/me/chats/item/installed_apps/installed_apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/me/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb index f0d5dde15a..055a839d7f 100644 --- a/lib/me/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/me/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/last_message_preview/last_message_preview_request_builder.rb b/lib/me/chats/item/last_message_preview/last_message_preview_request_builder.rb index 47584a4876..331b946d97 100644 --- a/lib/me/chats/item/last_message_preview/last_message_preview_request_builder.rb +++ b/lib/me/chats/item/last_message_preview/last_message_preview_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb b/lib/me/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb index fd379c218e..64d1d0c22b 100644 --- a/lib/me/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb +++ b/lib/me/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb b/lib/me/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb index 5625440cf1..a379cce8f3 100644 --- a/lib/me/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb +++ b/lib/me/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/item/members/add/add_request_builder.rb b/lib/me/chats/item/members/add/add_request_builder.rb index 233d235a97..cec7cb9cc8 100644 --- a/lib/me/chats/item/members/add/add_request_builder.rb +++ b/lib/me/chats/item/members/add/add_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/item/members/item/conversation_member_item_request_builder.rb b/lib/me/chats/item/members/item/conversation_member_item_request_builder.rb index c37f7e4ca5..62a8041dc9 100644 --- a/lib/me/chats/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/me/chats/item/members/item/conversation_member_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/members/members_request_builder.rb b/lib/me/chats/item/members/members_request_builder.rb index dde8d4e5d3..b62302fb8a 100644 --- a/lib/me/chats/item/members/members_request_builder.rb +++ b/lib/me/chats/item/members/members_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/chat_message_item_request_builder.rb b/lib/me/chats/item/messages/item/chat_message_item_request_builder.rb index 98f8b3fac3..6f2f27499f 100644 --- a/lib/me/chats/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/me/chats/item/messages/item/chat_message_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index 97a4f828a2..9cd1745ebd 100644 --- a/lib/me/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 0b69d1af8d..4eb050014f 100644 --- a/lib/me/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -9,6 +9,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -22,6 +23,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::Chats::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -126,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..536ce93122 --- /dev/null +++ b/lib/me/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,109 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../me' +require_relative '../../../../../../chats' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module Chats + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/chats/item/messages/item/hosted_contents/item/value/value.rb b/lib/me/chats/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/me/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb index f0f4bea8e7..a872b7cf70 100644 --- a/lib/me/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/me/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index f010d3e554..088263f526 100644 --- a/lib/me/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 3b88b8b818..9779feec0e 100644 --- a/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::Chats::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..bdda2c5e35 --- /dev/null +++ b/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../me' +require_relative '../../../../../../../../chats' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module Chats + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/me/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/chats/item/messages/item/replies/replies_request_builder.rb b/lib/me/chats/item/messages/item/replies/replies_request_builder.rb index 05623349ad..1b65165067 100644 --- a/lib/me/chats/item/messages/item/replies/replies_request_builder.rb +++ b/lib/me/chats/item/messages/item/replies/replies_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/messages/messages_request_builder.rb b/lib/me/chats/item/messages/messages_request_builder.rb index 6afb274026..78feaab8a2 100644 --- a/lib/me/chats/item/messages/messages_request_builder.rb +++ b/lib/me/chats/item/messages/messages_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb b/lib/me/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb index 318604a55e..3146ee3fe1 100644 --- a/lib/me/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb +++ b/lib/me/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/pinned_messages/pinned_messages_request_builder.rb b/lib/me/chats/item/pinned_messages/pinned_messages_request_builder.rb index b96f54378c..9276d3df58 100644 --- a/lib/me/chats/item/pinned_messages/pinned_messages_request_builder.rb +++ b/lib/me/chats/item/pinned_messages/pinned_messages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/me/chats/item/send_activity_notification/send_activity_notification_request_builder.rb index b3b7015992..225a6a5ec8 100644 --- a/lib/me/chats/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/me/chats/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/chats/item/tabs/item/teams_tab_item_request_builder.rb b/lib/me/chats/item/tabs/item/teams_tab_item_request_builder.rb index 131bc5d85f..466dae4d3c 100644 --- a/lib/me/chats/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/me/chats/item/tabs/item/teams_tab_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/tabs/tabs_request_builder.rb b/lib/me/chats/item/tabs/tabs_request_builder.rb index b740edbbe7..b025d37d31 100644 --- a/lib/me/chats/item/tabs/tabs_request_builder.rb +++ b/lib/me/chats/item/tabs/tabs_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/chats/item/unhide_for_user/unhide_for_user_request_builder.rb b/lib/me/chats/item/unhide_for_user/unhide_for_user_request_builder.rb index df78fba4af..4183634892 100644 --- a/lib/me/chats/item/unhide_for_user/unhide_for_user_request_builder.rb +++ b/lib/me/chats/item/unhide_for_user/unhide_for_user_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/check_member_groups/check_member_groups_request_builder.rb b/lib/me/check_member_groups/check_member_groups_request_builder.rb index 28ca19b8ae..7cd0197d09 100644 --- a/lib/me/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/me/check_member_groups/check_member_groups_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/check_member_objects/check_member_objects_request_builder.rb b/lib/me/check_member_objects/check_member_objects_request_builder.rb index 7b6c682bed..1e1a40e1e4 100644 --- a/lib/me/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/me/check_member_objects/check_member_objects_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/contact_folders/contact_folders_request_builder.rb b/lib/me/contact_folders/contact_folders_request_builder.rb index c6863b5448..139868c68f 100644 --- a/lib/me/contact_folders/contact_folders_request_builder.rb +++ b/lib/me/contact_folders/contact_folders_request_builder.rb @@ -32,7 +32,7 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/contactFolders{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/contactFolders{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## ## Get the contact folder collection in the default Contacts folder of the signed-in user. @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -111,6 +111,9 @@ class ContactFoldersRequestBuilderGetQueryParameters # Include count of items attr_accessor :count ## + # Expand related entities + attr_accessor :expand + ## # Filter items by property values attr_accessor :filter ## @@ -135,6 +138,8 @@ def get_query_parameter(original_name) case original_name when "count" return "%24count" + when "expand" + return "%24expand" when "filter" return "%24filter" when "orderby" diff --git a/lib/me/contact_folders/item/child_folders/child_folders_request_builder.rb b/lib/me/contact_folders/item/child_folders/child_folders_request_builder.rb index 082d5c8707..320f878b12 100644 --- a/lib/me/contact_folders/item/child_folders/child_folders_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/child_folders_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb index 74089baedd..32a10a4b41 100644 --- a/lib/me/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb index 646309959d..c383e6f030 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb index e9d0666a62..b6b331a06b 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb @@ -186,7 +186,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb index ecfd998705..feb136b7c4 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb index 6a80ce2061..037061a8c0 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index b1e3e2e6c7..2e33117ca4 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 518d728c97..2db55bf29e 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb index 0e696518ea..795f66be4f 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb @@ -104,7 +104,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb index 8746f8e22c..7084ca911c 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb @@ -52,7 +52,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +62,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from me @@ -96,7 +96,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index f47aeceb16..18c399779b 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index bf9476eaab..65af5459c8 100644 --- a/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index b35e0a6d24..5a3cb428e1 100644 --- a/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index c591bb8420..f6cd871be7 100644 --- a/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 59656dd64a..5f6290d025 100644 --- a/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 1f61f806f6..a4a46a0282 100644 --- a/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contact_folder_item_request_builder.rb b/lib/me/contact_folders/item/contact_folder_item_request_builder.rb index 084342f12c..b4abc3b833 100644 --- a/lib/me/contact_folders/item/contact_folder_item_request_builder.rb +++ b/lib/me/contact_folders/item/contact_folder_item_request_builder.rb @@ -60,7 +60,7 @@ def child_folders_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/contactFolders/{contactFolder%2Did}{?%24select,%24expand}") end ## ## Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. @@ -190,7 +190,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -198,6 +198,9 @@ def to_patch_request_information(body, request_configuration=nil) # The user's contacts folders. Read-only. Nullable. class ContactFolderItemRequestBuilderGetQueryParameters + ## + # Expand related entities + attr_accessor :expand ## # Select properties to be returned attr_accessor :select @@ -209,6 +212,8 @@ class ContactFolderItemRequestBuilderGetQueryParameters def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name + when "expand" + return "%24expand" when "select" return "%24select" else diff --git a/lib/me/contact_folders/item/contacts/contacts_request_builder.rb b/lib/me/contact_folders/item/contacts/contacts_request_builder.rb index 0a26c005ff..2f924a7744 100644 --- a/lib/me/contact_folders/item/contacts/contacts_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/contacts_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/contact_item_request_builder.rb b/lib/me/contact_folders/item/contacts/item/contact_item_request_builder.rb index b13e1ab53f..890b5a976f 100644 --- a/lib/me/contact_folders/item/contacts/item/contact_item_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/contact_item_request_builder.rb @@ -182,7 +182,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb b/lib/me/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb index 68c199b63c..57c1fd8087 100644 --- a/lib/me/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/me/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb index aac5d39ccd..7c19c5f7a2 100644 --- a/lib/me/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index b8347723fe..fa0dda12a6 100644 --- a/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 32119feb08..8ea22e24db 100644 --- a/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/photo/photo_request_builder.rb b/lib/me/contact_folders/item/contacts/item/photo/photo_request_builder.rb index 9f07a8b6c5..71e0d40de5 100644 --- a/lib/me/contact_folders/item/contacts/item/photo/photo_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/photo/photo_request_builder.rb @@ -100,7 +100,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/photo/value/content_request_builder.rb b/lib/me/contact_folders/item/contacts/item/photo/value/content_request_builder.rb index c27245912e..04c56f23ca 100644 --- a/lib/me/contact_folders/item/contacts/item/photo/value/content_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/photo/value/content_request_builder.rb @@ -48,7 +48,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +58,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from me @@ -92,7 +92,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 9281b527d8..081af3b9c5 100644 --- a/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index f9cf7d8bc2..fa07780d90 100644 --- a/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 7dd01d9b36..27ee48b307 100644 --- a/lib/me/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index a2af1bb5d8..fa8ffdbdaf 100644 --- a/lib/me/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 2fa9691c06..41ad2518d0 100644 --- a/lib/me/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 38a65d7cb1..57c9023898 100644 --- a/lib/me/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/contacts_request_builder.rb b/lib/me/contacts/contacts_request_builder.rb index e759790a84..b2d90e6047 100644 --- a/lib/me/contacts/contacts_request_builder.rb +++ b/lib/me/contacts/contacts_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/contact_item_request_builder.rb b/lib/me/contacts/item/contact_item_request_builder.rb index 29a0cc8ea2..02ab934af3 100644 --- a/lib/me/contacts/item/contact_item_request_builder.rb +++ b/lib/me/contacts/item/contact_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/extensions/extensions_request_builder.rb b/lib/me/contacts/item/extensions/extensions_request_builder.rb index 6766367f01..8eeaca2851 100644 --- a/lib/me/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/me/contacts/item/extensions/extensions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/me/contacts/item/extensions/item/extension_item_request_builder.rb index 91eab74ecc..7bea5d64f5 100644 --- a/lib/me/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/contacts/item/extensions/item/extension_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 2b3d7b5a06..7268ce01c6 100644 --- a/lib/me/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 34b5fded47..f983014dc3 100644 --- a/lib/me/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/photo/photo_request_builder.rb b/lib/me/contacts/item/photo/photo_request_builder.rb index 786d761430..77fa73801e 100644 --- a/lib/me/contacts/item/photo/photo_request_builder.rb +++ b/lib/me/contacts/item/photo/photo_request_builder.rb @@ -96,7 +96,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/photo/value/content_request_builder.rb b/lib/me/contacts/item/photo/value/content_request_builder.rb index cb543fe544..490aff5255 100644 --- a/lib/me/contacts/item/photo/value/content_request_builder.rb +++ b/lib/me/contacts/item/photo/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from me @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 83297e61ca..ad05ebce2b 100644 --- a/lib/me/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 25c577c3cf..f8696075f6 100644 --- a/lib/me/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb b/lib/me/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb index 50eef459f7..12590ebd86 100644 --- a/lib/me/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb +++ b/lib/me/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb b/lib/me/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb index 2c694cdb21..8acd749445 100644 --- a/lib/me/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb +++ b/lib/me/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/events_request_builder.rb b/lib/me/events/events_request_builder.rb index 690a8d61df..baede387d7 100644 --- a/lib/me/events/events_request_builder.rb +++ b/lib/me/events/events_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/accept/accept_request_builder.rb b/lib/me/events/item/accept/accept_request_builder.rb index 0b1a21072c..54528a7514 100644 --- a/lib/me/events/item/accept/accept_request_builder.rb +++ b/lib/me/events/item/accept/accept_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/attachments/attachments_request_builder.rb b/lib/me/events/item/attachments/attachments_request_builder.rb index 5fa9b04c96..d383a516c2 100644 --- a/lib/me/events/item/attachments/attachments_request_builder.rb +++ b/lib/me/events/item/attachments/attachments_request_builder.rb @@ -53,7 +53,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -87,7 +87,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 99f3c1ce7f..1cced167d1 100644 --- a/lib/me/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/cancel/cancel_request_builder.rb b/lib/me/events/item/cancel/cancel_request_builder.rb index 669b2a30bc..78ea622408 100644 --- a/lib/me/events/item/cancel/cancel_request_builder.rb +++ b/lib/me/events/item/cancel/cancel_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/decline/decline_request_builder.rb b/lib/me/events/item/decline/decline_request_builder.rb index 6187e86a69..9163bb7014 100644 --- a/lib/me/events/item/decline/decline_request_builder.rb +++ b/lib/me/events/item/decline/decline_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/event_item_request_builder.rb b/lib/me/events/item/event_item_request_builder.rb index 2d43c7598c..be992ae7d2 100644 --- a/lib/me/events/item/event_item_request_builder.rb +++ b/lib/me/events/item/event_item_request_builder.rb @@ -256,7 +256,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/extensions/extensions_request_builder.rb b/lib/me/events/item/extensions/extensions_request_builder.rb index 8881f9dde2..1307ef2a5f 100644 --- a/lib/me/events/item/extensions/extensions_request_builder.rb +++ b/lib/me/events/item/extensions/extensions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/extensions/item/extension_item_request_builder.rb b/lib/me/events/item/extensions/item/extension_item_request_builder.rb index 0ef9741268..1aca3163b2 100644 --- a/lib/me/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/events/item/extensions/item/extension_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/forward/forward_request_builder.rb b/lib/me/events/item/forward/forward_request_builder.rb index 3d7c7bf9d7..dd8952be7d 100644 --- a/lib/me/events/item/forward/forward_request_builder.rb +++ b/lib/me/events/item/forward/forward_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/instances_request_builder.rb b/lib/me/events/item/instances/instances_request_builder.rb index 16aa91d8ae..8df0797e97 100644 --- a/lib/me/events/item/instances/instances_request_builder.rb +++ b/lib/me/events/item/instances/instances_request_builder.rb @@ -35,10 +35,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -52,7 +52,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -71,13 +71,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -90,6 +93,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/me/events/item/instances/item/accept/accept_request_builder.rb b/lib/me/events/item/instances/item/accept/accept_request_builder.rb index fd996e2ecb..96488fa202 100644 --- a/lib/me/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/me/events/item/instances/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/me/events/item/instances/item/attachments/attachments_request_builder.rb index 5aec3c23e4..31ebe2b6e7 100644 --- a/lib/me/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/me/events/item/instances/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index f59a4cf714..c123efc02c 100644 --- a/lib/me/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/me/events/item/instances/item/cancel/cancel_request_builder.rb index bc029a84ee..2b91349ae0 100644 --- a/lib/me/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/me/events/item/instances/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/decline/decline_request_builder.rb b/lib/me/events/item/instances/item/decline/decline_request_builder.rb index b0452fe746..183275501d 100644 --- a/lib/me/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/me/events/item/instances/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/event_item_request_builder.rb b/lib/me/events/item/instances/item/event_item_request_builder.rb index 9fbac28c23..fe826720fe 100644 --- a/lib/me/events/item/instances/item/event_item_request_builder.rb +++ b/lib/me/events/item/instances/item/event_item_request_builder.rb @@ -112,7 +112,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/me/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/me/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -184,10 +184,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/me/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/me/events/item/instances/item/extensions/extensions_request_builder.rb index 038ff14efa..7220641e33 100644 --- a/lib/me/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/me/events/item/instances/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/me/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 65ff229443..6b0e162e4e 100644 --- a/lib/me/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/forward/forward_request_builder.rb b/lib/me/events/item/instances/item/forward/forward_request_builder.rb index aaaadc12b8..decad8b739 100644 --- a/lib/me/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/me/events/item/instances/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 04ce681ad1..77a3bbfbac 100644 --- a/lib/me/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 5f53982e4f..256d6654ef 100644 --- a/lib/me/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index ebbc14932b..1d381ca5dc 100644 --- a/lib/me/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index c64ca5474c..bfb353446d 100644 --- a/lib/me/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 8dea16f108..272848005e 100644 --- a/lib/me/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 1e40ff8eb7..851c33b01c 100644 --- a/lib/me/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index ccdff5d049..ed3aaa122e 100644 --- a/lib/me/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 0df845d7c3..ffb81a6165 100644 --- a/lib/me/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index a6388f97d4..d9bed64da7 100644 --- a/lib/me/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 074cfc0486..242fa80c6e 100644 --- a/lib/me/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/me/events/item/snooze_reminder/snooze_reminder_request_builder.rb index b1b046f1b6..60e7f369be 100644 --- a/lib/me/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/me/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/me/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 60bbacb8ae..d888c59908 100644 --- a/lib/me/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/me/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/export_personal_data/export_personal_data_request_builder.rb b/lib/me/export_personal_data/export_personal_data_request_builder.rb index aa96bfe768..9d6571ebde 100644 --- a/lib/me/export_personal_data/export_personal_data_request_builder.rb +++ b/lib/me/export_personal_data/export_personal_data_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/extensions/extensions_request_builder.rb b/lib/me/extensions/extensions_request_builder.rb index 289cef8a3c..4b2b8677e8 100644 --- a/lib/me/extensions/extensions_request_builder.rb +++ b/lib/me/extensions/extensions_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/extensions/item/extension_item_request_builder.rb b/lib/me/extensions/item/extension_item_request_builder.rb index 7be2164215..5695ffab74 100644 --- a/lib/me/extensions/item/extension_item_request_builder.rb +++ b/lib/me/extensions/item/extension_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/find_meeting_times/find_meeting_times_request_builder.rb b/lib/me/find_meeting_times/find_meeting_times_request_builder.rb index ce8a8c8c36..2376b7dc7c 100644 --- a/lib/me/find_meeting_times/find_meeting_times_request_builder.rb +++ b/lib/me/find_meeting_times/find_meeting_times_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/get_mail_tips/get_mail_tips_request_builder.rb b/lib/me/get_mail_tips/get_mail_tips_request_builder.rb index 625876dfc9..0a78be93c6 100644 --- a/lib/me/get_mail_tips/get_mail_tips_request_builder.rb +++ b/lib/me/get_mail_tips/get_mail_tips_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/get_member_groups/get_member_groups_request_builder.rb b/lib/me/get_member_groups/get_member_groups_request_builder.rb index 73d5152484..f907aea3e4 100644 --- a/lib/me/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/me/get_member_groups/get_member_groups_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/get_member_objects/get_member_objects_request_builder.rb b/lib/me/get_member_objects/get_member_objects_request_builder.rb index 6bc743e576..6d2a93ece7 100644 --- a/lib/me/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/me/get_member_objects/get_member_objects_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/inference_classification/inference_classification_request_builder.rb b/lib/me/inference_classification/inference_classification_request_builder.rb index 8953e3d5e7..f9adccb154 100644 --- a/lib/me/inference_classification/inference_classification_request_builder.rb +++ b/lib/me/inference_classification/inference_classification_request_builder.rb @@ -104,7 +104,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb b/lib/me/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb index f75779ff91..a48498f7f6 100644 --- a/lib/me/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb +++ b/lib/me/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/inference_classification/overrides/overrides_request_builder.rb b/lib/me/inference_classification/overrides/overrides_request_builder.rb index e19fdfb2f0..b6d24e07d9 100644 --- a/lib/me/inference_classification/overrides/overrides_request_builder.rb +++ b/lib/me/inference_classification/overrides/overrides_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/insights_request_builder.rb b/lib/me/insights/insights_request_builder.rb index b22ead9b1b..3416da42a5 100644 --- a/lib/me/insights/insights_request_builder.rb +++ b/lib/me/insights/insights_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/me/insights/shared/item/shared_insight_item_request_builder.rb b/lib/me/insights/shared/item/shared_insight_item_request_builder.rb index e2cf1df69e..90b64dd65b 100644 --- a/lib/me/insights/shared/item/shared_insight_item_request_builder.rb +++ b/lib/me/insights/shared/item/shared_insight_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/shared/shared_request_builder.rb b/lib/me/insights/shared/shared_request_builder.rb index 69ecb5ef0e..de44641772 100644 --- a/lib/me/insights/shared/shared_request_builder.rb +++ b/lib/me/insights/shared/shared_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/trending/item/trending_item_request_builder.rb b/lib/me/insights/trending/item/trending_item_request_builder.rb index 9115270b94..63ca56b2a3 100644 --- a/lib/me/insights/trending/item/trending_item_request_builder.rb +++ b/lib/me/insights/trending/item/trending_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/trending/trending_request_builder.rb b/lib/me/insights/trending/trending_request_builder.rb index 744a85d17f..4cd42caa33 100644 --- a/lib/me/insights/trending/trending_request_builder.rb +++ b/lib/me/insights/trending/trending_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/used/item/used_insight_item_request_builder.rb b/lib/me/insights/used/item/used_insight_item_request_builder.rb index c82b855dcb..494e9e00ed 100644 --- a/lib/me/insights/used/item/used_insight_item_request_builder.rb +++ b/lib/me/insights/used/item/used_insight_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/insights/used/used_request_builder.rb b/lib/me/insights/used/used_request_builder.rb index 4ba7ab6c96..d3b004fddf 100644 --- a/lib/me/insights/used/used_request_builder.rb +++ b/lib/me/insights/used/used_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/archive/archive_request_builder.rb b/lib/me/joined_teams/item/archive/archive_request_builder.rb index 01ecab8370..90bf28425f 100644 --- a/lib/me/joined_teams/item/archive/archive_request_builder.rb +++ b/lib/me/joined_teams/item/archive/archive_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/channels/channels_request_builder.rb b/lib/me/joined_teams/item/channels/channels_request_builder.rb index 5fa83eb99f..f822f527e1 100644 --- a/lib/me/joined_teams/item/channels/channels_request_builder.rb +++ b/lib/me/joined_teams/item/channels/channels_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/channel_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/channel_item_request_builder.rb index c6c5242b12..fd9a05d73d 100644 --- a/lib/me/joined_teams/item/channels/item/channel_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/channel_item_request_builder.rb @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb b/lib/me/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb index c22375eb80..fd56ad1066 100644 --- a/lib/me/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../me' require_relative '../../../../../joined_teams' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/joined_teams/item/channels/item/members/add/add_request_builder.rb b/lib/me/joined_teams/item/channels/item/members/add/add_request_builder.rb index 52f43b29e4..b2ffba8303 100644 --- a/lib/me/joined_teams/item/channels/item/members/add/add_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/members/add/add_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb index 853ca67369..6d00f715e9 100644 --- a/lib/me/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb b/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb index 84bf7dbad0..5b16d310c9 100644 --- a/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/members/members_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb index d8b3bfc5d2..dc7a7b7c10 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index be5aaad82d..4c163c6743 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 9dca79831b..870b61fbdb 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::JoinedTeams::Item::Channels::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..5a49e3c47f --- /dev/null +++ b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../me' +require_relative '../../../../../../../../joined_teams' +require_relative '../../../../../../../item' +require_relative '../../../../../../channels' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module JoinedTeams + module Item + module Channels + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb b/lib/me/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb index c004157e41..511295f067 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 731d64d152..db6d01cbae 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 6ae5e72693..129eb5eab0 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -13,6 +13,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -30,6 +31,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::JoinedTeams::Item::Channels::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -134,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..f66be727eb --- /dev/null +++ b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,121 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../me' +require_relative '../../../../../../../../../../joined_teams' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../channels' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module JoinedTeams + module Item + module Channels + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb index 91a363f85a..c5997a83ea 100644 --- a/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb b/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb index e0eb57ff90..ff8f21acf9 100644 --- a/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/messages/messages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 247ef8c730..fcc63e82c3 100644 --- a/lib/me/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb b/lib/me/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb index 43d53e68c3..689ee419c4 100644 --- a/lib/me/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb b/lib/me/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb index df2a9b5f81..1d95cb1b25 100644 --- a/lib/me/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/channels/item/tabs/tabs_request_builder.rb b/lib/me/joined_teams/item/channels/item/tabs/tabs_request_builder.rb index 9f991a470b..0308f81f73 100644 --- a/lib/me/joined_teams/item/channels/item/tabs/tabs_request_builder.rb +++ b/lib/me/joined_teams/item/channels/item/tabs/tabs_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/clone/clone_request_builder.rb b/lib/me/joined_teams/item/clone/clone_request_builder.rb index b9c0b995a1..296716f1b7 100644 --- a/lib/me/joined_teams/item/clone/clone_request_builder.rb +++ b/lib/me/joined_teams/item/clone/clone_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/installed_apps/installed_apps_request_builder.rb b/lib/me/joined_teams/item/installed_apps/installed_apps_request_builder.rb index 75e1e54c58..543424a84e 100644 --- a/lib/me/joined_teams/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/me/joined_teams/item/installed_apps/installed_apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/me/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb index 13ad8f2f27..880863226a 100644 --- a/lib/me/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/me/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/members/add/add_request_builder.rb b/lib/me/joined_teams/item/members/add/add_request_builder.rb index 5959a86bbd..f51b477ddb 100644 --- a/lib/me/joined_teams/item/members/add/add_request_builder.rb +++ b/lib/me/joined_teams/item/members/add/add_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/members/item/conversation_member_item_request_builder.rb b/lib/me/joined_teams/item/members/item/conversation_member_item_request_builder.rb index e67259e337..34d76409c5 100644 --- a/lib/me/joined_teams/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/me/joined_teams/item/members/item/conversation_member_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/members/members_request_builder.rb b/lib/me/joined_teams/item/members/members_request_builder.rb index f5a08450fa..81940dac17 100644 --- a/lib/me/joined_teams/item/members/members_request_builder.rb +++ b/lib/me/joined_teams/item/members/members_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb b/lib/me/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb index c4a97153ff..ee577f556f 100644 --- a/lib/me/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb +++ b/lib/me/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/operations/operations_request_builder.rb b/lib/me/joined_teams/item/operations/operations_request_builder.rb index 0efb02942c..37bfe16f38 100644 --- a/lib/me/joined_teams/item/operations/operations_request_builder.rb +++ b/lib/me/joined_teams/item/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/photo/photo_request_builder.rb b/lib/me/joined_teams/item/photo/photo_request_builder.rb index 7e45be5e20..b24d56cf2d 100644 --- a/lib/me/joined_teams/item/photo/photo_request_builder.rb +++ b/lib/me/joined_teams/item/photo/photo_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/photo/value/content_request_builder.rb b/lib/me/joined_teams/item/photo/value/content_request_builder.rb index 4cfe79a0f7..c33d9baa1d 100644 --- a/lib/me/joined_teams/item/photo/value/content_request_builder.rb +++ b/lib/me/joined_teams/item/photo/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from me @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb b/lib/me/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb index 532e584fb3..ce629eb1ee 100644 --- a/lib/me/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/drive_item' require_relative '../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../me' require_relative '../../../../joined_teams' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/joined_teams/item/primary_channel/members/add/add_request_builder.rb b/lib/me/joined_teams/item/primary_channel/members/add/add_request_builder.rb index c4b6d2af02..89f2a1f7a8 100644 --- a/lib/me/joined_teams/item/primary_channel/members/add/add_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/members/add/add_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb index cff2bb94b5..134af06547 100644 --- a/lib/me/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb b/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb index bae1c4ab6b..0dc197e5a2 100644 --- a/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/members/members_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb index 385c9a1bcc..0ab9e2b1d4 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb index e8cc2c4358..aa71855a41 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 6874ce5e61..25fd29d1fd 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -10,6 +10,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -24,6 +25,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::JoinedTeams::Item::PrimaryChannel::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -128,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..59e92550ac --- /dev/null +++ b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,112 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../me' +require_relative '../../../../../../../joined_teams' +require_relative '../../../../../../item' +require_relative '../../../../../primary_channel' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module JoinedTeams + module Item + module PrimaryChannel + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb b/lib/me/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb index 7bae3e6bde..d4fb2040f4 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 8889c3a286..86f3d8489d 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index c911557a77..0c736c4309 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -12,6 +12,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Me @@ -28,6 +29,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Me::JoinedTeams::Item::PrimaryChannel::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -132,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..3fc84cba81 --- /dev/null +++ b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,118 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../me' +require_relative '../../../../../../../../../joined_teams' +require_relative '../../../../../../../../item' +require_relative '../../../../../../../primary_channel' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Me + module JoinedTeams + module Item + module PrimaryChannel + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/me/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in me + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb index 7a6fda480e..ea8f6be6aa 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb b/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb index 3449a4e18f..8a99180139 100644 --- a/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/messages/messages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/primary_channel_request_builder.rb b/lib/me/joined_teams/item/primary_channel/primary_channel_request_builder.rb index ad72922073..9da197adf1 100644 --- a/lib/me/joined_teams/item/primary_channel/primary_channel_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/primary_channel_request_builder.rb @@ -222,7 +222,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index b5c6430bb9..06cf7677e7 100644 --- a/lib/me/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb b/lib/me/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb index 5ef84a5ec9..8331a030c7 100644 --- a/lib/me/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb b/lib/me/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb index a8e7ef0c46..dc9a2b32d4 100644 --- a/lib/me/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb b/lib/me/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb index d93affde9d..a6a08de055 100644 --- a/lib/me/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb +++ b/lib/me/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb b/lib/me/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb index ab03b35d78..8b30ed324f 100644 --- a/lib/me/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb b/lib/me/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb index 80b933b190..978b4fc8c3 100644 --- a/lib/me/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb b/lib/me/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb index 06fce3081a..d0374db6e4 100644 --- a/lib/me/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb b/lib/me/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb index 6184f04144..eb878805fc 100644 --- a/lib/me/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb b/lib/me/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb index 7774f6f72a..e983718600 100644 --- a/lib/me/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb b/lib/me/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb index ec9033cac4..3dbee24397 100644 --- a/lib/me/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/schedule_request_builder.rb b/lib/me/joined_teams/item/schedule/schedule_request_builder.rb index 3391d97f31..0b3daa64aa 100644 --- a/lib/me/joined_teams/item/schedule/schedule_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/schedule_request_builder.rb @@ -288,7 +288,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb b/lib/me/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb index b36586e669..c83683f5c3 100644 --- a/lib/me/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb b/lib/me/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb index 9f2062e4ab..67db3894c1 100644 --- a/lib/me/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/share/share_request_builder.rb b/lib/me/joined_teams/item/schedule/share/share_request_builder.rb index dc2b611b14..42dcf099d5 100644 --- a/lib/me/joined_teams/item/schedule/share/share_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/share/share_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb b/lib/me/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb index 55e308fafb..7e796b6091 100644 --- a/lib/me/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/shifts/shifts_request_builder.rb b/lib/me/joined_teams/item/schedule/shifts/shifts_request_builder.rb index 1a14cbdaec..4f86320866 100644 --- a/lib/me/joined_teams/item/schedule/shifts/shifts_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/shifts/shifts_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb b/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb index 0ee797774b..4460600bce 100644 --- a/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb b/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb index f32e9413cb..0d208f5552 100644 --- a/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb b/lib/me/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb index 15530a7f9d..811079649e 100644 --- a/lib/me/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb b/lib/me/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb index 7f74e80cc1..c64baf39c6 100644 --- a/lib/me/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb b/lib/me/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb index d83774d6e0..e27b341fe4 100644 --- a/lib/me/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb b/lib/me/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb index 192a190d20..5a6a4f3135 100644 --- a/lib/me/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb b/lib/me/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb index f4484b5413..23d692d62d 100644 --- a/lib/me/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/schedule/times_off/times_off_request_builder.rb b/lib/me/joined_teams/item/schedule/times_off/times_off_request_builder.rb index 8dd78a6bd5..df23410554 100644 --- a/lib/me/joined_teams/item/schedule/times_off/times_off_request_builder.rb +++ b/lib/me/joined_teams/item/schedule/times_off/times_off_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/me/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb index 2deef1cf1d..e69fd99c67 100644 --- a/lib/me/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/me/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb b/lib/me/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb index 791f132af3..26270ee23a 100644 --- a/lib/me/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb +++ b/lib/me/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/tags/item/members/members_request_builder.rb b/lib/me/joined_teams/item/tags/item/members/members_request_builder.rb index 54b1f4b406..ebea4438a3 100644 --- a/lib/me/joined_teams/item/tags/item/members/members_request_builder.rb +++ b/lib/me/joined_teams/item/tags/item/members/members_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb b/lib/me/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb index 9c5f2a27e8..92a989d832 100644 --- a/lib/me/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb +++ b/lib/me/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/tags/tags_request_builder.rb b/lib/me/joined_teams/item/tags/tags_request_builder.rb index bb1025feb1..ed3b5cefca 100644 --- a/lib/me/joined_teams/item/tags/tags_request_builder.rb +++ b/lib/me/joined_teams/item/tags/tags_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/item/team_item_request_builder.rb b/lib/me/joined_teams/item/team_item_request_builder.rb index 98d6d7f67a..4d0a85b94d 100644 --- a/lib/me/joined_teams/item/team_item_request_builder.rb +++ b/lib/me/joined_teams/item/team_item_request_builder.rb @@ -304,7 +304,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/joined_teams/joined_teams_request_builder.rb b/lib/me/joined_teams/joined_teams_request_builder.rb index 5a21134e20..d7858e43a1 100644 --- a/lib/me/joined_teams/joined_teams_request_builder.rb +++ b/lib/me/joined_teams/joined_teams_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/license_details/item/license_details_item_request_builder.rb b/lib/me/license_details/item/license_details_item_request_builder.rb index 96b4d30a35..453d49b2bb 100644 --- a/lib/me/license_details/item/license_details_item_request_builder.rb +++ b/lib/me/license_details/item/license_details_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/license_details/license_details_request_builder.rb b/lib/me/license_details/license_details_request_builder.rb index 5eabba8ac0..e00384fb0a 100644 --- a/lib/me/license_details/license_details_request_builder.rb +++ b/lib/me/license_details/license_details_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/child_folders_request_builder.rb b/lib/me/mail_folders/item/child_folders/child_folders_request_builder.rb index 018c3477e2..b384d482da 100644 --- a/lib/me/mail_folders/item/child_folders/child_folders_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/child_folders_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/copy/copy_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/copy/copy_request_builder.rb index 3ec7614dbf..5b71021f4f 100644 --- a/lib/me/mail_folders/item/child_folders/item/copy/copy_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/copy/copy_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb index 7e468488f8..ca70141e24 100644 --- a/lib/me/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb @@ -206,7 +206,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb index b1420c4876..7c710107e7 100644 --- a/lib/me/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb index 1fb4afb841..7dbeed3220 100644 --- a/lib/me/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb index 5b1dc0adbe..94746382b1 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 82095a741a..12d6381553 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb index 3d62aa1799..f061d34b9c 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb index dd059632a7..98c0f610d3 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb index b8a800a6e7..4818a7e6f5 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb index d5414dd0de..b3b36d06be 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb index 7440009824..dee8c44cee 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb index 6bf793c8d9..b5a992a1f4 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb index 1e32a3d7e1..d4746ca217 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb index cd11cb3f3a..5e690984a1 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb @@ -258,7 +258,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb index 5045915e5b..4030f1db5d 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 404c4edee7..60a46257c5 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b9637d9253..18f82333b3 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb index 8b2feda64e..1480727ed3 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb index e66f1cf450..081a7c89ec 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 934338684b..8ea72e902c 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index aa7540fa00..835434e47b 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb index 7b54fe1f3d..d3ed9fc67c 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb @@ -50,7 +50,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +60,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from me @@ -94,7 +94,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/messages/messages_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/messages/messages_request_builder.rb index 0d7b95889d..210fbc4996 100644 --- a/lib/me/mail_folders/item/child_folders/item/messages/messages_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/messages/messages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/move/move_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/move/move_request_builder.rb index c1d8226c34..092689ae7e 100644 --- a/lib/me/mail_folders/item/child_folders/item/move/move_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/move/move_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index bbc706f3a2..2e62c7b8dd 100644 --- a/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 312bda9d0e..bddd9abc64 100644 --- a/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b915f4b229..85566a879a 100644 --- a/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index bc691322b1..d06e2391b4 100644 --- a/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/copy/copy_request_builder.rb b/lib/me/mail_folders/item/copy/copy_request_builder.rb index fdf3b9dc43..5dad650e1b 100644 --- a/lib/me/mail_folders/item/copy/copy_request_builder.rb +++ b/lib/me/mail_folders/item/copy/copy_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/mail_folder_item_request_builder.rb b/lib/me/mail_folders/item/mail_folder_item_request_builder.rb index 0a3c0ce6a4..ee1daa907a 100644 --- a/lib/me/mail_folders/item/mail_folder_item_request_builder.rb +++ b/lib/me/mail_folders/item/mail_folder_item_request_builder.rb @@ -220,7 +220,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb b/lib/me/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb index cb4712a43b..8f57b20580 100644 --- a/lib/me/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb +++ b/lib/me/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/message_rules/message_rules_request_builder.rb b/lib/me/mail_folders/item/message_rules/message_rules_request_builder.rb index 1835066044..96b172be00 100644 --- a/lib/me/mail_folders/item/message_rules/message_rules_request_builder.rb +++ b/lib/me/mail_folders/item/message_rules/message_rules_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb b/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb index 8ffa77013b..9757e1c863 100644 --- a/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/attachments/attachments_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index f86c143f04..eaf99601b2 100644 --- a/lib/me/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/copy/copy_request_builder.rb b/lib/me/mail_folders/item/messages/item/copy/copy_request_builder.rb index 77996d5140..a20b831e89 100644 --- a/lib/me/mail_folders/item/messages/item/copy/copy_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/copy/copy_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb b/lib/me/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb index 1a975c982d..d8ecfb63dd 100644 --- a/lib/me/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb b/lib/me/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb index 99049660a0..0e32d10ce1 100644 --- a/lib/me/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/me/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb index b79928a376..d3d5f86fc1 100644 --- a/lib/me/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/extensions/extensions_request_builder.rb b/lib/me/mail_folders/item/messages/item/extensions/extensions_request_builder.rb index 0e6bf1f8f5..0ad7faa1a0 100644 --- a/lib/me/mail_folders/item/messages/item/extensions/extensions_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb b/lib/me/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb index 019863a890..2187f588a0 100644 --- a/lib/me/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/forward/forward_request_builder.rb b/lib/me/mail_folders/item/messages/item/forward/forward_request_builder.rb index 8514840cb6..3efab08164 100644 --- a/lib/me/mail_folders/item/messages/item/forward/forward_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/message_item_request_builder.rb b/lib/me/mail_folders/item/messages/item/message_item_request_builder.rb index 34670e6964..269badd363 100644 --- a/lib/me/mail_folders/item/messages/item/message_item_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/message_item_request_builder.rb @@ -254,7 +254,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/move/move_request_builder.rb b/lib/me/mail_folders/item/messages/item/move/move_request_builder.rb index cf54a5bb24..c843d3c154 100644 --- a/lib/me/mail_folders/item/messages/item/move/move_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/move/move_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 2eac259357..e48d9635f5 100644 --- a/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 4995286c2e..af9da0b4f2 100644 --- a/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/reply/reply_request_builder.rb b/lib/me/mail_folders/item/messages/item/reply/reply_request_builder.rb index 7c49450098..c5bba92c9b 100644 --- a/lib/me/mail_folders/item/messages/item/reply/reply_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/reply/reply_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb b/lib/me/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb index e9a6a2b40c..9a46359a28 100644 --- a/lib/me/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 92e07b68ce..433e77cb90 100644 --- a/lib/me/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 93d4ee7fa0..fa4d391054 100644 --- a/lib/me/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/messages/item/value/content_request_builder.rb b/lib/me/mail_folders/item/messages/item/value/content_request_builder.rb index cf2ecb80bb..1f6780023c 100644 --- a/lib/me/mail_folders/item/messages/item/value/content_request_builder.rb +++ b/lib/me/mail_folders/item/messages/item/value/content_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from me @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/mail_folders/item/messages/messages_request_builder.rb b/lib/me/mail_folders/item/messages/messages_request_builder.rb index 09f4b70edb..8c0a4d6e63 100644 --- a/lib/me/mail_folders/item/messages/messages_request_builder.rb +++ b/lib/me/mail_folders/item/messages/messages_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/move/move_request_builder.rb b/lib/me/mail_folders/item/move/move_request_builder.rb index 39db62c45c..4a16365a18 100644 --- a/lib/me/mail_folders/item/move/move_request_builder.rb +++ b/lib/me/mail_folders/item/move/move_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 99acf60607..779f64886f 100644 --- a/lib/me/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 8123da20f6..22b510a405 100644 --- a/lib/me/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 24c005bd31..e901fd41eb 100644 --- a/lib/me/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 0d3ab35e72..0200937255 100644 --- a/lib/me/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/mail_folders/mail_folders_request_builder.rb b/lib/me/mail_folders/mail_folders_request_builder.rb index bd3ab47859..eb150cb0b9 100644 --- a/lib/me/mail_folders/mail_folders_request_builder.rb +++ b/lib/me/mail_folders/mail_folders_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb b/lib/me/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb index f594070c4b..58449aff27 100644 --- a/lib/me/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb +++ b/lib/me/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb b/lib/me/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb index 1859ebd42c..82e190c1fa 100644 --- a/lib/me/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb +++ b/lib/me/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/managed_devices/item/device_category/device_category_request_builder.rb b/lib/me/managed_devices/item/device_category/device_category_request_builder.rb index 4eb3d2261b..19c7c7ccac 100644 --- a/lib/me/managed_devices/item/device_category/device_category_request_builder.rb +++ b/lib/me/managed_devices/item/device_category/device_category_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb b/lib/me/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb index 4c873230de..c7ce148bbe 100644 --- a/lib/me/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb +++ b/lib/me/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb b/lib/me/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb index 902c6f2184..7f32b902c8 100644 --- a/lib/me/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb +++ b/lib/me/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb b/lib/me/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb index b7d536b179..8077cc5596 100644 --- a/lib/me/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb +++ b/lib/me/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb b/lib/me/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb index 5729d2b146..74770fc4e6 100644 --- a/lib/me/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb +++ b/lib/me/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/managed_device_item_request_builder.rb b/lib/me/managed_devices/item/managed_device_item_request_builder.rb index dfb5540a17..32095174e4 100644 --- a/lib/me/managed_devices/item/managed_device_item_request_builder.rb +++ b/lib/me/managed_devices/item/managed_device_item_request_builder.rb @@ -274,7 +274,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb b/lib/me/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb index b58eb94178..a85cb2d90f 100644 --- a/lib/me/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb +++ b/lib/me/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb b/lib/me/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb index f4378f25a0..fe17735f97 100644 --- a/lib/me/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb +++ b/lib/me/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/managed_devices/item/wipe/wipe_request_builder.rb b/lib/me/managed_devices/item/wipe/wipe_request_builder.rb index 605bf191c2..4c3b475d2f 100644 --- a/lib/me/managed_devices/item/wipe/wipe_request_builder.rb +++ b/lib/me/managed_devices/item/wipe/wipe_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/managed_devices/managed_devices_request_builder.rb b/lib/me/managed_devices/managed_devices_request_builder.rb index 0fc1e6bbc8..584e377606 100644 --- a/lib/me/managed_devices/managed_devices_request_builder.rb +++ b/lib/me/managed_devices/managed_devices_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/manager/ref/ref_request_builder.rb b/lib/me/manager/ref/ref_request_builder.rb index 812f26ae8d..fcf0e58672 100644 --- a/lib/me/manager/ref/ref_request_builder.rb +++ b/lib/me/manager/ref/ref_request_builder.rb @@ -116,7 +116,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/me_request_builder.rb b/lib/me/me_request_builder.rb index b79b2b312e..cd4ff36ea8 100644 --- a/lib/me/me_request_builder.rb +++ b/lib/me/me_request_builder.rb @@ -877,7 +877,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/me/messages/item/attachments/attachments_request_builder.rb b/lib/me/messages/item/attachments/attachments_request_builder.rb index b2af628cc2..8058432ed3 100644 --- a/lib/me/messages/item/attachments/attachments_request_builder.rb +++ b/lib/me/messages/item/attachments/attachments_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index bb98b14b75..1b81dc67c2 100644 --- a/lib/me/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/copy/copy_request_builder.rb b/lib/me/messages/item/copy/copy_request_builder.rb index c812bd7b72..3557bc20a6 100644 --- a/lib/me/messages/item/copy/copy_request_builder.rb +++ b/lib/me/messages/item/copy/copy_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/create_forward/create_forward_request_builder.rb b/lib/me/messages/item/create_forward/create_forward_request_builder.rb index feedc846db..fcbf38e76e 100644 --- a/lib/me/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/me/messages/item/create_forward/create_forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/create_reply/create_reply_request_builder.rb b/lib/me/messages/item/create_reply/create_reply_request_builder.rb index c1865cfef6..c62ee0d15b 100644 --- a/lib/me/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/me/messages/item/create_reply/create_reply_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/me/messages/item/create_reply_all/create_reply_all_request_builder.rb index 16a0157598..2597e52533 100644 --- a/lib/me/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/me/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/extensions/extensions_request_builder.rb b/lib/me/messages/item/extensions/extensions_request_builder.rb index 93e9066853..7471a9692f 100644 --- a/lib/me/messages/item/extensions/extensions_request_builder.rb +++ b/lib/me/messages/item/extensions/extensions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/extensions/item/extension_item_request_builder.rb b/lib/me/messages/item/extensions/item/extension_item_request_builder.rb index bec0b0c98c..896e31674c 100644 --- a/lib/me/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/messages/item/extensions/item/extension_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/forward/forward_request_builder.rb b/lib/me/messages/item/forward/forward_request_builder.rb index 0e1ef3b392..c5c43f4047 100644 --- a/lib/me/messages/item/forward/forward_request_builder.rb +++ b/lib/me/messages/item/forward/forward_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/message_item_request_builder.rb b/lib/me/messages/item/message_item_request_builder.rb index c0443f9965..b283b40f8f 100644 --- a/lib/me/messages/item/message_item_request_builder.rb +++ b/lib/me/messages/item/message_item_request_builder.rb @@ -250,7 +250,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/move/move_request_builder.rb b/lib/me/messages/item/move/move_request_builder.rb index c68a6acf00..cbcd5fcd2c 100644 --- a/lib/me/messages/item/move/move_request_builder.rb +++ b/lib/me/messages/item/move/move_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/me/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 21c28b1a87..d325a74a08 100644 --- a/lib/me/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/me/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 55f9a8a4c7..a2457a2748 100644 --- a/lib/me/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/me/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/reply/reply_request_builder.rb b/lib/me/messages/item/reply/reply_request_builder.rb index eb1c1e550c..0a6ffefa42 100644 --- a/lib/me/messages/item/reply/reply_request_builder.rb +++ b/lib/me/messages/item/reply/reply_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/reply_all/reply_all_request_builder.rb b/lib/me/messages/item/reply_all/reply_all_request_builder.rb index 2ae576f1eb..3df0159efe 100644 --- a/lib/me/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/me/messages/item/reply_all/reply_all_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/me/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 5bd08c69e8..d51a0dff18 100644 --- a/lib/me/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/me/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/me/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 0712b141c5..2c543cfee0 100644 --- a/lib/me/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/me/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/messages/item/value/content_request_builder.rb b/lib/me/messages/item/value/content_request_builder.rb index 15ff99cfa8..cbadca4750 100644 --- a/lib/me/messages/item/value/content_request_builder.rb +++ b/lib/me/messages/item/value/content_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from me @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/messages/messages_request_builder.rb b/lib/me/messages/messages_request_builder.rb index 2f6d9368ba..8f5c03efba 100644 --- a/lib/me/messages/messages_request_builder.rb +++ b/lib/me/messages/messages_request_builder.rb @@ -35,7 +35,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/me/messages{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + ## Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of message_collection_response ## @@ -49,7 +49,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::MessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the **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 operation, or create a draft to forward, reply and reply-all to an existing message. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of message @@ -65,7 +65,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Message.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + ## Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -83,7 +83,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the **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 operation, or create a draft to forward, reply and reply-all to an existing message. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -99,12 +99,12 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## - # Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + # Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. class MessagesRequestBuilderGetQueryParameters ## diff --git a/lib/me/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb b/lib/me/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb index bf69307e11..4091627ded 100644 --- a/lib/me/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb +++ b/lib/me/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb b/lib/me/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb index 2402b35be4..3c70191b9f 100644 --- a/lib/me/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb +++ b/lib/me/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/notebook_item_request_builder.rb b/lib/me/onenote/notebooks/item/notebook_item_request_builder.rb index 5702510e3a..bf5b076ac2 100644 --- a/lib/me/onenote/notebooks/item/notebook_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/notebook_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb index 651ed3ba7a..93e72e56bb 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index cfe7603020..9376f0991f 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index dbb62fb2b2..744f036a82 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb index ad74e0fcc3..845d7637c7 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index c095733dfd..75693f9c76 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../me' require_relative '../../../../../../../../../onenote' require_relative '../../../../../../../../notebooks' @@ -56,7 +57,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -66,7 +67,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -96,11 +97,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 18b7d2609c..57cc0dc564 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index 04120be568..c5e1bf096f 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index fe7d70a0a4..a60b826072 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb index a7ac3abbfa..691ae3cb59 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb index 61d2ff8d89..581a92f097 100644 --- a/lib/me/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/section_groups/section_groups_request_builder.rb b/lib/me/onenote/notebooks/item/section_groups/section_groups_request_builder.rb index f73ec52e13..7bb9c81b34 100644 --- a/lib/me/onenote/notebooks/item/section_groups/section_groups_request_builder.rb +++ b/lib/me/onenote/notebooks/item/section_groups/section_groups_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index dc16958907..e0d5e9ed30 100644 --- a/lib/me/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index ea5a39d291..ba748494f9 100644 --- a/lib/me/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb index 76c748565c..e7d06bf9ff 100644 --- a/lib/me/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb index 8c77c00f16..3ebde97486 100644 --- a/lib/me/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../me' require_relative '../../../../../../../onenote' require_relative '../../../../../../notebooks' @@ -52,7 +53,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +63,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -92,11 +93,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 67faed24d6..9c1f251867 100644 --- a/lib/me/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb index cce450ec00..311f0fe0d2 100644 --- a/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index a73640c07e..68c7517e02 100644 --- a/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb b/lib/me/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb index 2180236d9b..35a712dc9c 100644 --- a/lib/me/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/item/sections/sections_request_builder.rb b/lib/me/onenote/notebooks/item/sections/sections_request_builder.rb index d08dd30db7..5ec23b8ccb 100644 --- a/lib/me/onenote/notebooks/item/sections/sections_request_builder.rb +++ b/lib/me/onenote/notebooks/item/sections/sections_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/notebooks/notebooks_request_builder.rb b/lib/me/onenote/notebooks/notebooks_request_builder.rb index 757067d5a1..b271a1ced0 100644 --- a/lib/me/onenote/notebooks/notebooks_request_builder.rb +++ b/lib/me/onenote/notebooks/notebooks_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/onenote_request_builder.rb b/lib/me/onenote/onenote_request_builder.rb index 6d138dadea..4b686cd335 100644 --- a/lib/me/onenote/onenote_request_builder.rb +++ b/lib/me/onenote/onenote_request_builder.rb @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/operations/item/onenote_operation_item_request_builder.rb b/lib/me/onenote/operations/item/onenote_operation_item_request_builder.rb index fad5d63035..21f527970c 100644 --- a/lib/me/onenote/operations/item/onenote_operation_item_request_builder.rb +++ b/lib/me/onenote/operations/item/onenote_operation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/operations/operations_request_builder.rb b/lib/me/onenote/operations/operations_request_builder.rb index 905fd0c0e5..397cdaca70 100644 --- a/lib/me/onenote/operations/operations_request_builder.rb +++ b/lib/me/onenote/operations/operations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/pages/item/content/content_request_builder.rb b/lib/me/onenote/pages/item/content/content_request_builder.rb index 5d8bf40d8b..2b920ca865 100644 --- a/lib/me/onenote/pages/item/content/content_request_builder.rb +++ b/lib/me/onenote/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../models/onenote_page' require_relative '../../../../me' require_relative '../../../onenote' require_relative '../../pages' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/me/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb index 084c314bea..4f58c89522 100644 --- a/lib/me/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/me/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/pages/item/onenote_page_item_request_builder.rb b/lib/me/onenote/pages/item/onenote_page_item_request_builder.rb index ae5bcb6efa..2dd5e7c68d 100644 --- a/lib/me/onenote/pages/item/onenote_page_item_request_builder.rb +++ b/lib/me/onenote/pages/item/onenote_page_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/me/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 3613b03def..28f3985fbf 100644 --- a/lib/me/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/me/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/pages/pages_request_builder.rb b/lib/me/onenote/pages/pages_request_builder.rb index 8a3247a0e3..2eadb1c8d1 100644 --- a/lib/me/onenote/pages/pages_request_builder.rb +++ b/lib/me/onenote/pages/pages_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/resources/item/content/content_request_builder.rb b/lib/me/onenote/resources/item/content/content_request_builder.rb index a3b13cb46b..b00d7c935b 100644 --- a/lib/me/onenote/resources/item/content/content_request_builder.rb +++ b/lib/me/onenote/resources/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../models/onenote_resource' require_relative '../../../../me' require_relative '../../../onenote' require_relative '../../resources' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_resource ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenoteResource.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/resources/item/onenote_resource_item_request_builder.rb b/lib/me/onenote/resources/item/onenote_resource_item_request_builder.rb index 227fb43c0c..45c134c716 100644 --- a/lib/me/onenote/resources/item/onenote_resource_item_request_builder.rb +++ b/lib/me/onenote/resources/item/onenote_resource_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/resources/resources_request_builder.rb b/lib/me/onenote/resources/resources_request_builder.rb index 92eae757fc..9f6ea00797 100644 --- a/lib/me/onenote/resources/resources_request_builder.rb +++ b/lib/me/onenote/resources/resources_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/item/section_group_item_request_builder.rb b/lib/me/onenote/section_groups/item/section_group_item_request_builder.rb index 05d00a9c46..57b464a55e 100644 --- a/lib/me/onenote/section_groups/item/section_group_item_request_builder.rb +++ b/lib/me/onenote/section_groups/item/section_group_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 48d05a4fe6..57eb3e6aa4 100644 --- a/lib/me/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index b4f434999c..866cd816d9 100644 --- a/lib/me/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb index d76a2bc850..d6056cbc8c 100644 --- a/lib/me/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index 4bfe0d0c49..522f149d38 100644 --- a/lib/me/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../me' require_relative '../../../../../../../onenote' require_relative '../../../../../../section_groups' @@ -52,7 +53,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +63,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -92,11 +93,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index e5c5f27bde..06355e33ff 100644 --- a/lib/me/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index db61d864d6..d5d772c2bf 100644 --- a/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index d7a7a9d285..204cfeb469 100644 --- a/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/me/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb index a02aa12981..babfe2e83a 100644 --- a/lib/me/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/item/sections/sections_request_builder.rb b/lib/me/onenote/section_groups/item/sections/sections_request_builder.rb index 616cb6d7f6..170b3ddd5e 100644 --- a/lib/me/onenote/section_groups/item/sections/sections_request_builder.rb +++ b/lib/me/onenote/section_groups/item/sections/sections_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/section_groups/section_groups_request_builder.rb b/lib/me/onenote/section_groups/section_groups_request_builder.rb index 1b9c886a7f..03e659fd2c 100644 --- a/lib/me/onenote/section_groups/section_groups_request_builder.rb +++ b/lib/me/onenote/section_groups/section_groups_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/me/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 0d8d61cdf1..31a8ffdf5c 100644 --- a/lib/me/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/me/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/me/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 3e70c1517f..6c9514c30d 100644 --- a/lib/me/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/me/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/sections/item/onenote_section_item_request_builder.rb b/lib/me/onenote/sections/item/onenote_section_item_request_builder.rb index 40d4362c81..8e17c8b976 100644 --- a/lib/me/onenote/sections/item/onenote_section_item_request_builder.rb +++ b/lib/me/onenote/sections/item/onenote_section_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/sections/item/pages/item/content/content_request_builder.rb b/lib/me/onenote/sections/item/pages/item/content/content_request_builder.rb index cd94227503..c69b073029 100644 --- a/lib/me/onenote/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/me/onenote/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' require_relative '../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../models/onenote_page' require_relative '../../../../../../me' require_relative '../../../../../onenote' require_relative '../../../../sections' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/me/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index aa9d633676..60add22984 100644 --- a/lib/me/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/me/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/me/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb index 4985fdf70b..8c81b08942 100644 --- a/lib/me/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/me/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/me/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 9c0db8f211..f8e65e842b 100644 --- a/lib/me/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/me/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/onenote/sections/item/pages/pages_request_builder.rb b/lib/me/onenote/sections/item/pages/pages_request_builder.rb index 34cc8cd51f..21bd7a7174 100644 --- a/lib/me/onenote/sections/item/pages/pages_request_builder.rb +++ b/lib/me/onenote/sections/item/pages/pages_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/onenote/sections/sections_request_builder.rb b/lib/me/onenote/sections/sections_request_builder.rb index 3e447ef949..e4c8f189dd 100644 --- a/lib/me/onenote/sections/sections_request_builder.rb +++ b/lib/me/onenote/sections/sections_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/create_or_get/create_or_get_request_builder.rb b/lib/me/online_meetings/create_or_get/create_or_get_request_builder.rb index e5c99308d9..d5ddfad845 100644 --- a/lib/me/online_meetings/create_or_get/create_or_get_request_builder.rb +++ b/lib/me/online_meetings/create_or_get/create_or_get_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb b/lib/me/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb index fe7823fb84..1bc69bea2b 100644 --- a/lib/me/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb +++ b/lib/me/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb b/lib/me/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb index 1f61e33467..80189722b8 100644 --- a/lib/me/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb +++ b/lib/me/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb b/lib/me/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb index 3821adb10b..e84f56e53b 100644 --- a/lib/me/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb +++ b/lib/me/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb b/lib/me/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb index a833316365..dd44651139 100644 --- a/lib/me/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb +++ b/lib/me/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/item/attendee_report/attendee_report_request_builder.rb b/lib/me/online_meetings/item/attendee_report/attendee_report_request_builder.rb index bd025d284d..ea1dad464f 100644 --- a/lib/me/online_meetings/item/attendee_report/attendee_report_request_builder.rb +++ b/lib/me/online_meetings/item/attendee_report/attendee_report_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/online_meetings/item/online_meeting_item_request_builder.rb b/lib/me/online_meetings/item/online_meeting_item_request_builder.rb index f8176f0e43..6662f64dcc 100644 --- a/lib/me/online_meetings/item/online_meeting_item_request_builder.rb +++ b/lib/me/online_meetings/item/online_meeting_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/online_meetings/online_meetings_request_builder.rb b/lib/me/online_meetings/online_meetings_request_builder.rb index 53e0c6c691..9edab5ed5d 100644 --- a/lib/me/online_meetings/online_meetings_request_builder.rb +++ b/lib/me/online_meetings/online_meetings_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/outlook/master_categories/item/outlook_category_item_request_builder.rb b/lib/me/outlook/master_categories/item/outlook_category_item_request_builder.rb index 83c78d6ae5..390aae8f8f 100644 --- a/lib/me/outlook/master_categories/item/outlook_category_item_request_builder.rb +++ b/lib/me/outlook/master_categories/item/outlook_category_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/outlook/master_categories/master_categories_request_builder.rb b/lib/me/outlook/master_categories/master_categories_request_builder.rb index 5b1c7ca072..e3c560051e 100644 --- a/lib/me/outlook/master_categories/master_categories_request_builder.rb +++ b/lib/me/outlook/master_categories/master_categories_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/photo/photo_request_builder.rb b/lib/me/photo/photo_request_builder.rb index adf00a702f..b8e44aaf6a 100644 --- a/lib/me/photo/photo_request_builder.rb +++ b/lib/me/photo/photo_request_builder.rb @@ -28,6 +28,20 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/me/photo{?%24select}") end ## + ## Delete navigation property photo for me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## ## The user's profile photo. Read-only. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of profile_photo @@ -58,6 +72,22 @@ def patch(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ProfilePhoto.create_from_discriminator_value(pn) }, error_mapping) end ## + ## Delete navigation property photo for me + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## ## The user's profile photo. Read-only. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -92,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/photo/value/content_request_builder.rb b/lib/me/photo/value/content_request_builder.rb index caff0e8a67..2d836b1d2d 100644 --- a/lib/me/photo/value/content_request_builder.rb +++ b/lib/me/photo/value/content_request_builder.rb @@ -40,7 +40,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -50,7 +50,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from me @@ -84,7 +84,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/photos/item/value/content_request_builder.rb b/lib/me/photos/item/value/content_request_builder.rb index 4da18ce6be..97e8c7e672 100644 --- a/lib/me/photos/item/value/content_request_builder.rb +++ b/lib/me/photos/item/value/content_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photos in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photos from me @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/planner/planner_request_builder.rb b/lib/me/planner/planner_request_builder.rb index ce56ffbeac..c6c6e18bcf 100644 --- a/lib/me/planner/planner_request_builder.rb +++ b/lib/me/planner/planner_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/buckets_request_builder.rb b/lib/me/planner/plans/item/buckets/buckets_request_builder.rb index 583f90c364..da2c115307 100644 --- a/lib/me/planner/plans/item/buckets/buckets_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/buckets_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb b/lib/me/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb index 028d39df24..f3a9afe490 100644 --- a/lib/me/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index 585971548d..4a6bda56f2 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 40eb411391..6779feb66c 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb index b74fe6142a..a9e1b2aca5 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb index 9975c5ecd1..d7f97d92c5 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 5342d062b0..c379140f83 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb b/lib/me/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb index b14e02e14a..7cbdedf4e3 100644 --- a/lib/me/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb +++ b/lib/me/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/details/details_request_builder.rb b/lib/me/planner/plans/item/details/details_request_builder.rb index 6d03f14839..0fa9ac2836 100644 --- a/lib/me/planner/plans/item/details/details_request_builder.rb +++ b/lib/me/planner/plans/item/details/details_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/planner_plan_item_request_builder.rb b/lib/me/planner/plans/item/planner_plan_item_request_builder.rb index b6c3839739..bcf1a048c2 100644 --- a/lib/me/planner/plans/item/planner_plan_item_request_builder.rb +++ b/lib/me/planner/plans/item/planner_plan_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/me/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index e78630b428..59a3dc39bd 100644 --- a/lib/me/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/me/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index c204dcd762..6331c2896f 100644 --- a/lib/me/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/item/details/details_request_builder.rb b/lib/me/planner/plans/item/tasks/item/details/details_request_builder.rb index ff4a497273..25c26ab444 100644 --- a/lib/me/planner/plans/item/tasks/item/details/details_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/item/details/details_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/item/planner_task_item_request_builder.rb b/lib/me/planner/plans/item/tasks/item/planner_task_item_request_builder.rb index 2d5a6c57cc..ffe641021f 100644 --- a/lib/me/planner/plans/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/item/planner_task_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/me/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index fb261d6ca1..582841379f 100644 --- a/lib/me/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/item/tasks/tasks_request_builder.rb b/lib/me/planner/plans/item/tasks/tasks_request_builder.rb index f388d07d80..c63adb0a71 100644 --- a/lib/me/planner/plans/item/tasks/tasks_request_builder.rb +++ b/lib/me/planner/plans/item/tasks/tasks_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/plans/plans_request_builder.rb b/lib/me/planner/plans/plans_request_builder.rb index e9a520731d..ceb48106b9 100644 --- a/lib/me/planner/plans/plans_request_builder.rb +++ b/lib/me/planner/plans/plans_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/me/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index b66ee0578f..75ff213a41 100644 --- a/lib/me/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/me/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/me/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 21070cc027..ba391fa351 100644 --- a/lib/me/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/me/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/item/details/details_request_builder.rb b/lib/me/planner/tasks/item/details/details_request_builder.rb index 1f729e66a0..d4618487ee 100644 --- a/lib/me/planner/tasks/item/details/details_request_builder.rb +++ b/lib/me/planner/tasks/item/details/details_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/item/planner_task_item_request_builder.rb b/lib/me/planner/tasks/item/planner_task_item_request_builder.rb index 2160ee2acd..aafcd6a5da 100644 --- a/lib/me/planner/tasks/item/planner_task_item_request_builder.rb +++ b/lib/me/planner/tasks/item/planner_task_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/me/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 0f4e024d7b..83da31616d 100644 --- a/lib/me/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/me/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/planner/tasks/tasks_request_builder.rb b/lib/me/planner/tasks/tasks_request_builder.rb index 8df2ead5bd..f389841d12 100644 --- a/lib/me/planner/tasks/tasks_request_builder.rb +++ b/lib/me/planner/tasks/tasks_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/presence/clear_presence/clear_presence_request_builder.rb b/lib/me/presence/clear_presence/clear_presence_request_builder.rb index ee083ce7d1..21a715b4bc 100644 --- a/lib/me/presence/clear_presence/clear_presence_request_builder.rb +++ b/lib/me/presence/clear_presence/clear_presence_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/presence/presence_request_builder.rb b/lib/me/presence/presence_request_builder.rb index 23c34800f3..f5febf5722 100644 --- a/lib/me/presence/presence_request_builder.rb +++ b/lib/me/presence/presence_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/presence/set_presence/set_presence_request_builder.rb b/lib/me/presence/set_presence/set_presence_request_builder.rb index 1bb3bdb29b..a97a76be6e 100644 --- a/lib/me/presence/set_presence/set_presence_request_builder.rb +++ b/lib/me/presence/set_presence/set_presence_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb b/lib/me/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb index 8e60b20a40..8a4318f864 100644 --- a/lib/me/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb +++ b/lib/me/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb b/lib/me/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb index ffafbb5aa0..3ff80d4959 100644 --- a/lib/me/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb +++ b/lib/me/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/scoped_role_member_of/scoped_role_member_of_request_builder.rb b/lib/me/scoped_role_member_of/scoped_role_member_of_request_builder.rb index 4dcc58abc0..f25071c1f0 100644 --- a/lib/me/scoped_role_member_of/scoped_role_member_of_request_builder.rb +++ b/lib/me/scoped_role_member_of/scoped_role_member_of_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/send_mail/send_mail_request_builder.rb b/lib/me/send_mail/send_mail_request_builder.rb index 12787859ab..dbf363867d 100644 --- a/lib/me/send_mail/send_mail_request_builder.rb +++ b/lib/me/send_mail/send_mail_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/settings/settings_request_builder.rb b/lib/me/settings/settings_request_builder.rb index e3ac4c4cf1..e05dcefc90 100644 --- a/lib/me/settings/settings_request_builder.rb +++ b/lib/me/settings/settings_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/settings/shift_preferences/shift_preferences_request_builder.rb b/lib/me/settings/shift_preferences/shift_preferences_request_builder.rb index e32ceebcf7..c67437103f 100644 --- a/lib/me/settings/shift_preferences/shift_preferences_request_builder.rb +++ b/lib/me/settings/shift_preferences/shift_preferences_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/teamwork/associated_teams/associated_teams_request_builder.rb b/lib/me/teamwork/associated_teams/associated_teams_request_builder.rb index b4de060fcb..0aba793173 100644 --- a/lib/me/teamwork/associated_teams/associated_teams_request_builder.rb +++ b/lib/me/teamwork/associated_teams/associated_teams_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb b/lib/me/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb index ec24038f58..fd7961cfbf 100644 --- a/lib/me/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb +++ b/lib/me/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/teamwork/installed_apps/installed_apps_request_builder.rb b/lib/me/teamwork/installed_apps/installed_apps_request_builder.rb index 02b12fcbd4..a8ea99bbbe 100644 --- a/lib/me/teamwork/installed_apps/installed_apps_request_builder.rb +++ b/lib/me/teamwork/installed_apps/installed_apps_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb b/lib/me/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb index 5717edee62..7e510843aa 100644 --- a/lib/me/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb +++ b/lib/me/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/teamwork/send_activity_notification/send_activity_notification_request_builder.rb b/lib/me/teamwork/send_activity_notification/send_activity_notification_request_builder.rb index 4fabadeb03..63c5fb2ef0 100644 --- a/lib/me/teamwork/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/me/teamwork/send_activity_notification/send_activity_notification_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/teamwork/teamwork_request_builder.rb b/lib/me/teamwork/teamwork_request_builder.rb index 581c366d73..ae0ffb32c2 100644 --- a/lib/me/teamwork/teamwork_request_builder.rb +++ b/lib/me/teamwork/teamwork_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/extensions/extensions_request_builder.rb b/lib/me/todo/lists/item/extensions/extensions_request_builder.rb index 80840d26c3..1ebde079f5 100644 --- a/lib/me/todo/lists/item/extensions/extensions_request_builder.rb +++ b/lib/me/todo/lists/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/extensions/item/extension_item_request_builder.rb b/lib/me/todo/lists/item/extensions/item/extension_item_request_builder.rb index c80c8bc8c9..4d865cba35 100644 --- a/lib/me/todo/lists/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/todo/lists/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb b/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb index 10f48ce4a5..f72db05a87 100644 --- a/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb b/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb index 335045bbdc..0492609a0f 100644 --- a/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/attachment_session' require_relative '../../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../../me' require_relative '../../../../../../../todo' @@ -52,7 +53,7 @@ def get(request_configuration=nil) ## The content streams that are uploaded. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of attachment_session ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +63,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentSession.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content streams that are uploaded. @@ -92,11 +93,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb b/lib/me/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb index facc81703f..7ace826eac 100644 --- a/lib/me/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/me/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb index e81bdc5fa1..57c385ce58 100644 --- a/lib/me/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb b/lib/me/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb index b81f51894f..4eb5d92156 100644 --- a/lib/me/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb @@ -52,7 +52,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property attachments in me ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +62,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property attachments from me @@ -96,7 +96,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/me/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb b/lib/me/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb index bca54699dc..d6727d097a 100644 --- a/lib/me/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb b/lib/me/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb index f6384c32b2..806b624596 100644 --- a/lib/me/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb b/lib/me/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb index 8569166daa..66b585ec60 100644 --- a/lib/me/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb b/lib/me/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb index 811461f9b0..9c3886bf18 100644 --- a/lib/me/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb b/lib/me/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb index ea4585d977..be94097d50 100644 --- a/lib/me/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb b/lib/me/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb index 542e418efb..52acfa82e6 100644 --- a/lib/me/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/item/todo_task_item_request_builder.rb b/lib/me/todo/lists/item/tasks/item/todo_task_item_request_builder.rb index f204c4b1e6..54197894c9 100644 --- a/lib/me/todo/lists/item/tasks/item/todo_task_item_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/item/todo_task_item_request_builder.rb @@ -214,7 +214,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/tasks/tasks_request_builder.rb b/lib/me/todo/lists/item/tasks/tasks_request_builder.rb index 949c48bf0a..9de27d5d6b 100644 --- a/lib/me/todo/lists/item/tasks/tasks_request_builder.rb +++ b/lib/me/todo/lists/item/tasks/tasks_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/item/todo_task_list_item_request_builder.rb b/lib/me/todo/lists/item/todo_task_list_item_request_builder.rb index 634dfc71ba..62c075e1ae 100644 --- a/lib/me/todo/lists/item/todo_task_list_item_request_builder.rb +++ b/lib/me/todo/lists/item/todo_task_list_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/lists/lists_request_builder.rb b/lib/me/todo/lists/lists_request_builder.rb index 6756f5847f..528267569f 100644 --- a/lib/me/todo/lists/lists_request_builder.rb +++ b/lib/me/todo/lists/lists_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/todo/todo_request_builder.rb b/lib/me/todo/todo_request_builder.rb index 3177799fd3..e99414cab0 100644 --- a/lib/me/todo/todo_request_builder.rb +++ b/lib/me/todo/todo_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/me/translate_exchange_ids/translate_exchange_ids_request_builder.rb b/lib/me/translate_exchange_ids/translate_exchange_ids_request_builder.rb index afe2595dcd..6c24331dba 100644 --- a/lib/me/translate_exchange_ids/translate_exchange_ids_request_builder.rb +++ b/lib/me/translate_exchange_ids/translate_exchange_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/me/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb b/lib/me/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb index 671af6b94b..7704b139ab 100644 --- a/lib/me/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb +++ b/lib/me/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/models/access_review_history_definition.rb b/lib/models/access_review_history_definition.rb index 3f3fc5c6a1..c8551d1cf0 100644 --- a/lib/models/access_review_history_definition.rb +++ b/lib/models/access_review_history_definition.rb @@ -38,7 +38,7 @@ class AccessReviewHistoryDefinition < MicrosoftGraph::Models::Entity # Represents the status of the review history data collection. The possible values are: done, inProgress, error, requested, unknownFutureValue. @status ## - ## Instantiates a new AccessReviewHistoryDefinition and sets the default values. + ## Instantiates a new accessReviewHistoryDefinition and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/access_review_schedule_definition.rb b/lib/models/access_review_schedule_definition.rb index 07756e5ccd..ff995e7ea2 100644 --- a/lib/models/access_review_schedule_definition.rb +++ b/lib/models/access_review_schedule_definition.rb @@ -68,7 +68,7 @@ def additional_notification_recipients=(value) @additional_notification_recipients = value end ## - ## Instantiates a new AccessReviewScheduleDefinition and sets the default values. + ## Instantiates a new accessReviewScheduleDefinition and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/access_review_schedule_settings.rb b/lib/models/access_review_schedule_settings.rb index c5cab781ff..9337836d12 100644 --- a/lib/models/access_review_schedule_settings.rb +++ b/lib/models/access_review_schedule_settings.rb @@ -13,7 +13,7 @@ class AccessReviewScheduleSettings # Optional field. Describes the actions to take once a review is complete. There are two types that are currently supported: removeAccessApplyAction (default) and disableAndDeleteUserApplyAction. Field only needs to be specified in the case of disableAndDeleteUserApplyAction. @apply_actions ## - # Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. + # Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. @auto_apply_decisions_enabled ## # Indicates whether decisions on previous access review stages are available for reviewers on an accessReviewInstance with multiple subsequent stages. If not provided, the default is disabled (false). @@ -22,7 +22,7 @@ class AccessReviewScheduleSettings # Decision chosen if defaultDecisionEnabled is enabled. Can be one of Approve, Deny, or Recommendation. @default_decision ## - # Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + # Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. @default_decision_enabled ## # Duration of an access review instance in days. NOTE: If the stageSettings of the accessReviewScheduleDefinition object is defined, its durationInDays setting will be used instead of the value of this property. @@ -76,14 +76,14 @@ def apply_actions=(value) @apply_actions = value end ## - ## Gets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. + ## Gets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. ## @return a boolean ## def auto_apply_decisions_enabled return @auto_apply_decisions_enabled end ## - ## Sets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. + ## Sets the autoApplyDecisionsEnabled property value. Indicates whether decisions are automatically applied. When set to false, an admin must apply the decisions manually once the reviewer completes the access review. When set to true, decisions are applied automatically after the access review instance duration ends, whether or not the reviewers have responded. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. ## @param value Value to set for the auto_apply_decisions_enabled property. ## @return a void ## @@ -137,14 +137,14 @@ def default_decision=(value) @default_decision = value end ## - ## Gets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + ## Gets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. ## @return a boolean ## def default_decision_enabled return @default_decision_enabled end ## - ## Sets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. + ## Sets the defaultDecisionEnabled property value. Indicates whether the default decision is enabled or disabled when reviewers do not respond. Default value is false. CAUTION: If both autoApplyDecisionsEnabled and defaultDecisionEnabled are true, all access for the principals to the resource risks being revoked if the reviewers fail to respond. ## @param value Value to set for the default_decision_enabled property. ## @return a void ## diff --git a/lib/models/admin.rb b/lib/models/admin.rb index dfac12a1d4..35bee70808 100644 --- a/lib/models/admin.rb +++ b/lib/models/admin.rb @@ -10,6 +10,9 @@ class Admin # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @additional_data ## + # The edge property + @edge + ## # The OdataType property @odata_type ## @@ -47,11 +50,27 @@ def self.create_from_discriminator_value(parse_node) return Admin.new end ## + ## Gets the edge property value. The edge property + ## @return a edge + ## + def edge + return @edge + end + ## + ## Sets the edge property value. The edge property + ## @param value Value to set for the edge property. + ## @return a void + ## + def edge=(value) + @edge = value + end + ## ## The deserialization information for the current model ## @return a i_dictionary ## def get_field_deserializers() return { + "edge" => lambda {|n| @edge = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Edge.create_from_discriminator_value(pn) }) }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "serviceAnnouncement" => lambda {|n| @service_announcement = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::ServiceAnnouncement.create_from_discriminator_value(pn) }) }, } @@ -78,6 +97,7 @@ def odata_type=(value) ## def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_object_value("edge", @edge) writer.write_string_value("@odata.type", @odata_type) writer.write_object_value("serviceAnnouncement", @service_announcement) writer.write_additional_data(@additional_data) diff --git a/lib/models/agreement_acceptance.rb b/lib/models/agreement_acceptance.rb index 05bd86b09c..19d83cbc8d 100644 --- a/lib/models/agreement_acceptance.rb +++ b/lib/models/agreement_acceptance.rb @@ -77,7 +77,7 @@ def agreement_id=(value) @agreement_id = value end ## - ## Instantiates a new agreementAcceptance and sets the default values. + ## Instantiates a new AgreementAcceptance and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/app_scope.rb b/lib/models/app_scope.rb index e30bb7cd1d..f0459413c6 100644 --- a/lib/models/app_scope.rb +++ b/lib/models/app_scope.rb @@ -13,7 +13,7 @@ class AppScope < MicrosoftGraph::Models::Entity # Describes the type of app-specific resource represented by the app scope. Provided for display purposes, so a user interface can convey to the user the kind of app specific resource represented by the app scope. Read-only. @type ## - ## Instantiates a new AppScope and sets the default values. + ## Instantiates a new appScope and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/application.rb b/lib/models/application.rb index 5c2a3efb1d..f939ccc810 100644 --- a/lib/models/application.rb +++ b/lib/models/application.rb @@ -119,7 +119,7 @@ class Application < MicrosoftGraph::Models::DirectoryObject # Specifies settings for a single-page application, including sign out URLs and redirect URIs for authorization codes and access tokens. @spa ## - # Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + # Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith). @tags ## # Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD encrypts all the tokens it emits by using the key this property points to. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. @@ -242,7 +242,7 @@ def certification=(value) @certification = value end ## - ## Instantiates a new application and sets the default values. + ## Instantiates a new Application and sets the default values. ## @return a void ## def initialize() @@ -812,14 +812,14 @@ def spa=(value) @spa = value end ## - ## Gets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + ## Gets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith). ## @return a string ## def tags return @tags end ## - ## Sets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + ## Sets the tags property value. Custom strings that can be used to categorize and identify the application. Not nullable. Strings added here will also appear in the tags property of any associated service principals.Supports $filter (eq, not, ge, le, startsWith). ## @param value Value to set for the tags property. ## @return a void ## diff --git a/lib/models/application_template.rb b/lib/models/application_template.rb index 878a075dd7..fd83a246c0 100644 --- a/lib/models/application_template.rb +++ b/lib/models/application_template.rb @@ -46,7 +46,7 @@ def categories=(value) @categories = value end ## - ## Instantiates a new applicationTemplate and sets the default values. + ## Instantiates a new ApplicationTemplate and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/authentication.rb b/lib/models/authentication.rb index b239a45c9d..c495844d4d 100644 --- a/lib/models/authentication.rb +++ b/lib/models/authentication.rb @@ -37,7 +37,7 @@ class Authentication < MicrosoftGraph::Models::Entity # Represents the Windows Hello for Business authentication method registered to a user for authentication. @windows_hello_for_business_methods ## - ## Instantiates a new authentication and sets the default values. + ## Instantiates a new Authentication and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/authentication_method_configuration.rb b/lib/models/authentication_method_configuration.rb index bd13df6ae3..8650669a1a 100644 --- a/lib/models/authentication_method_configuration.rb +++ b/lib/models/authentication_method_configuration.rb @@ -13,7 +13,7 @@ class AuthenticationMethodConfiguration < MicrosoftGraph::Models::Entity # The state of the policy. Possible values are: enabled, disabled. @state ## - ## Instantiates a new authenticationMethodConfiguration and sets the default values. + ## Instantiates a new AuthenticationMethodConfiguration and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/authentication_methods_policy.rb b/lib/models/authentication_methods_policy.rb index 95204cae52..a207a111dc 100644 --- a/lib/models/authentication_methods_policy.rb +++ b/lib/models/authentication_methods_policy.rb @@ -47,7 +47,7 @@ def authentication_method_configurations=(value) @authentication_method_configurations = value end ## - ## Instantiates a new authenticationMethodsPolicy and sets the default values. + ## Instantiates a new AuthenticationMethodsPolicy and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/booking_currency.rb b/lib/models/booking_currency.rb index da5d3fdec1..cc8703cac3 100644 --- a/lib/models/booking_currency.rb +++ b/lib/models/booking_currency.rb @@ -10,7 +10,7 @@ class BookingCurrency < MicrosoftGraph::Models::Entity # The currency symbol. For example, the currency symbol for the US dollar and for the Australian dollar is $. @symbol ## - ## Instantiates a new BookingCurrency and sets the default values. + ## Instantiates a new bookingCurrency and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/browser_shared_cookie.rb b/lib/models/browser_shared_cookie.rb new file mode 100644 index 0000000000..fa28fa40cb --- /dev/null +++ b/lib/models/browser_shared_cookie.rb @@ -0,0 +1,285 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSharedCookie < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The comment of the cookie + @comment + ## + # The datetime that the admin created the cookie + @created_date_time + ## + # The datetime that the admin deleted the cookie + @deleted_date_time + ## + # The name of the cookie + @display_name + ## + # The history of the cookie + @history + ## + # Boolean attribute that determines whether a cookie is a host-only or domain cookie + @host_only + ## + # The URL of the cookie + @host_or_domain + ## + # The identity of the admin who last updated the cookie + @last_modified_by + ## + # The datetime that the admin last updated the cookie + @last_modified_date_time + ## + # The path of the cookie + @path + ## + # The sourceEnvironment property + @source_environment + ## + # The status property + @status + ## + ## Gets the comment property value. The comment of the cookie + ## @return a string + ## + def comment + return @comment + end + ## + ## Sets the comment property value. The comment of the cookie + ## @param value Value to set for the comment property. + ## @return a void + ## + def comment=(value) + @comment = value + end + ## + ## Instantiates a new browserSharedCookie and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Gets the createdDateTime property value. The datetime that the admin created the cookie + ## @return a date_time + ## + def created_date_time + return @created_date_time + end + ## + ## Sets the createdDateTime property value. The datetime that the admin created the cookie + ## @param value Value to set for the created_date_time property. + ## @return a void + ## + def created_date_time=(value) + @created_date_time = value + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_shared_cookie + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSharedCookie.new + end + ## + ## Gets the deletedDateTime property value. The datetime that the admin deleted the cookie + ## @return a date_time + ## + def deleted_date_time + return @deleted_date_time + end + ## + ## Sets the deletedDateTime property value. The datetime that the admin deleted the cookie + ## @param value Value to set for the deleted_date_time property. + ## @return a void + ## + def deleted_date_time=(value) + @deleted_date_time = value + end + ## + ## Gets the displayName property value. The name of the cookie + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. The name of the cookie + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "comment" => lambda {|n| @comment = n.get_string_value() }, + "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, + "deletedDateTime" => lambda {|n| @deleted_date_time = n.get_date_time_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, + "history" => lambda {|n| @history = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookieHistory.create_from_discriminator_value(pn) }) }, + "hostOnly" => lambda {|n| @host_only = n.get_boolean_value() }, + "hostOrDomain" => lambda {|n| @host_or_domain = n.get_string_value() }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, + "path" => lambda {|n| @path = n.get_string_value() }, + "sourceEnvironment" => lambda {|n| @source_environment = n.get_enum_value(MicrosoftGraph::Models::BrowserSharedCookieSourceEnvironment) }, + "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::BrowserSharedCookieStatus) }, + }) + end + ## + ## Gets the history property value. The history of the cookie + ## @return a browser_shared_cookie_history + ## + def history + return @history + end + ## + ## Sets the history property value. The history of the cookie + ## @param value Value to set for the history property. + ## @return a void + ## + def history=(value) + @history = value + end + ## + ## Gets the hostOnly property value. Boolean attribute that determines whether a cookie is a host-only or domain cookie + ## @return a boolean + ## + def host_only + return @host_only + end + ## + ## Sets the hostOnly property value. Boolean attribute that determines whether a cookie is a host-only or domain cookie + ## @param value Value to set for the host_only property. + ## @return a void + ## + def host_only=(value) + @host_only = value + end + ## + ## Gets the hostOrDomain property value. The URL of the cookie + ## @return a string + ## + def host_or_domain + return @host_or_domain + end + ## + ## Sets the hostOrDomain property value. The URL of the cookie + ## @param value Value to set for the host_or_domain property. + ## @return a void + ## + def host_or_domain=(value) + @host_or_domain = value + end + ## + ## Gets the lastModifiedBy property value. The identity of the admin who last updated the cookie + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The identity of the admin who last updated the cookie + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the lastModifiedDateTime property value. The datetime that the admin last updated the cookie + ## @return a date_time + ## + def last_modified_date_time + return @last_modified_date_time + end + ## + ## Sets the lastModifiedDateTime property value. The datetime that the admin last updated the cookie + ## @param value Value to set for the last_modified_date_time property. + ## @return a void + ## + def last_modified_date_time=(value) + @last_modified_date_time = value + end + ## + ## Gets the path property value. The path of the cookie + ## @return a string + ## + def path + return @path + end + ## + ## Sets the path property value. The path of the cookie + ## @param value Value to set for the path property. + ## @return a void + ## + def path=(value) + @path = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_string_value("comment", @comment) + writer.write_date_time_value("createdDateTime", @created_date_time) + writer.write_date_time_value("deletedDateTime", @deleted_date_time) + writer.write_string_value("displayName", @display_name) + writer.write_collection_of_object_values("history", @history) + writer.write_boolean_value("hostOnly", @host_only) + writer.write_string_value("hostOrDomain", @host_or_domain) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) + writer.write_string_value("path", @path) + writer.write_enum_value("sourceEnvironment", @source_environment) + writer.write_enum_value("status", @status) + end + ## + ## Gets the sourceEnvironment property value. The sourceEnvironment property + ## @return a browser_shared_cookie_source_environment + ## + def source_environment + return @source_environment + end + ## + ## Sets the sourceEnvironment property value. The sourceEnvironment property + ## @param value Value to set for the source_environment property. + ## @return a void + ## + def source_environment=(value) + @source_environment = value + end + ## + ## Gets the status property value. The status property + ## @return a browser_shared_cookie_status + ## + def status + return @status + end + ## + ## Sets the status property value. The status property + ## @param value Value to set for the status property. + ## @return a void + ## + def status=(value) + @status = value + end + end + end +end diff --git a/lib/models/browser_shared_cookie_collection_response.rb b/lib/models/browser_shared_cookie_collection_response.rb new file mode 100644 index 0000000000..73a51fcdb1 --- /dev/null +++ b/lib/models/browser_shared_cookie_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSharedCookieCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new BrowserSharedCookieCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_shared_cookie_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSharedCookieCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a browser_shared_cookie + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/browser_shared_cookie_history.rb b/lib/models/browser_shared_cookie_history.rb new file mode 100644 index 0000000000..92f786f7ef --- /dev/null +++ b/lib/models/browser_shared_cookie_history.rb @@ -0,0 +1,243 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSharedCookieHistory + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # The comment of the cookie + @comment + ## + # The name of the cookie + @display_name + ## + # Boolean attribute that determines whether a cookie is a host-only or domain cookie + @host_only + ## + # The URL of the cookie + @host_or_domain + ## + # The lastModifiedBy property + @last_modified_by + ## + # The OdataType property + @odata_type + ## + # The path of the cookie + @path + ## + # The time the cookie was published + @published_date_time + ## + # Specifies how the cookies are shared between Microsoft Edge and Internet Explorer + @source_environment + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Gets the comment property value. The comment of the cookie + ## @return a string + ## + def comment + return @comment + end + ## + ## Sets the comment property value. The comment of the cookie + ## @param value Value to set for the comment property. + ## @return a void + ## + def comment=(value) + @comment = value + end + ## + ## Instantiates a new browserSharedCookieHistory and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_shared_cookie_history + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSharedCookieHistory.new + end + ## + ## Gets the displayName property value. The name of the cookie + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. The name of the cookie + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "comment" => lambda {|n| @comment = n.get_string_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, + "hostOnly" => lambda {|n| @host_only = n.get_boolean_value() }, + "hostOrDomain" => lambda {|n| @host_or_domain = n.get_string_value() }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, + "path" => lambda {|n| @path = n.get_string_value() }, + "publishedDateTime" => lambda {|n| @published_date_time = n.get_date_time_value() }, + "sourceEnvironment" => lambda {|n| @source_environment = n.get_enum_value(MicrosoftGraph::Models::BrowserSharedCookieSourceEnvironment) }, + } + end + ## + ## Gets the hostOnly property value. Boolean attribute that determines whether a cookie is a host-only or domain cookie + ## @return a boolean + ## + def host_only + return @host_only + end + ## + ## Sets the hostOnly property value. Boolean attribute that determines whether a cookie is a host-only or domain cookie + ## @param value Value to set for the host_only property. + ## @return a void + ## + def host_only=(value) + @host_only = value + end + ## + ## Gets the hostOrDomain property value. The URL of the cookie + ## @return a string + ## + def host_or_domain + return @host_or_domain + end + ## + ## Sets the hostOrDomain property value. The URL of the cookie + ## @param value Value to set for the host_or_domain property. + ## @return a void + ## + def host_or_domain=(value) + @host_or_domain = value + end + ## + ## Gets the lastModifiedBy property value. The lastModifiedBy property + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The lastModifiedBy property + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the @odata.type property value. The OdataType property + ## @return a string + ## + def odata_type + return @odata_type + end + ## + ## Sets the @odata.type property value. The OdataType property + ## @param value Value to set for the odata_type property. + ## @return a void + ## + def odata_type=(value) + @odata_type = value + end + ## + ## Gets the path property value. The path of the cookie + ## @return a string + ## + def path + return @path + end + ## + ## Sets the path property value. The path of the cookie + ## @param value Value to set for the path property. + ## @return a void + ## + def path=(value) + @path = value + end + ## + ## Gets the publishedDateTime property value. The time the cookie was published + ## @return a date_time + ## + def published_date_time + return @published_date_time + end + ## + ## Sets the publishedDateTime property value. The time the cookie was published + ## @param value Value to set for the published_date_time property. + ## @return a void + ## + def published_date_time=(value) + @published_date_time = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_string_value("comment", @comment) + writer.write_string_value("displayName", @display_name) + writer.write_boolean_value("hostOnly", @host_only) + writer.write_string_value("hostOrDomain", @host_or_domain) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_string_value("@odata.type", @odata_type) + writer.write_string_value("path", @path) + writer.write_date_time_value("publishedDateTime", @published_date_time) + writer.write_enum_value("sourceEnvironment", @source_environment) + writer.write_additional_data(@additional_data) + end + ## + ## Gets the sourceEnvironment property value. Specifies how the cookies are shared between Microsoft Edge and Internet Explorer + ## @return a browser_shared_cookie_source_environment + ## + def source_environment + return @source_environment + end + ## + ## Sets the sourceEnvironment property value. Specifies how the cookies are shared between Microsoft Edge and Internet Explorer + ## @param value Value to set for the source_environment property. + ## @return a void + ## + def source_environment=(value) + @source_environment = value + end + end + end +end diff --git a/lib/models/browser_shared_cookie_history_collection_response.rb b/lib/models/browser_shared_cookie_history_collection_response.rb new file mode 100644 index 0000000000..e0b94bdfcb --- /dev/null +++ b/lib/models/browser_shared_cookie_history_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSharedCookieHistoryCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new BrowserSharedCookieHistoryCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_shared_cookie_history_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSharedCookieHistoryCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookieHistory.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a browser_shared_cookie_history + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/browser_shared_cookie_source_environment.rb b/lib/models/browser_shared_cookie_source_environment.rb new file mode 100644 index 0000000000..47b5145c54 --- /dev/null +++ b/lib/models/browser_shared_cookie_source_environment.rb @@ -0,0 +1,10 @@ +module MicrosoftGraph + module Models + BrowserSharedCookieSourceEnvironment = { + MicrosoftEdge: :MicrosoftEdge, + InternetExplorer11: :InternetExplorer11, + Both: :Both, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_shared_cookie_status.rb b/lib/models/browser_shared_cookie_status.rb new file mode 100644 index 0000000000..684dc50162 --- /dev/null +++ b/lib/models/browser_shared_cookie_status.rb @@ -0,0 +1,11 @@ +module MicrosoftGraph + module Models + BrowserSharedCookieStatus = { + Published: :Published, + PendingAdd: :PendingAdd, + PendingEdit: :PendingEdit, + PendingDelete: :PendingDelete, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_site.rb b/lib/models/browser_site.rb new file mode 100644 index 0000000000..5b83129e4f --- /dev/null +++ b/lib/models/browser_site.rb @@ -0,0 +1,287 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + ## + # Singleton entity which is used to specify IE mode site metadata + class BrowserSite < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # Boolean attribute that controls the behavior of redirected sites + @allow_redirect + ## + # The comment for the site + @comment + ## + # The compatibilityMode property + @compatibility_mode + ## + # The datetime that the site is created + @created_date_time + ## + # The datetime that the admin deleted the site + @deleted_date_time + ## + # The collection stores site revision metadata and audit logs. + @history + ## + # The admin who made the last update on the site. + @last_modified_by + ## + # The datetime that the admin updated the site. + @last_modified_date_time + ## + # The mergeType property + @merge_type + ## + # The status property + @status + ## + # The targetEnvironment property + @target_environment + ## + # The URL of the site + @web_url + ## + ## Gets the allowRedirect property value. Boolean attribute that controls the behavior of redirected sites + ## @return a boolean + ## + def allow_redirect + return @allow_redirect + end + ## + ## Sets the allowRedirect property value. Boolean attribute that controls the behavior of redirected sites + ## @param value Value to set for the allow_redirect property. + ## @return a void + ## + def allow_redirect=(value) + @allow_redirect = value + end + ## + ## Gets the comment property value. The comment for the site + ## @return a string + ## + def comment + return @comment + end + ## + ## Sets the comment property value. The comment for the site + ## @param value Value to set for the comment property. + ## @return a void + ## + def comment=(value) + @comment = value + end + ## + ## Gets the compatibilityMode property value. The compatibilityMode property + ## @return a browser_site_compatibility_mode + ## + def compatibility_mode + return @compatibility_mode + end + ## + ## Sets the compatibilityMode property value. The compatibilityMode property + ## @param value Value to set for the compatibility_mode property. + ## @return a void + ## + def compatibility_mode=(value) + @compatibility_mode = value + end + ## + ## Instantiates a new browserSite and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Gets the createdDateTime property value. The datetime that the site is created + ## @return a date_time + ## + def created_date_time + return @created_date_time + end + ## + ## Sets the createdDateTime property value. The datetime that the site is created + ## @param value Value to set for the created_date_time property. + ## @return a void + ## + def created_date_time=(value) + @created_date_time = value + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSite.new + end + ## + ## Gets the deletedDateTime property value. The datetime that the admin deleted the site + ## @return a date_time + ## + def deleted_date_time + return @deleted_date_time + end + ## + ## Sets the deletedDateTime property value. The datetime that the admin deleted the site + ## @param value Value to set for the deleted_date_time property. + ## @return a void + ## + def deleted_date_time=(value) + @deleted_date_time = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "allowRedirect" => lambda {|n| @allow_redirect = n.get_boolean_value() }, + "comment" => lambda {|n| @comment = n.get_string_value() }, + "compatibilityMode" => lambda {|n| @compatibility_mode = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteCompatibilityMode) }, + "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, + "deletedDateTime" => lambda {|n| @deleted_date_time = n.get_date_time_value() }, + "history" => lambda {|n| @history = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSiteHistory.create_from_discriminator_value(pn) }) }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, + "mergeType" => lambda {|n| @merge_type = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteMergeType) }, + "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteStatus) }, + "targetEnvironment" => lambda {|n| @target_environment = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteTargetEnvironment) }, + "webUrl" => lambda {|n| @web_url = n.get_string_value() }, + }) + end + ## + ## Gets the history property value. The collection stores site revision metadata and audit logs. + ## @return a browser_site_history + ## + def history + return @history + end + ## + ## Sets the history property value. The collection stores site revision metadata and audit logs. + ## @param value Value to set for the history property. + ## @return a void + ## + def history=(value) + @history = value + end + ## + ## Gets the lastModifiedBy property value. The admin who made the last update on the site. + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The admin who made the last update on the site. + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the lastModifiedDateTime property value. The datetime that the admin updated the site. + ## @return a date_time + ## + def last_modified_date_time + return @last_modified_date_time + end + ## + ## Sets the lastModifiedDateTime property value. The datetime that the admin updated the site. + ## @param value Value to set for the last_modified_date_time property. + ## @return a void + ## + def last_modified_date_time=(value) + @last_modified_date_time = value + end + ## + ## Gets the mergeType property value. The mergeType property + ## @return a browser_site_merge_type + ## + def merge_type + return @merge_type + end + ## + ## Sets the mergeType property value. The mergeType property + ## @param value Value to set for the merge_type property. + ## @return a void + ## + def merge_type=(value) + @merge_type = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_boolean_value("allowRedirect", @allow_redirect) + writer.write_string_value("comment", @comment) + writer.write_enum_value("compatibilityMode", @compatibility_mode) + writer.write_date_time_value("createdDateTime", @created_date_time) + writer.write_date_time_value("deletedDateTime", @deleted_date_time) + writer.write_collection_of_object_values("history", @history) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) + writer.write_enum_value("mergeType", @merge_type) + writer.write_enum_value("status", @status) + writer.write_enum_value("targetEnvironment", @target_environment) + writer.write_string_value("webUrl", @web_url) + end + ## + ## Gets the status property value. The status property + ## @return a browser_site_status + ## + def status + return @status + end + ## + ## Sets the status property value. The status property + ## @param value Value to set for the status property. + ## @return a void + ## + def status=(value) + @status = value + end + ## + ## Gets the targetEnvironment property value. The targetEnvironment property + ## @return a browser_site_target_environment + ## + def target_environment + return @target_environment + end + ## + ## Sets the targetEnvironment property value. The targetEnvironment property + ## @param value Value to set for the target_environment property. + ## @return a void + ## + def target_environment=(value) + @target_environment = value + end + ## + ## Gets the webUrl property value. The URL of the site + ## @return a string + ## + def web_url + return @web_url + end + ## + ## Sets the webUrl property value. The URL of the site + ## @param value Value to set for the web_url property. + ## @return a void + ## + def web_url=(value) + @web_url = value + end + end + end +end diff --git a/lib/models/browser_site_collection_response.rb b/lib/models/browser_site_collection_response.rb new file mode 100644 index 0000000000..f45639eb8c --- /dev/null +++ b/lib/models/browser_site_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSiteCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new BrowserSiteCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSiteCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a browser_site + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/browser_site_compatibility_mode.rb b/lib/models/browser_site_compatibility_mode.rb new file mode 100644 index 0000000000..dae6a3cd5f --- /dev/null +++ b/lib/models/browser_site_compatibility_mode.rb @@ -0,0 +1,16 @@ +module MicrosoftGraph + module Models + BrowserSiteCompatibilityMode = { + Default: :Default, + InternetExplorer8Enterprise: :InternetExplorer8Enterprise, + InternetExplorer7Enterprise: :InternetExplorer7Enterprise, + InternetExplorer11: :InternetExplorer11, + InternetExplorer10: :InternetExplorer10, + InternetExplorer9: :InternetExplorer9, + InternetExplorer8: :InternetExplorer8, + InternetExplorer7: :InternetExplorer7, + InternetExplorer5: :InternetExplorer5, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_site_history.rb b/lib/models/browser_site_history.rb new file mode 100644 index 0000000000..cf9631e0b8 --- /dev/null +++ b/lib/models/browser_site_history.rb @@ -0,0 +1,225 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + ## + # The history for the site modifications + class BrowserSiteHistory + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # Boolean attribute that controls the behavior of redirected sites + @allow_redirect + ## + # The content for the site + @comment + ## + # Controls what compatibility setting is used for specific sites or domains + @compatibility_mode + ## + # The user who modified the site + @last_modified_by + ## + # The merge type of the site + @merge_type + ## + # The OdataType property + @odata_type + ## + # The time the site was last published + @published_date_time + ## + # The render mode in Edge client that the site is supposed to open in + @target_environment + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Gets the allowRedirect property value. Boolean attribute that controls the behavior of redirected sites + ## @return a boolean + ## + def allow_redirect + return @allow_redirect + end + ## + ## Sets the allowRedirect property value. Boolean attribute that controls the behavior of redirected sites + ## @param value Value to set for the allow_redirect property. + ## @return a void + ## + def allow_redirect=(value) + @allow_redirect = value + end + ## + ## Gets the comment property value. The content for the site + ## @return a string + ## + def comment + return @comment + end + ## + ## Sets the comment property value. The content for the site + ## @param value Value to set for the comment property. + ## @return a void + ## + def comment=(value) + @comment = value + end + ## + ## Gets the compatibilityMode property value. Controls what compatibility setting is used for specific sites or domains + ## @return a browser_site_compatibility_mode + ## + def compatibility_mode + return @compatibility_mode + end + ## + ## Sets the compatibilityMode property value. Controls what compatibility setting is used for specific sites or domains + ## @param value Value to set for the compatibility_mode property. + ## @return a void + ## + def compatibility_mode=(value) + @compatibility_mode = value + end + ## + ## Instantiates a new browserSiteHistory and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site_history + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSiteHistory.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "allowRedirect" => lambda {|n| @allow_redirect = n.get_boolean_value() }, + "comment" => lambda {|n| @comment = n.get_string_value() }, + "compatibilityMode" => lambda {|n| @compatibility_mode = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteCompatibilityMode) }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "mergeType" => lambda {|n| @merge_type = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteMergeType) }, + "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, + "publishedDateTime" => lambda {|n| @published_date_time = n.get_date_time_value() }, + "targetEnvironment" => lambda {|n| @target_environment = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteTargetEnvironment) }, + } + end + ## + ## Gets the lastModifiedBy property value. The user who modified the site + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The user who modified the site + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the mergeType property value. The merge type of the site + ## @return a browser_site_merge_type + ## + def merge_type + return @merge_type + end + ## + ## Sets the mergeType property value. The merge type of the site + ## @param value Value to set for the merge_type property. + ## @return a void + ## + def merge_type=(value) + @merge_type = value + end + ## + ## Gets the @odata.type property value. The OdataType property + ## @return a string + ## + def odata_type + return @odata_type + end + ## + ## Sets the @odata.type property value. The OdataType property + ## @param value Value to set for the odata_type property. + ## @return a void + ## + def odata_type=(value) + @odata_type = value + end + ## + ## Gets the publishedDateTime property value. The time the site was last published + ## @return a date_time + ## + def published_date_time + return @published_date_time + end + ## + ## Sets the publishedDateTime property value. The time the site was last published + ## @param value Value to set for the published_date_time property. + ## @return a void + ## + def published_date_time=(value) + @published_date_time = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_boolean_value("allowRedirect", @allow_redirect) + writer.write_string_value("comment", @comment) + writer.write_enum_value("compatibilityMode", @compatibility_mode) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_enum_value("mergeType", @merge_type) + writer.write_string_value("@odata.type", @odata_type) + writer.write_date_time_value("publishedDateTime", @published_date_time) + writer.write_enum_value("targetEnvironment", @target_environment) + writer.write_additional_data(@additional_data) + end + ## + ## Gets the targetEnvironment property value. The render mode in Edge client that the site is supposed to open in + ## @return a browser_site_target_environment + ## + def target_environment + return @target_environment + end + ## + ## Sets the targetEnvironment property value. The render mode in Edge client that the site is supposed to open in + ## @param value Value to set for the target_environment property. + ## @return a void + ## + def target_environment=(value) + @target_environment = value + end + end + end +end diff --git a/lib/models/browser_site_history_collection_response.rb b/lib/models/browser_site_history_collection_response.rb new file mode 100644 index 0000000000..b7e6e48d9e --- /dev/null +++ b/lib/models/browser_site_history_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSiteHistoryCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new BrowserSiteHistoryCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site_history_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSiteHistoryCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSiteHistory.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a browser_site_history + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/browser_site_list.rb b/lib/models/browser_site_list.rb new file mode 100644 index 0000000000..21b9b65363 --- /dev/null +++ b/lib/models/browser_site_list.rb @@ -0,0 +1,247 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + ## + # A singleton entity which is used to specify IE mode site list metadata + class BrowserSiteList < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # Description for the site list + @description + ## + # Display name of this site list + @display_name + ## + # Name of the admin who made the last update on the site list + @last_modified_by + ## + # The datetime that the admin last updated the site list. + @last_modified_date_time + ## + # Name of the admin who published the site list + @published_by + ## + # The datetime that admin published the site list to users in their organization. + @published_date_time + ## + # Admin can have multiple revisions of the site list and the revision is generated whenever admin create/update the site list. + @revision + ## + # The sharedCookies property + @shared_cookies + ## + # The sites property + @sites + ## + # The status property + @status + ## + ## Instantiates a new browserSiteList and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site_list + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSiteList.new + end + ## + ## Gets the description property value. Description for the site list + ## @return a string + ## + def description + return @description + end + ## + ## Sets the description property value. Description for the site list + ## @param value Value to set for the description property. + ## @return a void + ## + def description=(value) + @description = value + end + ## + ## Gets the displayName property value. Display name of this site list + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. Display name of this site list + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "description" => lambda {|n| @description = n.get_string_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, + "publishedBy" => lambda {|n| @published_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "publishedDateTime" => lambda {|n| @published_date_time = n.get_date_time_value() }, + "revision" => lambda {|n| @revision = n.get_string_value() }, + "sharedCookies" => lambda {|n| @shared_cookies = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSharedCookie.create_from_discriminator_value(pn) }) }, + "sites" => lambda {|n| @sites = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSite.create_from_discriminator_value(pn) }) }, + "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::BrowserSiteListStatus) }, + }) + end + ## + ## Gets the lastModifiedBy property value. Name of the admin who made the last update on the site list + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. Name of the admin who made the last update on the site list + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the lastModifiedDateTime property value. The datetime that the admin last updated the site list. + ## @return a date_time + ## + def last_modified_date_time + return @last_modified_date_time + end + ## + ## Sets the lastModifiedDateTime property value. The datetime that the admin last updated the site list. + ## @param value Value to set for the last_modified_date_time property. + ## @return a void + ## + def last_modified_date_time=(value) + @last_modified_date_time = value + end + ## + ## Gets the publishedBy property value. Name of the admin who published the site list + ## @return a identity_set + ## + def published_by + return @published_by + end + ## + ## Sets the publishedBy property value. Name of the admin who published the site list + ## @param value Value to set for the published_by property. + ## @return a void + ## + def published_by=(value) + @published_by = value + end + ## + ## Gets the publishedDateTime property value. The datetime that admin published the site list to users in their organization. + ## @return a date_time + ## + def published_date_time + return @published_date_time + end + ## + ## Sets the publishedDateTime property value. The datetime that admin published the site list to users in their organization. + ## @param value Value to set for the published_date_time property. + ## @return a void + ## + def published_date_time=(value) + @published_date_time = value + end + ## + ## Gets the revision property value. Admin can have multiple revisions of the site list and the revision is generated whenever admin create/update the site list. + ## @return a string + ## + def revision + return @revision + end + ## + ## Sets the revision property value. Admin can have multiple revisions of the site list and the revision is generated whenever admin create/update the site list. + ## @param value Value to set for the revision property. + ## @return a void + ## + def revision=(value) + @revision = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_string_value("description", @description) + writer.write_string_value("displayName", @display_name) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) + writer.write_object_value("publishedBy", @published_by) + writer.write_date_time_value("publishedDateTime", @published_date_time) + writer.write_string_value("revision", @revision) + writer.write_collection_of_object_values("sharedCookies", @shared_cookies) + writer.write_collection_of_object_values("sites", @sites) + writer.write_enum_value("status", @status) + end + ## + ## Gets the sharedCookies property value. The sharedCookies property + ## @return a browser_shared_cookie + ## + def shared_cookies + return @shared_cookies + end + ## + ## Sets the sharedCookies property value. The sharedCookies property + ## @param value Value to set for the shared_cookies property. + ## @return a void + ## + def shared_cookies=(value) + @shared_cookies = value + end + ## + ## Gets the sites property value. The sites property + ## @return a browser_site + ## + def sites + return @sites + end + ## + ## Sets the sites property value. The sites property + ## @param value Value to set for the sites property. + ## @return a void + ## + def sites=(value) + @sites = value + end + ## + ## Gets the status property value. The status property + ## @return a browser_site_list_status + ## + def status + return @status + end + ## + ## Sets the status property value. The status property + ## @param value Value to set for the status property. + ## @return a void + ## + def status=(value) + @status = value + end + end + end +end diff --git a/lib/models/browser_site_list_collection_response.rb b/lib/models/browser_site_list_collection_response.rb new file mode 100644 index 0000000000..fbc93f9a12 --- /dev/null +++ b/lib/models/browser_site_list_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class BrowserSiteListCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new BrowserSiteListCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a browser_site_list_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return BrowserSiteListCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a browser_site_list + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/browser_site_list_status.rb b/lib/models/browser_site_list_status.rb new file mode 100644 index 0000000000..3241eba5e3 --- /dev/null +++ b/lib/models/browser_site_list_status.rb @@ -0,0 +1,10 @@ +module MicrosoftGraph + module Models + BrowserSiteListStatus = { + Draft: :Draft, + Published: :Published, + Pending: :Pending, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_site_merge_type.rb b/lib/models/browser_site_merge_type.rb new file mode 100644 index 0000000000..26b1d13c22 --- /dev/null +++ b/lib/models/browser_site_merge_type.rb @@ -0,0 +1,9 @@ +module MicrosoftGraph + module Models + BrowserSiteMergeType = { + NoMerge: :NoMerge, + Default: :Default, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_site_status.rb b/lib/models/browser_site_status.rb new file mode 100644 index 0000000000..53eaf8e2de --- /dev/null +++ b/lib/models/browser_site_status.rb @@ -0,0 +1,11 @@ +module MicrosoftGraph + module Models + BrowserSiteStatus = { + Published: :Published, + PendingAdd: :PendingAdd, + PendingEdit: :PendingEdit, + PendingDelete: :PendingDelete, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/browser_site_target_environment.rb b/lib/models/browser_site_target_environment.rb new file mode 100644 index 0000000000..6c5c0ae588 --- /dev/null +++ b/lib/models/browser_site_target_environment.rb @@ -0,0 +1,12 @@ +module MicrosoftGraph + module Models + BrowserSiteTargetEnvironment = { + InternetExplorerMode: :InternetExplorerMode, + InternetExplorer11: :InternetExplorer11, + MicrosoftEdge: :MicrosoftEdge, + Configurable: :Configurable, + None: :None, + UnknownFutureValue: :UnknownFutureValue, + } + end +end diff --git a/lib/models/conditional_access_users.rb b/lib/models/conditional_access_users.rb index 5327681fe6..2cdc512513 100644 --- a/lib/models/conditional_access_users.rb +++ b/lib/models/conditional_access_users.rb @@ -22,16 +22,16 @@ class ConditionalAccessUsers # User IDs excluded from scope of policy and/or GuestsOrExternalUsers. @exclude_users ## - # Group IDs in scope of policy unless explicitly excluded, or All. + # Group IDs in scope of policy unless explicitly excluded. @include_groups ## # The includeGuestsOrExternalUsers property @include_guests_or_external_users ## - # Role IDs in scope of policy unless explicitly excluded, or All. + # Role IDs in scope of policy unless explicitly excluded. @include_roles ## - # User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + # User IDs in scope of policy unless explicitly excluded, None, All, or GuestsOrExternalUsers. @include_users ## # The OdataType property @@ -145,14 +145,14 @@ def get_field_deserializers() } end ## - ## Gets the includeGroups property value. Group IDs in scope of policy unless explicitly excluded, or All. + ## Gets the includeGroups property value. Group IDs in scope of policy unless explicitly excluded. ## @return a string ## def include_groups return @include_groups end ## - ## Sets the includeGroups property value. Group IDs in scope of policy unless explicitly excluded, or All. + ## Sets the includeGroups property value. Group IDs in scope of policy unless explicitly excluded. ## @param value Value to set for the include_groups property. ## @return a void ## @@ -175,14 +175,14 @@ def include_guests_or_external_users=(value) @include_guests_or_external_users = value end ## - ## Gets the includeRoles property value. Role IDs in scope of policy unless explicitly excluded, or All. + ## Gets the includeRoles property value. Role IDs in scope of policy unless explicitly excluded. ## @return a string ## def include_roles return @include_roles end ## - ## Sets the includeRoles property value. Role IDs in scope of policy unless explicitly excluded, or All. + ## Sets the includeRoles property value. Role IDs in scope of policy unless explicitly excluded. ## @param value Value to set for the include_roles property. ## @return a void ## @@ -190,14 +190,14 @@ def include_roles=(value) @include_roles = value end ## - ## Gets the includeUsers property value. User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + ## Gets the includeUsers property value. User IDs in scope of policy unless explicitly excluded, None, All, or GuestsOrExternalUsers. ## @return a string ## def include_users return @include_users end ## - ## Sets the includeUsers property value. User IDs in scope of policy unless explicitly excluded, or None or All or GuestsOrExternalUsers. + ## Sets the includeUsers property value. User IDs in scope of policy unless explicitly excluded, None, All, or GuestsOrExternalUsers. ## @param value Value to set for the include_users property. ## @return a void ## diff --git a/lib/models/default_user_role_permissions.rb b/lib/models/default_user_role_permissions.rb index 67ee241bd7..a47cae5237 100644 --- a/lib/models/default_user_role_permissions.rb +++ b/lib/models/default_user_role_permissions.rb @@ -16,6 +16,9 @@ class DefaultUserRolePermissions # Indicates whether the default user role can create security groups. @allowed_to_create_security_groups ## + # The allowedToReadBitlockerKeysForOwnedDevice property + @allowed_to_read_bitlocker_keys_for_owned_device + ## # Indicates whether the default user role can read other users. @allowed_to_read_other_users ## @@ -70,6 +73,21 @@ def allowed_to_create_security_groups=(value) @allowed_to_create_security_groups = value end ## + ## Gets the allowedToReadBitlockerKeysForOwnedDevice property value. The allowedToReadBitlockerKeysForOwnedDevice property + ## @return a boolean + ## + def allowed_to_read_bitlocker_keys_for_owned_device + return @allowed_to_read_bitlocker_keys_for_owned_device + end + ## + ## Sets the allowedToReadBitlockerKeysForOwnedDevice property value. The allowedToReadBitlockerKeysForOwnedDevice property + ## @param value Value to set for the allowed_to_read_bitlocker_keys_for_owned_device property. + ## @return a void + ## + def allowed_to_read_bitlocker_keys_for_owned_device=(value) + @allowed_to_read_bitlocker_keys_for_owned_device = value + end + ## ## Gets the allowedToReadOtherUsers property value. Indicates whether the default user role can read other users. ## @return a boolean ## @@ -108,6 +126,7 @@ def get_field_deserializers() return { "allowedToCreateApps" => lambda {|n| @allowed_to_create_apps = n.get_boolean_value() }, "allowedToCreateSecurityGroups" => lambda {|n| @allowed_to_create_security_groups = n.get_boolean_value() }, + "allowedToReadBitlockerKeysForOwnedDevice" => lambda {|n| @allowed_to_read_bitlocker_keys_for_owned_device = n.get_boolean_value() }, "allowedToReadOtherUsers" => lambda {|n| @allowed_to_read_other_users = n.get_boolean_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "permissionGrantPoliciesAssigned" => lambda {|n| @permission_grant_policies_assigned = n.get_collection_of_primitive_values(String) }, @@ -152,6 +171,7 @@ def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_boolean_value("allowedToCreateApps", @allowed_to_create_apps) writer.write_boolean_value("allowedToCreateSecurityGroups", @allowed_to_create_security_groups) + writer.write_boolean_value("allowedToReadBitlockerKeysForOwnedDevice", @allowed_to_read_bitlocker_keys_for_owned_device) writer.write_boolean_value("allowedToReadOtherUsers", @allowed_to_read_other_users) writer.write_string_value("@odata.type", @odata_type) writer.write_collection_of_primitive_values("permissionGrantPoliciesAssigned", @permission_grant_policies_assigned) diff --git a/lib/models/delegated_admin_access_assignment.rb b/lib/models/delegated_admin_access_assignment.rb index 9cdd8554ce..3f26cf04da 100644 --- a/lib/models/delegated_admin_access_assignment.rb +++ b/lib/models/delegated_admin_access_assignment.rb @@ -53,7 +53,7 @@ def access_details=(value) @access_details = value end ## - ## Instantiates a new DelegatedAdminAccessAssignment and sets the default values. + ## Instantiates a new delegatedAdminAccessAssignment and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/delegated_admin_relationship.rb b/lib/models/delegated_admin_relationship.rb index 1a17525438..d437da9994 100644 --- a/lib/models/delegated_admin_relationship.rb +++ b/lib/models/delegated_admin_relationship.rb @@ -89,7 +89,7 @@ def activated_date_time=(value) @activated_date_time = value end ## - ## Instantiates a new DelegatedAdminRelationship and sets the default values. + ## Instantiates a new delegatedAdminRelationship and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/deleted_team.rb b/lib/models/deleted_team.rb index 9befe1b3b7..7c131aa612 100644 --- a/lib/models/deleted_team.rb +++ b/lib/models/deleted_team.rb @@ -25,7 +25,7 @@ def channels=(value) @channels = value end ## - ## Instantiates a new DeletedTeam and sets the default values. + ## Instantiates a new deletedTeam and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/device.rb b/lib/models/device.rb index 8def8db02c..65c9978dc3 100644 --- a/lib/models/device.rb +++ b/lib/models/device.rb @@ -140,7 +140,7 @@ def compliance_expiration_date_time=(value) @compliance_expiration_date_time = value end ## - ## Instantiates a new device and sets the default values. + ## Instantiates a new Device and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/device_management_troubleshooting_event.rb b/lib/models/device_management_troubleshooting_event.rb index 662537de58..d3c5256add 100644 --- a/lib/models/device_management_troubleshooting_event.rb +++ b/lib/models/device_management_troubleshooting_event.rb @@ -5,8 +5,6 @@ module MicrosoftGraph module Models - ## - # Event representing an general failure. class DeviceManagementTroubleshootingEvent < MicrosoftGraph::Models::Entity include MicrosoftKiotaAbstractions::Parsable ## @@ -16,7 +14,7 @@ class DeviceManagementTroubleshootingEvent < MicrosoftGraph::Models::Entity # Time when the event occurred . @event_date_time ## - ## Instantiates a new deviceManagementTroubleshootingEvent and sets the default values. + ## Instantiates a new DeviceManagementTroubleshootingEvent and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/directory_object.rb b/lib/models/directory_object.rb index ecbfedbd72..1cbc3b7eae 100644 --- a/lib/models/directory_object.rb +++ b/lib/models/directory_object.rb @@ -11,7 +11,7 @@ class DirectoryObject < MicrosoftGraph::Models::Entity # Date and time when this object was deleted. Always null when the object hasn't been deleted. @deleted_date_time ## - ## Instantiates a new DirectoryObject and sets the default values. + ## Instantiates a new directoryObject and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/edge.rb b/lib/models/edge.rb new file mode 100644 index 0000000000..0722e30e94 --- /dev/null +++ b/lib/models/edge.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class Edge < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The internetExplorerMode property + @internet_explorer_mode + ## + ## Instantiates a new edge and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a edge + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return Edge.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "internetExplorerMode" => lambda {|n| @internet_explorer_mode = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::InternetExplorerMode.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the internetExplorerMode property value. The internetExplorerMode property + ## @return a internet_explorer_mode + ## + def internet_explorer_mode + return @internet_explorer_mode + end + ## + ## Sets the internetExplorerMode property value. The internetExplorerMode property + ## @param value Value to set for the internet_explorer_mode property. + ## @return a void + ## + def internet_explorer_mode=(value) + @internet_explorer_mode = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_object_value("internetExplorerMode", @internet_explorer_mode) + end + end + end +end diff --git a/lib/models/education_assignment_defaults.rb b/lib/models/education_assignment_defaults.rb index 20f23b60bf..942c5a8db7 100644 --- a/lib/models/education_assignment_defaults.rb +++ b/lib/models/education_assignment_defaults.rb @@ -50,7 +50,7 @@ def added_student_action=(value) @added_student_action = value end ## - ## Instantiates a new educationAssignmentDefaults and sets the default values. + ## Instantiates a new EducationAssignmentDefaults and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/education_assignment_settings.rb b/lib/models/education_assignment_settings.rb index 2dc9e1457a..260bc13939 100644 --- a/lib/models/education_assignment_settings.rb +++ b/lib/models/education_assignment_settings.rb @@ -10,7 +10,7 @@ class EducationAssignmentSettings < MicrosoftGraph::Models::Entity # Indicates whether turn-in celebration animation will be shown. A value of true indicates that the animation will not be shown. Default value is false. @submission_animation_disabled ## - ## Instantiates a new educationAssignmentSettings and sets the default values. + ## Instantiates a new EducationAssignmentSettings and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/education_class.rb b/lib/models/education_class.rb index 4ca74f9494..664bb19a20 100644 --- a/lib/models/education_class.rb +++ b/lib/models/education_class.rb @@ -142,7 +142,7 @@ def class_code=(value) @class_code = value end ## - ## Instantiates a new educationClass and sets the default values. + ## Instantiates a new EducationClass and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/entity.rb b/lib/models/entity.rb index 797425e4b8..f904db47eb 100644 --- a/lib/models/entity.rb +++ b/lib/models/entity.rb @@ -222,6 +222,12 @@ def self.create_from_discriminator_value(parse_node) return BookingStaffMember.new when "#microsoft.graph.bookingStaffMemberBase" return BookingStaffMemberBase.new + when "#microsoft.graph.browserSharedCookie" + return BrowserSharedCookie.new + when "#microsoft.graph.browserSite" + return BrowserSite.new + when "#microsoft.graph.browserSiteList" + return BrowserSiteList.new when "#microsoft.graph.builtInIdentityProvider" return BuiltInIdentityProvider.new when "#microsoft.graph.calendar" @@ -424,6 +430,8 @@ def self.create_from_discriminator_value(parse_node) return DriveItemVersion.new when "#microsoft.graph.eBookInstallSummary" return EBookInstallSummary.new + when "#microsoft.graph.edge" + return Edge.new when "#microsoft.graph.editionUpgradeConfiguration" return EditionUpgradeConfiguration.new when "#microsoft.graph.educationAssignment" @@ -546,6 +554,8 @@ def self.create_from_discriminator_value(parse_node) return InferenceClassificationOverride.new when "#microsoft.graph.internalDomainFederation" return InternalDomainFederation.new + when "#microsoft.graph.internetExplorerMode" + return InternetExplorerMode.new when "#microsoft.graph.invitation" return Invitation.new when "#microsoft.graph.inviteParticipantsOperation" @@ -1076,6 +1086,10 @@ def self.create_from_discriminator_value(parse_node) return TokenLifetimePolicy.new when "#microsoft.graph.trending" return Trending.new + when "#microsoft.graph.unifiedRbacResourceAction" + return UnifiedRbacResourceAction.new + when "#microsoft.graph.unifiedRbacResourceNamespace" + return UnifiedRbacResourceNamespace.new when "#microsoft.graph.unifiedRoleAssignment" return UnifiedRoleAssignment.new when "#microsoft.graph.unifiedRoleAssignmentSchedule" @@ -1168,6 +1182,8 @@ def self.create_from_discriminator_value(parse_node) return Windows81CompliancePolicy.new when "#microsoft.graph.windows81GeneralConfiguration" return Windows81GeneralConfiguration.new + when "#microsoft.graph.windowsAppX" + return WindowsAppX.new when "#microsoft.graph.windowsAutopilotDeviceIdentity" return WindowsAutopilotDeviceIdentity.new when "#microsoft.graph.windowsDefenderAdvancedThreatProtectionConfiguration" diff --git a/lib/models/group.rb b/lib/models/group.rb index cf8ee4b761..4bdf0d3085 100644 --- a/lib/models/group.rb +++ b/lib/models/group.rb @@ -338,7 +338,7 @@ def classification=(value) @classification = value end ## - ## Instantiates a new group and sets the default values. + ## Instantiates a new Group and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/internet_explorer_mode.rb b/lib/models/internet_explorer_mode.rb new file mode 100644 index 0000000000..62311100d1 --- /dev/null +++ b/lib/models/internet_explorer_mode.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class InternetExplorerMode < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The siteLists property + @site_lists + ## + ## Instantiates a new internetExplorerMode and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a internet_explorer_mode + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return InternetExplorerMode.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "siteLists" => lambda {|n| @site_lists = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::BrowserSiteList.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("siteLists", @site_lists) + end + ## + ## Gets the siteLists property value. The siteLists property + ## @return a browser_site_list + ## + def site_lists + return @site_lists + end + ## + ## Sets the siteLists property value. The siteLists property + ## @param value Value to set for the site_lists property. + ## @return a void + ## + def site_lists=(value) + @site_lists = value + end + end + end +end diff --git a/lib/models/managed_app_registration.rb b/lib/models/managed_app_registration.rb index 6013cfbce7..466e414082 100644 --- a/lib/models/managed_app_registration.rb +++ b/lib/models/managed_app_registration.rb @@ -5,8 +5,6 @@ module MicrosoftGraph module Models - ## - # The ManagedAppEntity is the base entity type for all other entity types under app management workflow. class ManagedAppRegistration < MicrosoftGraph::Models::Entity include MicrosoftKiotaAbstractions::Parsable ## @@ -100,7 +98,7 @@ def applied_policies=(value) @applied_policies = value end ## - ## Instantiates a new managedAppRegistration and sets the default values. + ## Instantiates a new ManagedAppRegistration and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/managed_device.rb b/lib/models/managed_device.rb index 09e5ea747f..3caf2ef18b 100644 --- a/lib/models/managed_device.rb +++ b/lib/models/managed_device.rb @@ -5,8 +5,6 @@ module MicrosoftGraph module Models - ## - # Devices that are managed or pre-enrolled through Intune class ManagedDevice < MicrosoftGraph::Models::Entity include MicrosoftKiotaAbstractions::Parsable ## @@ -286,7 +284,7 @@ def configuration_manager_client_enabled_features=(value) @configuration_manager_client_enabled_features = value end ## - ## Instantiates a new managedDevice and sets the default values. + ## Instantiates a new ManagedDevice and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/mobile_app.rb b/lib/models/mobile_app.rb index 3f672db600..f169a7e383 100644 --- a/lib/models/mobile_app.rb +++ b/lib/models/mobile_app.rb @@ -155,6 +155,8 @@ def self.create_from_discriminator_value(parse_node) return WebApp.new when "#microsoft.graph.win32LobApp" return Win32LobApp.new + when "#microsoft.graph.windowsAppX" + return WindowsAppX.new when "#microsoft.graph.windowsMicrosoftEdgeApp" return WindowsMicrosoftEdgeApp.new when "#microsoft.graph.windowsMobileMSI" diff --git a/lib/models/mobile_lob_app.rb b/lib/models/mobile_lob_app.rb index c76fa57b6e..dd33933262 100644 --- a/lib/models/mobile_lob_app.rb +++ b/lib/models/mobile_lob_app.rb @@ -75,6 +75,8 @@ def self.create_from_discriminator_value(parse_node) return MacOSLobApp.new when "#microsoft.graph.win32LobApp" return Win32LobApp.new + when "#microsoft.graph.windowsAppX" + return WindowsAppX.new when "#microsoft.graph.windowsMobileMSI" return WindowsMobileMSI.new when "#microsoft.graph.windowsUniversalAppX" diff --git a/lib/models/models.rb b/lib/models/models.rb index b14e11f1e9..3d4746ccc6 100644 --- a/lib/models/models.rb +++ b/lib/models/models.rb @@ -52,6 +52,13 @@ require_relative 'booking_staff_role' require_relative 'booking_type' require_relative 'broadcast_meeting_audience' +require_relative 'browser_shared_cookie_source_environment' +require_relative 'browser_shared_cookie_status' +require_relative 'browser_site_compatibility_mode' +require_relative 'browser_site_list_status' +require_relative 'browser_site_merge_type' +require_relative 'browser_site_status' +require_relative 'browser_site_target_environment' require_relative 'bucket_aggregation_sort_property' require_relative 'calendar_color' require_relative 'calendar_role_type' @@ -478,6 +485,8 @@ require_relative 'boolean_column' require_relative 'broadcast_meeting_caption_settings' require_relative 'broadcast_meeting_settings' +require_relative 'browser_shared_cookie_history' +require_relative 'browser_site_history' require_relative 'bucket_aggregation_definition' require_relative 'bucket_aggregation_range' require_relative 'bundle' @@ -1123,6 +1132,14 @@ require_relative 'booking_staff_member_collection_response' require_relative 'booking_work_hours_collection_response' require_relative 'booking_work_time_slot_collection_response' +require_relative 'browser_shared_cookie' +require_relative 'browser_shared_cookie_collection_response' +require_relative 'browser_shared_cookie_history_collection_response' +require_relative 'browser_site' +require_relative 'browser_site_collection_response' +require_relative 'browser_site_history_collection_response' +require_relative 'browser_site_list' +require_relative 'browser_site_list_collection_response' require_relative 'bucket_aggregation_range_collection_response' require_relative 'built_in_identity_provider_collection_response' require_relative 'calendar' @@ -1335,6 +1352,7 @@ require_relative 'drive_item_collection_response' require_relative 'drive_item_version_collection_response' require_relative 'e_book_install_summary' +require_relative 'edge' require_relative 'edge_search_engine' require_relative 'edge_search_engine_custom' require_relative 'edition_upgrade_configuration_collection_response' @@ -1451,6 +1469,7 @@ require_relative 'integer_range_collection_response' require_relative 'internal_domain_federation_collection_response' require_relative 'internal_sponsors' +require_relative 'internet_explorer_mode' require_relative 'internet_message_header_collection_response' require_relative 'investigation_security_state_collection_response' require_relative 'invitation' @@ -1977,6 +1996,10 @@ require_relative 'trending' require_relative 'trending_collection_response' require_relative 'unified_approval_stage_collection_response' +require_relative 'unified_rbac_resource_action' +require_relative 'unified_rbac_resource_action_collection_response' +require_relative 'unified_rbac_resource_namespace' +require_relative 'unified_rbac_resource_namespace_collection_response' require_relative 'unified_role_assignment' require_relative 'unified_role_assignment_collection_response' require_relative 'unified_role_assignment_schedule_collection_response' @@ -2055,6 +2078,7 @@ require_relative 'windows81_compliance_policy_collection_response' require_relative 'windows81_general_configuration_collection_response' require_relative 'windows_app_x_app_assignment_settings' +require_relative 'windows_app_x_collection_response' require_relative 'windows_autopilot_device_identity' require_relative 'windows_autopilot_device_identity_collection_response' require_relative 'windows_defender_advanced_threat_protection_configuration_collection_response' @@ -2390,6 +2414,7 @@ require_relative 'tenant_app_management_policy' require_relative 'time_off_request' require_relative 'win32_lob_app' +require_relative 'windows_app_x' require_relative 'windows_information_protection_policy' require_relative 'windows_mobile_m_s_i' require_relative 'windows_universal_app_x' diff --git a/lib/models/office_graph_insights.rb b/lib/models/office_graph_insights.rb index 9040c952a9..9d7bd4f17c 100644 --- a/lib/models/office_graph_insights.rb +++ b/lib/models/office_graph_insights.rb @@ -16,7 +16,7 @@ class OfficeGraphInsights < MicrosoftGraph::Models::Entity # Calculated relationship identifying the latest documents viewed or modified by a user, including OneDrive for Business and SharePoint documents, ranked by recency of use. @used ## - ## Instantiates a new officeGraphInsights and sets the default values. + ## Instantiates a new OfficeGraphInsights and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/online_meeting.rb b/lib/models/online_meeting.rb index 66b0b8004d..85f4ade69f 100644 --- a/lib/models/online_meeting.rb +++ b/lib/models/online_meeting.rb @@ -230,7 +230,7 @@ def chat_info=(value) @chat_info = value end ## - ## Instantiates a new onlineMeeting and sets the default values. + ## Instantiates a new OnlineMeeting and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/planner_user.rb b/lib/models/planner_user.rb index 6b1289abb3..6cd274d142 100644 --- a/lib/models/planner_user.rb +++ b/lib/models/planner_user.rb @@ -13,7 +13,7 @@ class PlannerUser < MicrosoftGraph::Models::Entity # Read-only. Nullable. Returns the plannerPlans shared with the user. @tasks ## - ## Instantiates a new plannerUser and sets the default values. + ## Instantiates a new PlannerUser and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/presence.rb b/lib/models/presence.rb index 6d3c3a9c3a..fb2e5b9aed 100644 --- a/lib/models/presence.rb +++ b/lib/models/presence.rb @@ -43,7 +43,7 @@ def availability=(value) @availability = value end ## - ## Instantiates a new presence and sets the default values. + ## Instantiates a new Presence and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/print_connector.rb b/lib/models/print_connector.rb index d0c1e1a0c2..0b1471f750 100644 --- a/lib/models/print_connector.rb +++ b/lib/models/print_connector.rb @@ -41,7 +41,7 @@ def app_version=(value) @app_version = value end ## - ## Instantiates a new PrintConnector and sets the default values. + ## Instantiates a new printConnector and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/print_service.rb b/lib/models/print_service.rb index d1efc7b6a6..cc7beb37a1 100644 --- a/lib/models/print_service.rb +++ b/lib/models/print_service.rb @@ -10,7 +10,7 @@ class PrintService < MicrosoftGraph::Models::Entity # Endpoints that can be used to access the service. Read-only. Nullable. @endpoints ## - ## Instantiates a new printService and sets the default values. + ## Instantiates a new PrintService and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/print_usage.rb b/lib/models/print_usage.rb index eb4b96d1df..f68fa92fa3 100644 --- a/lib/models/print_usage.rb +++ b/lib/models/print_usage.rb @@ -50,7 +50,7 @@ def completed_color_job_count=(value) @completed_color_job_count = value end ## - ## Instantiates a new PrintUsage and sets the default values. + ## Instantiates a new printUsage and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/rbac_application.rb b/lib/models/rbac_application.rb index 1b4daed7dd..ac2316b984 100644 --- a/lib/models/rbac_application.rb +++ b/lib/models/rbac_application.rb @@ -7,6 +7,9 @@ module Models class RbacApplication < MicrosoftGraph::Models::Entity include MicrosoftKiotaAbstractions::Parsable ## + # The resourceNamespaces property + @resource_namespaces + ## # Instances for active role assignments. @role_assignment_schedule_instances ## @@ -52,6 +55,7 @@ def self.create_from_discriminator_value(parse_node) ## def get_field_deserializers() return super.merge({ + "resourceNamespaces" => lambda {|n| @resource_namespaces = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }) }, "roleAssignmentScheduleInstances" => lambda {|n| @role_assignment_schedule_instances = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentScheduleInstance.create_from_discriminator_value(pn) }) }, "roleAssignmentScheduleRequests" => lambda {|n| @role_assignment_schedule_requests = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentScheduleRequest.create_from_discriminator_value(pn) }) }, "roleAssignmentSchedules" => lambda {|n| @role_assignment_schedules = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRoleAssignmentSchedule.create_from_discriminator_value(pn) }) }, @@ -63,6 +67,21 @@ def get_field_deserializers() }) end ## + ## Gets the resourceNamespaces property value. The resourceNamespaces property + ## @return a unified_rbac_resource_namespace + ## + def resource_namespaces + return @resource_namespaces + end + ## + ## Sets the resourceNamespaces property value. The resourceNamespaces property + ## @param value Value to set for the resource_namespaces property. + ## @return a void + ## + def resource_namespaces=(value) + @resource_namespaces = value + end + ## ## Gets the roleAssignmentScheduleInstances property value. Instances for active role assignments. ## @return a unified_role_assignment_schedule_instance ## @@ -190,6 +209,7 @@ def role_eligibility_schedules=(value) def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? super + writer.write_collection_of_object_values("resourceNamespaces", @resource_namespaces) writer.write_collection_of_object_values("roleAssignmentScheduleInstances", @role_assignment_schedule_instances) writer.write_collection_of_object_values("roleAssignmentScheduleRequests", @role_assignment_schedule_requests) writer.write_collection_of_object_values("roleAssignmentSchedules", @role_assignment_schedules) diff --git a/lib/models/risky_service_principal.rb b/lib/models/risky_service_principal.rb index 8f7114b717..67161d1fc1 100644 --- a/lib/models/risky_service_principal.rb +++ b/lib/models/risky_service_principal.rb @@ -53,7 +53,7 @@ def app_id=(value) @app_id = value end ## - ## Instantiates a new RiskyServicePrincipal and sets the default values. + ## Instantiates a new riskyServicePrincipal and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/risky_user.rb b/lib/models/risky_user.rb index ff2b938c47..bd3d1e7801 100644 --- a/lib/models/risky_user.rb +++ b/lib/models/risky_user.rb @@ -35,7 +35,7 @@ class RiskyUser < MicrosoftGraph::Models::Entity # Risky user principal name. @user_principal_name ## - ## Instantiates a new RiskyUser and sets the default values. + ## Instantiates a new riskyUser and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/role_definition.rb b/lib/models/role_definition.rb index 4c6478b1dd..ee3f5e4902 100644 --- a/lib/models/role_definition.rb +++ b/lib/models/role_definition.rb @@ -4,6 +4,8 @@ module MicrosoftGraph module Models + ## + # The Role Definition resource. The role definition is the foundation of role based access in Intune. The role combines an Intune resource such as a Mobile App and associated role permissions such as Create or Read for the resource. There are two types of roles, built-in and custom. Built-in roles cannot be modified. Both built-in roles and custom roles must have assignments to be enforced. Create custom roles if you want to define a role that allows any of the available resources and role permissions to be combined into a single role. class RoleDefinition < MicrosoftGraph::Models::Entity include MicrosoftKiotaAbstractions::Parsable ## diff --git a/lib/models/search_query.rb b/lib/models/search_query.rb index a9ef471c94..a826804134 100644 --- a/lib/models/search_query.rb +++ b/lib/models/search_query.rb @@ -16,6 +16,9 @@ class SearchQuery # The search query containing the search terms. Required. @query_string ## + # The queryTemplate property + @query_template + ## ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. ## @return a i_dictionary ## @@ -54,6 +57,7 @@ def get_field_deserializers() return { "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "queryString" => lambda {|n| @query_string = n.get_string_value() }, + "queryTemplate" => lambda {|n| @query_template = n.get_string_value() }, } end ## @@ -87,6 +91,21 @@ def query_string=(value) @query_string = value end ## + ## Gets the queryTemplate property value. The queryTemplate property + ## @return a string + ## + def query_template + return @query_template + end + ## + ## Sets the queryTemplate property value. The queryTemplate property + ## @param value Value to set for the query_template property. + ## @return a void + ## + def query_template=(value) + @query_template = value + end + ## ## Serializes information the current object ## @param writer Serialization writer to use to serialize this model ## @return a void @@ -95,6 +114,7 @@ def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("queryString", @query_string) + writer.write_string_value("queryTemplate", @query_template) writer.write_additional_data(@additional_data) end end diff --git a/lib/models/security/event_propagation_result.rb b/lib/models/security/event_propagation_result.rb new file mode 100644 index 0000000000..b55c35f92e --- /dev/null +++ b/lib/models/security/event_propagation_result.rb @@ -0,0 +1,165 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class EventPropagationResult + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # The name of the specific location in the workload associated with the event. + @location + ## + # The OdataType property + @odata_type + ## + # The name of the workload associated with the event. + @service_name + ## + # Indicates the status of the event creation request. The possible values are: none, inProcessing, failed, success, unknownFutureValue. + @status + ## + # Additional information about the status of the event creation request. + @status_information + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Instantiates a new eventPropagationResult and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a event_propagation_result + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return EventPropagationResult.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "location" => lambda {|n| @location = n.get_string_value() }, + "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, + "serviceName" => lambda {|n| @service_name = n.get_string_value() }, + "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::Security::EventPropagationStatus) }, + "statusInformation" => lambda {|n| @status_information = n.get_string_value() }, + } + end + ## + ## Gets the location property value. The name of the specific location in the workload associated with the event. + ## @return a string + ## + def location + return @location + end + ## + ## Sets the location property value. The name of the specific location in the workload associated with the event. + ## @param value Value to set for the location property. + ## @return a void + ## + def location=(value) + @location = value + end + ## + ## Gets the @odata.type property value. The OdataType property + ## @return a string + ## + def odata_type + return @odata_type + end + ## + ## Sets the @odata.type property value. The OdataType property + ## @param value Value to set for the odata_type property. + ## @return a void + ## + def odata_type=(value) + @odata_type = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_string_value("location", @location) + writer.write_string_value("@odata.type", @odata_type) + writer.write_string_value("serviceName", @service_name) + writer.write_enum_value("status", @status) + writer.write_string_value("statusInformation", @status_information) + writer.write_additional_data(@additional_data) + end + ## + ## Gets the serviceName property value. The name of the workload associated with the event. + ## @return a string + ## + def service_name + return @service_name + end + ## + ## Sets the serviceName property value. The name of the workload associated with the event. + ## @param value Value to set for the service_name property. + ## @return a void + ## + def service_name=(value) + @service_name = value + end + ## + ## Gets the status property value. Indicates the status of the event creation request. The possible values are: none, inProcessing, failed, success, unknownFutureValue. + ## @return a event_propagation_status + ## + def status + return @status + end + ## + ## Sets the status property value. Indicates the status of the event creation request. The possible values are: none, inProcessing, failed, success, unknownFutureValue. + ## @param value Value to set for the status property. + ## @return a void + ## + def status=(value) + @status = value + end + ## + ## Gets the statusInformation property value. Additional information about the status of the event creation request. + ## @return a string + ## + def status_information + return @status_information + end + ## + ## Sets the statusInformation property value. Additional information about the status of the event creation request. + ## @param value Value to set for the status_information property. + ## @return a void + ## + def status_information=(value) + @status_information = value + end + end + end + end +end diff --git a/lib/models/security/event_propagation_result_collection_response.rb b/lib/models/security/event_propagation_result_collection_response.rb new file mode 100644 index 0000000000..1ff3be1642 --- /dev/null +++ b/lib/models/security/event_propagation_result_collection_response.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class EventPropagationResultCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new EventPropagationResultCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a event_propagation_result_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return EventPropagationResultCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::EventPropagationResult.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a event_propagation_result + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end + end +end diff --git a/lib/models/security/event_propagation_status.rb b/lib/models/security/event_propagation_status.rb new file mode 100644 index 0000000000..c4a10d055b --- /dev/null +++ b/lib/models/security/event_propagation_status.rb @@ -0,0 +1,13 @@ +module MicrosoftGraph + module Models + module Security + EventPropagationStatus = { + None: :None, + InProcessing: :InProcessing, + Failed: :Failed, + Success: :Success, + UnknownFutureValue: :UnknownFutureValue, + } + end + end +end diff --git a/lib/models/security/event_query.rb b/lib/models/security/event_query.rb new file mode 100644 index 0000000000..8eaf04493e --- /dev/null +++ b/lib/models/security/event_query.rb @@ -0,0 +1,125 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class EventQuery + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # The OdataType property + @odata_type + ## + # Represents unique identification for the query. 'Asset ID' for SharePoint Online and OneDrive for Business, 'keywords' for Exchange Online. + @query + ## + # Represents the type of query associated with an event. 'files' for SPO and ODB and 'messages' for EXO.The possible values are: files, messages, unknownFutureValue. + @query_type + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Instantiates a new eventQuery and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a event_query + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return EventQuery.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, + "query" => lambda {|n| @query = n.get_string_value() }, + "queryType" => lambda {|n| @query_type = n.get_enum_value(MicrosoftGraph::Models::Security::QueryType) }, + } + end + ## + ## Gets the @odata.type property value. The OdataType property + ## @return a string + ## + def odata_type + return @odata_type + end + ## + ## Sets the @odata.type property value. The OdataType property + ## @param value Value to set for the odata_type property. + ## @return a void + ## + def odata_type=(value) + @odata_type = value + end + ## + ## Gets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint Online and OneDrive for Business, 'keywords' for Exchange Online. + ## @return a string + ## + def query + return @query + end + ## + ## Sets the query property value. Represents unique identification for the query. 'Asset ID' for SharePoint Online and OneDrive for Business, 'keywords' for Exchange Online. + ## @param value Value to set for the query property. + ## @return a void + ## + def query=(value) + @query = value + end + ## + ## Gets the queryType property value. Represents the type of query associated with an event. 'files' for SPO and ODB and 'messages' for EXO.The possible values are: files, messages, unknownFutureValue. + ## @return a query_type + ## + def query_type + return @query_type + end + ## + ## Sets the queryType property value. Represents the type of query associated with an event. 'files' for SPO and ODB and 'messages' for EXO.The possible values are: files, messages, unknownFutureValue. + ## @param value Value to set for the query_type property. + ## @return a void + ## + def query_type=(value) + @query_type = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_string_value("@odata.type", @odata_type) + writer.write_string_value("query", @query) + writer.write_enum_value("queryType", @query_type) + writer.write_additional_data(@additional_data) + end + end + end + end +end diff --git a/lib/models/security/event_query_collection_response.rb b/lib/models/security/event_query_collection_response.rb new file mode 100644 index 0000000000..d01e04efa8 --- /dev/null +++ b/lib/models/security/event_query_collection_response.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class EventQueryCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new EventQueryCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a event_query_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return EventQueryCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::EventQuery.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a event_query + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end + end +end diff --git a/lib/models/security/event_status_type.rb b/lib/models/security/event_status_type.rb new file mode 100644 index 0000000000..81249c1d57 --- /dev/null +++ b/lib/models/security/event_status_type.rb @@ -0,0 +1,13 @@ +module MicrosoftGraph + module Models + module Security + EventStatusType = { + Pending: :Pending, + Error: :Error, + Success: :Success, + NotAvaliable: :NotAvaliable, + UnknownFutureValue: :UnknownFutureValue, + } + end + end +end diff --git a/lib/models/security/query_type.rb b/lib/models/security/query_type.rb new file mode 100644 index 0000000000..dfb5f0dc82 --- /dev/null +++ b/lib/models/security/query_type.rb @@ -0,0 +1,11 @@ +module MicrosoftGraph + module Models + module Security + QueryType = { + Files: :Files, + Messages: :Messages, + UnknownFutureValue: :UnknownFutureValue, + } + end + end +end diff --git a/lib/models/security/retention_event.rb b/lib/models/security/retention_event.rb new file mode 100644 index 0000000000..537af79c8c --- /dev/null +++ b/lib/models/security/retention_event.rb @@ -0,0 +1,288 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class RetentionEvent < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The user who created the retentionEvent. + @created_by + ## + # The date time when the retentionEvent was created. + @created_date_time + ## + # Optional information about the event. + @description + ## + # Name of the event. + @display_name + ## + # The eventPropagationResults property + @event_propagation_results + ## + # Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. + @event_queries + ## + # The eventStatus property + @event_status + ## + # Optional time when the event should be triggered. + @event_trigger_date_time + ## + # The user who last modified the retentionEvent. + @last_modified_by + ## + # The latest date time when the retentionEvent was modified. + @last_modified_date_time + ## + # Last time the status of the event was updated. + @last_status_update_date_time + ## + # Specifies the event that will start the retention period for labels that use this event type when an event is created. + @retention_event_type + ## + ## Instantiates a new retentionEvent and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Gets the createdBy property value. The user who created the retentionEvent. + ## @return a identity_set + ## + def created_by + return @created_by + end + ## + ## Sets the createdBy property value. The user who created the retentionEvent. + ## @param value Value to set for the created_by property. + ## @return a void + ## + def created_by=(value) + @created_by = value + end + ## + ## Gets the createdDateTime property value. The date time when the retentionEvent was created. + ## @return a date_time + ## + def created_date_time + return @created_date_time + end + ## + ## Sets the createdDateTime property value. The date time when the retentionEvent was created. + ## @param value Value to set for the created_date_time property. + ## @return a void + ## + def created_date_time=(value) + @created_date_time = value + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a retention_event + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return RetentionEvent.new + end + ## + ## Gets the description property value. Optional information about the event. + ## @return a string + ## + def description + return @description + end + ## + ## Sets the description property value. Optional information about the event. + ## @param value Value to set for the description property. + ## @return a void + ## + def description=(value) + @description = value + end + ## + ## Gets the displayName property value. Name of the event. + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. Name of the event. + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## + ## Gets the eventPropagationResults property value. The eventPropagationResults property + ## @return a event_propagation_result + ## + def event_propagation_results + return @event_propagation_results + end + ## + ## Sets the eventPropagationResults property value. The eventPropagationResults property + ## @param value Value to set for the event_propagation_results property. + ## @return a void + ## + def event_propagation_results=(value) + @event_propagation_results = value + end + ## + ## Gets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. + ## @return a event_query + ## + def event_queries + return @event_queries + end + ## + ## Sets the eventQueries property value. Represents the workload (SharePoint Online, OneDrive for Business, Exchange Online) and identification information associated with a retention event. + ## @param value Value to set for the event_queries property. + ## @return a void + ## + def event_queries=(value) + @event_queries = value + end + ## + ## Gets the eventStatus property value. The eventStatus property + ## @return a retention_event_status + ## + def event_status + return @event_status + end + ## + ## Sets the eventStatus property value. The eventStatus property + ## @param value Value to set for the event_status property. + ## @return a void + ## + def event_status=(value) + @event_status = value + end + ## + ## Gets the eventTriggerDateTime property value. Optional time when the event should be triggered. + ## @return a date_time + ## + def event_trigger_date_time + return @event_trigger_date_time + end + ## + ## Sets the eventTriggerDateTime property value. Optional time when the event should be triggered. + ## @param value Value to set for the event_trigger_date_time property. + ## @return a void + ## + def event_trigger_date_time=(value) + @event_trigger_date_time = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "createdBy" => lambda {|n| @created_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, + "description" => lambda {|n| @description = n.get_string_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, + "eventPropagationResults" => lambda {|n| @event_propagation_results = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::EventPropagationResult.create_from_discriminator_value(pn) }) }, + "eventQueries" => lambda {|n| @event_queries = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::EventQuery.create_from_discriminator_value(pn) }) }, + "eventStatus" => lambda {|n| @event_status = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventStatus.create_from_discriminator_value(pn) }) }, + "eventTriggerDateTime" => lambda {|n| @event_trigger_date_time = n.get_date_time_value() }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, + "lastStatusUpdateDateTime" => lambda {|n| @last_status_update_date_time = n.get_date_time_value() }, + "retentionEventType" => lambda {|n| @retention_event_type = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the lastModifiedBy property value. The user who last modified the retentionEvent. + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The user who last modified the retentionEvent. + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the lastModifiedDateTime property value. The latest date time when the retentionEvent was modified. + ## @return a date_time + ## + def last_modified_date_time + return @last_modified_date_time + end + ## + ## Sets the lastModifiedDateTime property value. The latest date time when the retentionEvent was modified. + ## @param value Value to set for the last_modified_date_time property. + ## @return a void + ## + def last_modified_date_time=(value) + @last_modified_date_time = value + end + ## + ## Gets the lastStatusUpdateDateTime property value. Last time the status of the event was updated. + ## @return a date_time + ## + def last_status_update_date_time + return @last_status_update_date_time + end + ## + ## Sets the lastStatusUpdateDateTime property value. Last time the status of the event was updated. + ## @param value Value to set for the last_status_update_date_time property. + ## @return a void + ## + def last_status_update_date_time=(value) + @last_status_update_date_time = value + end + ## + ## Gets the retentionEventType property value. Specifies the event that will start the retention period for labels that use this event type when an event is created. + ## @return a retention_event_type + ## + def retention_event_type + return @retention_event_type + end + ## + ## Sets the retentionEventType property value. Specifies the event that will start the retention period for labels that use this event type when an event is created. + ## @param value Value to set for the retention_event_type property. + ## @return a void + ## + def retention_event_type=(value) + @retention_event_type = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_object_value("createdBy", @created_by) + writer.write_date_time_value("createdDateTime", @created_date_time) + writer.write_string_value("description", @description) + writer.write_string_value("displayName", @display_name) + writer.write_collection_of_object_values("eventPropagationResults", @event_propagation_results) + writer.write_collection_of_object_values("eventQueries", @event_queries) + writer.write_object_value("eventStatus", @event_status) + writer.write_date_time_value("eventTriggerDateTime", @event_trigger_date_time) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) + writer.write_date_time_value("lastStatusUpdateDateTime", @last_status_update_date_time) + writer.write_object_value("retentionEventType", @retention_event_type) + end + end + end + end +end diff --git a/lib/models/security/retention_event_collection_response.rb b/lib/models/security/retention_event_collection_response.rb new file mode 100644 index 0000000000..776e1e54c7 --- /dev/null +++ b/lib/models/security/retention_event_collection_response.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class RetentionEventCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new RetentionEventCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a retention_event_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return RetentionEventCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEvent.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a retention_event + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end + end +end diff --git a/lib/models/security/retention_event_status.rb b/lib/models/security/retention_event_status.rb new file mode 100644 index 0000000000..4d344788f5 --- /dev/null +++ b/lib/models/security/retention_event_status.rb @@ -0,0 +1,125 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class RetentionEventStatus + include MicrosoftKiotaAbstractions::AdditionalDataHolder, MicrosoftKiotaAbstractions::Parsable + ## + # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + @additional_data + ## + # The error if the status is not successful. + @error + ## + # The OdataType property + @odata_type + ## + # The status of the distribution. The possible values are: pending, error, success, notAvaliable. + @status + ## + ## Gets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @return a i_dictionary + ## + def additional_data + return @additional_data + end + ## + ## Sets the additionalData property value. Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. + ## @param value Value to set for the AdditionalData property. + ## @return a void + ## + def additional_data=(value) + @additional_data = value + end + ## + ## Instantiates a new retentionEventStatus and sets the default values. + ## @return a void + ## + def initialize() + @additional_data = Hash.new + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a retention_event_status + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return RetentionEventStatus.new + end + ## + ## Gets the error property value. The error if the status is not successful. + ## @return a public_error + ## + def error + return @error + end + ## + ## Sets the error property value. The error if the status is not successful. + ## @param value Value to set for the error property. + ## @return a void + ## + def error=(value) + @error = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return { + "error" => lambda {|n| @error = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::PublicError.create_from_discriminator_value(pn) }) }, + "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, + "status" => lambda {|n| @status = n.get_enum_value(MicrosoftGraph::Models::Security::EventStatusType) }, + } + end + ## + ## Gets the @odata.type property value. The OdataType property + ## @return a string + ## + def odata_type + return @odata_type + end + ## + ## Sets the @odata.type property value. The OdataType property + ## @param value Value to set for the odata_type property. + ## @return a void + ## + def odata_type=(value) + @odata_type = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + writer.write_object_value("error", @error) + writer.write_string_value("@odata.type", @odata_type) + writer.write_enum_value("status", @status) + writer.write_additional_data(@additional_data) + end + ## + ## Gets the status property value. The status of the distribution. The possible values are: pending, error, success, notAvaliable. + ## @return a event_status_type + ## + def status + return @status + end + ## + ## Sets the status property value. The status of the distribution. The possible values are: pending, error, success, notAvaliable. + ## @param value Value to set for the status property. + ## @return a void + ## + def status=(value) + @status = value + end + end + end + end +end diff --git a/lib/models/security/retention_event_type.rb b/lib/models/security/retention_event_type.rb new file mode 100644 index 0000000000..7402e0ca21 --- /dev/null +++ b/lib/models/security/retention_event_type.rb @@ -0,0 +1,168 @@ +require 'date' +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class RetentionEventType < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The user who created the retentionEventType. + @created_by + ## + # The date time when the retentionEventType was created. + @created_date_time + ## + # Optional information about the event type. + @description + ## + # Name of the event type. + @display_name + ## + # The user who last modified the retentionEventType. + @last_modified_by + ## + # The latest date time when the retentionEventType was modified. + @last_modified_date_time + ## + ## Instantiates a new retentionEventType and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Gets the createdBy property value. The user who created the retentionEventType. + ## @return a identity_set + ## + def created_by + return @created_by + end + ## + ## Sets the createdBy property value. The user who created the retentionEventType. + ## @param value Value to set for the created_by property. + ## @return a void + ## + def created_by=(value) + @created_by = value + end + ## + ## Gets the createdDateTime property value. The date time when the retentionEventType was created. + ## @return a date_time + ## + def created_date_time + return @created_date_time + end + ## + ## Sets the createdDateTime property value. The date time when the retentionEventType was created. + ## @param value Value to set for the created_date_time property. + ## @return a void + ## + def created_date_time=(value) + @created_date_time = value + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a retention_event_type + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return RetentionEventType.new + end + ## + ## Gets the description property value. Optional information about the event type. + ## @return a string + ## + def description + return @description + end + ## + ## Sets the description property value. Optional information about the event type. + ## @param value Value to set for the description property. + ## @return a void + ## + def description=(value) + @description = value + end + ## + ## Gets the displayName property value. Name of the event type. + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. Name of the event type. + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "createdBy" => lambda {|n| @created_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "createdDateTime" => lambda {|n| @created_date_time = n.get_date_time_value() }, + "description" => lambda {|n| @description = n.get_string_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, + "lastModifiedBy" => lambda {|n| @last_modified_by = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::IdentitySet.create_from_discriminator_value(pn) }) }, + "lastModifiedDateTime" => lambda {|n| @last_modified_date_time = n.get_date_time_value() }, + }) + end + ## + ## Gets the lastModifiedBy property value. The user who last modified the retentionEventType. + ## @return a identity_set + ## + def last_modified_by + return @last_modified_by + end + ## + ## Sets the lastModifiedBy property value. The user who last modified the retentionEventType. + ## @param value Value to set for the last_modified_by property. + ## @return a void + ## + def last_modified_by=(value) + @last_modified_by = value + end + ## + ## Gets the lastModifiedDateTime property value. The latest date time when the retentionEventType was modified. + ## @return a date_time + ## + def last_modified_date_time + return @last_modified_date_time + end + ## + ## Sets the lastModifiedDateTime property value. The latest date time when the retentionEventType was modified. + ## @param value Value to set for the last_modified_date_time property. + ## @return a void + ## + def last_modified_date_time=(value) + @last_modified_date_time = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_object_value("createdBy", @created_by) + writer.write_date_time_value("createdDateTime", @created_date_time) + writer.write_string_value("description", @description) + writer.write_string_value("displayName", @display_name) + writer.write_object_value("lastModifiedBy", @last_modified_by) + writer.write_date_time_value("lastModifiedDateTime", @last_modified_date_time) + end + end + end + end +end diff --git a/lib/models/security/retention_event_type_collection_response.rb b/lib/models/security/retention_event_type_collection_response.rb new file mode 100644 index 0000000000..23f63c5059 --- /dev/null +++ b/lib/models/security/retention_event_type_collection_response.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class RetentionEventTypeCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new RetentionEventTypeCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a retention_event_type_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return RetentionEventTypeCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a retention_event_type + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end + end +end diff --git a/lib/models/security/security.rb b/lib/models/security/security.rb index 618cf00683..8858f7cf65 100644 --- a/lib/models/security/security.rb +++ b/lib/models/security/security.rb @@ -15,6 +15,8 @@ require_relative 'detection_status' require_relative 'device_health_status' require_relative 'device_risk_score' +require_relative 'event_propagation_status' +require_relative 'event_status_type' require_relative 'evidence_remediation_status' require_relative 'evidence_role' require_relative 'evidence_verdict' @@ -22,6 +24,7 @@ require_relative 'onboarding_status' require_relative 'purge_areas' require_relative 'purge_type' +require_relative 'query_type' require_relative 'service_source' require_relative 'source_type' require_relative 'vm_cloud_provider' @@ -54,6 +57,10 @@ require_relative 'ediscovery_search_collection_response' require_relative 'ediscovery_tag_operation_collection_response' require_relative 'email_sender' +require_relative 'event_propagation_result' +require_relative 'event_propagation_result_collection_response' +require_relative 'event_query' +require_relative 'event_query_collection_response' require_relative 'file_details' require_relative 'hunting_query_results' require_relative 'hunting_row_result' @@ -64,12 +71,19 @@ require_relative 'logged_on_user_collection_response' require_relative 'ocr_settings' require_relative 'redundancy_detection_settings' +require_relative 'retention_event' +require_relative 'retention_event_collection_response' +require_relative 'retention_event_status' +require_relative 'retention_event_type' +require_relative 'retention_event_type_collection_response' require_relative 'search' require_relative 'single_property_schema' require_relative 'single_property_schema_collection_response' require_relative 'site_source_collection_response' require_relative 'tag' require_relative 'topic_modeling_settings' +require_relative 'triggers_root' +require_relative 'trigger_types_root' require_relative 'unified_group_source_collection_response' require_relative 'user_account' require_relative 'user_source_collection_response' diff --git a/lib/models/security/trigger_types_root.rb b/lib/models/security/trigger_types_root.rb new file mode 100644 index 0000000000..fce469686d --- /dev/null +++ b/lib/models/security/trigger_types_root.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class TriggerTypesRoot < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The retentionEventTypes property + @retention_event_types + ## + ## Instantiates a new triggerTypesRoot and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a trigger_types_root + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return TriggerTypesRoot.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "retentionEventTypes" => lambda {|n| @retention_event_types = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the retentionEventTypes property value. The retentionEventTypes property + ## @return a retention_event_type + ## + def retention_event_types + return @retention_event_types + end + ## + ## Sets the retentionEventTypes property value. The retentionEventTypes property + ## @param value Value to set for the retention_event_types property. + ## @return a void + ## + def retention_event_types=(value) + @retention_event_types = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("retentionEventTypes", @retention_event_types) + end + end + end + end +end diff --git a/lib/models/security/triggers_root.rb b/lib/models/security/triggers_root.rb new file mode 100644 index 0000000000..494d09e85a --- /dev/null +++ b/lib/models/security/triggers_root.rb @@ -0,0 +1,67 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../models' +require_relative './security' + +module MicrosoftGraph + module Models + module Security + class TriggersRoot < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The retentionEvents property + @retention_events + ## + ## Instantiates a new triggersRoot and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a triggers_root + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return TriggersRoot.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "retentionEvents" => lambda {|n| @retention_events = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::RetentionEvent.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the retentionEvents property value. The retentionEvents property + ## @return a retention_event + ## + def retention_events + return @retention_events + end + ## + ## Sets the retentionEvents property value. The retentionEvents property + ## @param value Value to set for the retention_events property. + ## @return a void + ## + def retention_events=(value) + @retention_events = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("retentionEvents", @retention_events) + end + end + end + end +end diff --git a/lib/models/security/user_account.rb b/lib/models/security/user_account.rb index 645aafe939..f7b9730b1b 100644 --- a/lib/models/security/user_account.rb +++ b/lib/models/security/user_account.rb @@ -18,6 +18,9 @@ class UserAccount # The user object identifier in Azure AD. @azure_ad_user_id ## + # The displayName property + @display_name + ## # The name of the Active Directory domain of which the user is a member. @domain_name ## @@ -91,6 +94,21 @@ def self.create_from_discriminator_value(parse_node) return UserAccount.new end ## + ## Gets the displayName property value. The displayName property + ## @return a string + ## + def display_name + return @display_name + end + ## + ## Sets the displayName property value. The displayName property + ## @param value Value to set for the display_name property. + ## @return a void + ## + def display_name=(value) + @display_name = value + end + ## ## Gets the domainName property value. The name of the Active Directory domain of which the user is a member. ## @return a string ## @@ -113,6 +131,7 @@ def get_field_deserializers() return { "accountName" => lambda {|n| @account_name = n.get_string_value() }, "azureAdUserId" => lambda {|n| @azure_ad_user_id = n.get_string_value() }, + "displayName" => lambda {|n| @display_name = n.get_string_value() }, "domainName" => lambda {|n| @domain_name = n.get_string_value() }, "@odata.type" => lambda {|n| @odata_type = n.get_string_value() }, "userPrincipalName" => lambda {|n| @user_principal_name = n.get_string_value() }, @@ -143,6 +162,7 @@ def serialize(writer) raise StandardError, 'writer cannot be null' if writer.nil? writer.write_string_value("accountName", @account_name) writer.write_string_value("azureAdUserId", @azure_ad_user_id) + writer.write_string_value("displayName", @display_name) writer.write_string_value("domainName", @domain_name) writer.write_string_value("@odata.type", @odata_type) writer.write_string_value("userPrincipalName", @user_principal_name) diff --git a/lib/models/security_model.rb b/lib/models/security_model.rb index 72a0b5cefd..460df82423 100644 --- a/lib/models/security_model.rb +++ b/lib/models/security_model.rb @@ -4,6 +4,8 @@ require_relative './security/alert' require_relative './security/cases_root' require_relative './security/incident' +require_relative './security/triggers_root' +require_relative './security/trigger_types_root' module MicrosoftGraph module Models @@ -31,6 +33,12 @@ class SecurityModel < MicrosoftGraph::Models::Entity # The secureScores property @secure_scores ## + # The triggerTypes property + @trigger_types + ## + # The triggers property + @triggers + ## ## Gets the alerts property value. The alerts property ## @return a alert ## @@ -119,6 +127,8 @@ def get_field_deserializers() "incidents" => lambda {|n| @incidents = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::Security::Incident.create_from_discriminator_value(pn) }) }, "secureScoreControlProfiles" => lambda {|n| @secure_score_control_profiles = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecureScoreControlProfile.create_from_discriminator_value(pn) }) }, "secureScores" => lambda {|n| @secure_scores = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::SecureScore.create_from_discriminator_value(pn) }) }, + "triggerTypes" => lambda {|n| @trigger_types = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Security::TriggerTypesRoot.create_from_discriminator_value(pn) }) }, + "triggers" => lambda {|n| @triggers = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::Security::TriggersRoot.create_from_discriminator_value(pn) }) }, }) end ## @@ -181,6 +191,38 @@ def serialize(writer) writer.write_collection_of_object_values("incidents", @incidents) writer.write_collection_of_object_values("secureScoreControlProfiles", @secure_score_control_profiles) writer.write_collection_of_object_values("secureScores", @secure_scores) + writer.write_object_value("triggerTypes", @trigger_types) + writer.write_object_value("triggers", @triggers) + end + ## + ## Gets the triggerTypes property value. The triggerTypes property + ## @return a trigger_types_root + ## + def trigger_types + return @trigger_types + end + ## + ## Sets the triggerTypes property value. The triggerTypes property + ## @param value Value to set for the trigger_types property. + ## @return a void + ## + def trigger_types=(value) + @trigger_types = value + end + ## + ## Gets the triggers property value. The triggers property + ## @return a triggers_root + ## + def triggers + return @triggers + end + ## + ## Sets the triggers property value. The triggers property + ## @param value Value to set for the triggers property. + ## @return a void + ## + def triggers=(value) + @triggers = value end end end diff --git a/lib/models/service_principal.rb b/lib/models/service_principal.rb index 58cf32ddc0..a579152817 100644 --- a/lib/models/service_principal.rb +++ b/lib/models/service_principal.rb @@ -136,7 +136,7 @@ class ServicePrincipal < MicrosoftGraph::Models::DirectoryObject # Specifies the Microsoft accounts that are supported for the current application. Read-only. Supported values are:AzureADMyOrg: Users with a Microsoft work or school account in my organization’s Azure AD tenant (single-tenant).AzureADMultipleOrgs: Users with a Microsoft work or school account in any organization’s Azure AD tenant (multi-tenant).AzureADandPersonalMicrosoftAccount: Users with a personal Microsoft account, or a work or school account in any organization’s Azure AD tenant.PersonalMicrosoftAccount: Users with a personal Microsoft account only. @sign_in_audience ## - # Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + # Custom strings that can be used to categorize and identify the service principal. Not nullable. The value is the union of strings set here and on the associated application entity's tags property.Supports $filter (eq, not, ge, le, startsWith). @tags ## # Specifies the keyId of a public key from the keyCredentials collection. When configured, Azure AD issues tokens for this application encrypted using the key specified by this property. The application code that receives the encrypted token must use the matching private key to decrypt the token before it can be used for the signed-in user. @@ -364,7 +364,7 @@ def claims_mapping_policies=(value) @claims_mapping_policies = value end ## - ## Instantiates a new servicePrincipal and sets the default values. + ## Instantiates a new ServicePrincipal and sets the default values. ## @return a void ## def initialize() @@ -931,14 +931,14 @@ def sign_in_audience=(value) @sign_in_audience = value end ## - ## Gets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + ## Gets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. The value is the union of strings set here and on the associated application entity's tags property.Supports $filter (eq, not, ge, le, startsWith). ## @return a string ## def tags return @tags end ## - ## Sets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. Supports $filter (eq, not, ge, le, startsWith). + ## Sets the tags property value. Custom strings that can be used to categorize and identify the service principal. Not nullable. The value is the union of strings set here and on the associated application entity's tags property.Supports $filter (eq, not, ge, le, startsWith). ## @param value Value to set for the tags property. ## @return a void ## diff --git a/lib/models/sign_in_activity.rb b/lib/models/sign_in_activity.rb index 4bad52d80f..48f0097892 100644 --- a/lib/models/sign_in_activity.rb +++ b/lib/models/sign_in_activity.rb @@ -11,16 +11,16 @@ class SignInActivity # Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. @additional_data ## - # The lastNonInteractiveSignInDateTime property + # The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. @last_non_interactive_sign_in_date_time ## - # The lastNonInteractiveSignInRequestId property + # Request identifier of the last non-interactive sign-in performed by this user. @last_non_interactive_sign_in_request_id ## - # The lastSignInDateTime property + # The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. @last_sign_in_date_time ## - # The lastSignInRequestId property + # Request identifier of the last interactive sign-in performed by this user. @last_sign_in_request_id ## # The OdataType property @@ -70,14 +70,14 @@ def get_field_deserializers() } end ## - ## Gets the lastNonInteractiveSignInDateTime property value. The lastNonInteractiveSignInDateTime property + ## Gets the lastNonInteractiveSignInDateTime property value. The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. ## @return a date_time ## def last_non_interactive_sign_in_date_time return @last_non_interactive_sign_in_date_time end ## - ## Sets the lastNonInteractiveSignInDateTime property value. The lastNonInteractiveSignInDateTime property + ## Sets the lastNonInteractiveSignInDateTime property value. The last non-interactive sign-in date for a specific user. You can use this field to calculate the last time a client signed in to the directory on behalf of a user. Because some users may use clients to access tenant resources rather than signing into your tenant directly, you can use the non-interactive sign-in date to along with lastSignInDateTime to identify inactive users. The timestamp 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'. Azure AD maintains non-interactive sign-ins going back to May 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. ## @param value Value to set for the last_non_interactive_sign_in_date_time property. ## @return a void ## @@ -85,14 +85,14 @@ def last_non_interactive_sign_in_date_time=(value) @last_non_interactive_sign_in_date_time = value end ## - ## Gets the lastNonInteractiveSignInRequestId property value. The lastNonInteractiveSignInRequestId property + ## Gets the lastNonInteractiveSignInRequestId property value. Request identifier of the last non-interactive sign-in performed by this user. ## @return a string ## def last_non_interactive_sign_in_request_id return @last_non_interactive_sign_in_request_id end ## - ## Sets the lastNonInteractiveSignInRequestId property value. The lastNonInteractiveSignInRequestId property + ## Sets the lastNonInteractiveSignInRequestId property value. Request identifier of the last non-interactive sign-in performed by this user. ## @param value Value to set for the last_non_interactive_sign_in_request_id property. ## @return a void ## @@ -100,14 +100,14 @@ def last_non_interactive_sign_in_request_id=(value) @last_non_interactive_sign_in_request_id = value end ## - ## Gets the lastSignInDateTime property value. The lastSignInDateTime property + ## Gets the lastSignInDateTime property value. The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. ## @return a date_time ## def last_sign_in_date_time return @last_sign_in_date_time end ## - ## Sets the lastSignInDateTime property value. The lastSignInDateTime property + ## Sets the lastSignInDateTime property value. The last interactive sign-in date and time for a specific user. You can use this field to calculate the last time a user signed in to the directory with an interactive authentication method. This field can be used to build reports, such as inactive users. The timestamp 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'. Azure AD maintains interactive sign-ins going back to April 2020. For more information about using the value of this property, see Manage inactive user accounts in Azure AD. ## @param value Value to set for the last_sign_in_date_time property. ## @return a void ## @@ -115,14 +115,14 @@ def last_sign_in_date_time=(value) @last_sign_in_date_time = value end ## - ## Gets the lastSignInRequestId property value. The lastSignInRequestId property + ## Gets the lastSignInRequestId property value. Request identifier of the last interactive sign-in performed by this user. ## @return a string ## def last_sign_in_request_id return @last_sign_in_request_id end ## - ## Sets the lastSignInRequestId property value. The lastSignInRequestId property + ## Sets the lastSignInRequestId property value. Request identifier of the last interactive sign-in performed by this user. ## @param value Value to set for the last_sign_in_request_id property. ## @return a void ## diff --git a/lib/models/todo.rb b/lib/models/todo.rb index 992db65664..6974c062bb 100644 --- a/lib/models/todo.rb +++ b/lib/models/todo.rb @@ -10,7 +10,7 @@ class Todo < MicrosoftGraph::Models::Entity # The task lists in the users mailbox. @lists ## - ## Instantiates a new todo and sets the default values. + ## Instantiates a new Todo and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/unified_rbac_resource_action.rb b/lib/models/unified_rbac_resource_action.rb new file mode 100644 index 0000000000..c8a116637a --- /dev/null +++ b/lib/models/unified_rbac_resource_action.rb @@ -0,0 +1,164 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class UnifiedRbacResourceAction < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The actionVerb property + @action_verb + ## + # The authenticationContextId property + @authentication_context_id + ## + # The description property + @description + ## + # The isAuthenticationContextSettable property + @is_authentication_context_settable + ## + # The name property + @name + ## + # The resourceScopeId property + @resource_scope_id + ## + ## Gets the actionVerb property value. The actionVerb property + ## @return a string + ## + def action_verb + return @action_verb + end + ## + ## Sets the actionVerb property value. The actionVerb property + ## @param value Value to set for the action_verb property. + ## @return a void + ## + def action_verb=(value) + @action_verb = value + end + ## + ## Gets the authenticationContextId property value. The authenticationContextId property + ## @return a string + ## + def authentication_context_id + return @authentication_context_id + end + ## + ## Sets the authenticationContextId property value. The authenticationContextId property + ## @param value Value to set for the authentication_context_id property. + ## @return a void + ## + def authentication_context_id=(value) + @authentication_context_id = value + end + ## + ## Instantiates a new unifiedRbacResourceAction and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a unified_rbac_resource_action + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return UnifiedRbacResourceAction.new + end + ## + ## Gets the description property value. The description property + ## @return a string + ## + def description + return @description + end + ## + ## Sets the description property value. The description property + ## @param value Value to set for the description property. + ## @return a void + ## + def description=(value) + @description = value + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "actionVerb" => lambda {|n| @action_verb = n.get_string_value() }, + "authenticationContextId" => lambda {|n| @authentication_context_id = n.get_string_value() }, + "description" => lambda {|n| @description = n.get_string_value() }, + "isAuthenticationContextSettable" => lambda {|n| @is_authentication_context_settable = n.get_boolean_value() }, + "name" => lambda {|n| @name = n.get_string_value() }, + "resourceScopeId" => lambda {|n| @resource_scope_id = n.get_string_value() }, + }) + end + ## + ## Gets the isAuthenticationContextSettable property value. The isAuthenticationContextSettable property + ## @return a boolean + ## + def is_authentication_context_settable + return @is_authentication_context_settable + end + ## + ## Sets the isAuthenticationContextSettable property value. The isAuthenticationContextSettable property + ## @param value Value to set for the is_authentication_context_settable property. + ## @return a void + ## + def is_authentication_context_settable=(value) + @is_authentication_context_settable = value + end + ## + ## Gets the name property value. The name property + ## @return a string + ## + def name + return @name + end + ## + ## Sets the name property value. The name property + ## @param value Value to set for the name property. + ## @return a void + ## + def name=(value) + @name = value + end + ## + ## Gets the resourceScopeId property value. The resourceScopeId property + ## @return a string + ## + def resource_scope_id + return @resource_scope_id + end + ## + ## Sets the resourceScopeId property value. The resourceScopeId property + ## @param value Value to set for the resource_scope_id property. + ## @return a void + ## + def resource_scope_id=(value) + @resource_scope_id = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_string_value("actionVerb", @action_verb) + writer.write_string_value("authenticationContextId", @authentication_context_id) + writer.write_string_value("description", @description) + writer.write_boolean_value("isAuthenticationContextSettable", @is_authentication_context_settable) + writer.write_string_value("name", @name) + writer.write_string_value("resourceScopeId", @resource_scope_id) + end + end + end +end diff --git a/lib/models/unified_rbac_resource_action_collection_response.rb b/lib/models/unified_rbac_resource_action_collection_response.rb new file mode 100644 index 0000000000..ec36f22e1c --- /dev/null +++ b/lib/models/unified_rbac_resource_action_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class UnifiedRbacResourceActionCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new UnifiedRbacResourceActionCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a unified_rbac_resource_action_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return UnifiedRbacResourceActionCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a unified_rbac_resource_action + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/unified_rbac_resource_namespace.rb b/lib/models/unified_rbac_resource_namespace.rb new file mode 100644 index 0000000000..3398e05096 --- /dev/null +++ b/lib/models/unified_rbac_resource_namespace.rb @@ -0,0 +1,84 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class UnifiedRbacResourceNamespace < MicrosoftGraph::Models::Entity + include MicrosoftKiotaAbstractions::Parsable + ## + # The name property + @name + ## + # The resourceActions property + @resource_actions + ## + ## Instantiates a new unifiedRbacResourceNamespace and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a unified_rbac_resource_namespace + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return UnifiedRbacResourceNamespace.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "name" => lambda {|n| @name = n.get_string_value() }, + "resourceActions" => lambda {|n| @resource_actions = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the name property value. The name property + ## @return a string + ## + def name + return @name + end + ## + ## Sets the name property value. The name property + ## @param value Value to set for the name property. + ## @return a void + ## + def name=(value) + @name = value + end + ## + ## Gets the resourceActions property value. The resourceActions property + ## @return a unified_rbac_resource_action + ## + def resource_actions + return @resource_actions + end + ## + ## Sets the resourceActions property value. The resourceActions property + ## @param value Value to set for the resource_actions property. + ## @return a void + ## + def resource_actions=(value) + @resource_actions = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_string_value("name", @name) + writer.write_collection_of_object_values("resourceActions", @resource_actions) + end + end + end +end diff --git a/lib/models/unified_rbac_resource_namespace_collection_response.rb b/lib/models/unified_rbac_resource_namespace_collection_response.rb new file mode 100644 index 0000000000..a9d997a928 --- /dev/null +++ b/lib/models/unified_rbac_resource_namespace_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class UnifiedRbacResourceNamespaceCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new UnifiedRbacResourceNamespaceCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a unified_rbac_resource_namespace_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return UnifiedRbacResourceNamespaceCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a unified_rbac_resource_namespace + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/user.rb b/lib/models/user.rb index ba5f348da8..0c0f77fa9b 100644 --- a/lib/models/user.rb +++ b/lib/models/user.rb @@ -332,7 +332,7 @@ class User < MicrosoftGraph::Models::DirectoryObject # Do not use in Microsoft Graph. Manage this property through the Microsoft 365 admin center instead. Represents whether the user should be included in the Outlook global address list. See Known issue. @show_in_address_list ## - # The signInActivity property + # Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.When you specify $select=signInActivity or $filter=signInActivity while listing users, the maximum page size is 120 users. Requests with $top set higher than 120 will fail. Requests with $top set higher than 120 will fail.This property is not returned for a user who has never signed in or last signed in before April 2020. @sign_in_activity ## # Any refresh tokens or sessions tokens (session cookies) issued before this time are invalid, and applications will get an error when using an invalid refresh or sessions token to acquire a delegated access token (to access APIs such as Microsoft Graph). If this happens, the application will need to acquire a new refresh token by making a request to the authorize endpoint. Read-only. Use revokeSignInSessions to reset. Returned only on $select. @@ -2262,14 +2262,14 @@ def show_in_address_list=(value) @show_in_address_list = value end ## - ## Gets the signInActivity property value. The signInActivity property + ## Gets the signInActivity property value. Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.When you specify $select=signInActivity or $filter=signInActivity while listing users, the maximum page size is 120 users. Requests with $top set higher than 120 will fail. Requests with $top set higher than 120 will fail.This property is not returned for a user who has never signed in or last signed in before April 2020. ## @return a sign_in_activity ## def sign_in_activity return @sign_in_activity end ## - ## Sets the signInActivity property value. The signInActivity property + ## Sets the signInActivity property value. Get the last signed-in date and request ID of the sign-in for a given user. Read-only.Returned only on $select. Supports $filter (eq, ne, not, ge, le) but not with any other filterable properties. Note: Details for this property require an Azure AD Premium P1/P2 license and the AuditLog.Read.All permission.When you specify $select=signInActivity or $filter=signInActivity while listing users, the maximum page size is 120 users. Requests with $top set higher than 120 will fail. Requests with $top set higher than 120 will fail.This property is not returned for a user who has never signed in or last signed in before April 2020. ## @param value Value to set for the sign_in_activity property. ## @return a void ## diff --git a/lib/models/user_activity.rb b/lib/models/user_activity.rb index c6cd40ecfa..c66235de66 100644 --- a/lib/models/user_activity.rb +++ b/lib/models/user_activity.rb @@ -110,7 +110,7 @@ def app_display_name=(value) @app_display_name = value end ## - ## Instantiates a new userActivity and sets the default values. + ## Instantiates a new UserActivity and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/user_settings.rb b/lib/models/user_settings.rb index 836af33e23..cc27db59a8 100644 --- a/lib/models/user_settings.rb +++ b/lib/models/user_settings.rb @@ -16,7 +16,7 @@ class UserSettings < MicrosoftGraph::Models::Entity # The shiftPreferences property @shift_preferences ## - ## Instantiates a new userSettings and sets the default values. + ## Instantiates a new UserSettings and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/user_teamwork.rb b/lib/models/user_teamwork.rb index b87ab688c0..740530ea6b 100644 --- a/lib/models/user_teamwork.rb +++ b/lib/models/user_teamwork.rb @@ -28,7 +28,7 @@ def associated_teams=(value) @associated_teams = value end ## - ## Instantiates a new userTeamwork and sets the default values. + ## Instantiates a new UserTeamwork and sets the default values. ## @return a void ## def initialize() diff --git a/lib/models/windows_app_x.rb b/lib/models/windows_app_x.rb new file mode 100644 index 0000000000..5f31c9ace1 --- /dev/null +++ b/lib/models/windows_app_x.rb @@ -0,0 +1,185 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class WindowsAppX < MicrosoftGraph::Models::MobileLobApp + include MicrosoftKiotaAbstractions::Parsable + ## + # Contains properties for Windows architecture. + @applicable_architectures + ## + # The identity name of the uploaded app package. For example: 'Contoso.DemoApp'. + @identity_name + ## + # The identity publisher hash of the uploaded app package. This is the hash of the publisher from the manifest. For example: 'AB82CD0XYZ'. + @identity_publisher_hash + ## + # The identity resource identifier of the uploaded app package. For example: 'TestResourceId'. + @identity_resource_identifier + ## + # The identity version of the uploaded app package. For example: '1.0.0.0'. + @identity_version + ## + # When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE. + @is_bundle + ## + # The minimum operating system required for a Windows mobile app. + @minimum_supported_operating_system + ## + ## Gets the applicableArchitectures property value. Contains properties for Windows architecture. + ## @return a windows_architecture + ## + def applicable_architectures + return @applicable_architectures + end + ## + ## Sets the applicableArchitectures property value. Contains properties for Windows architecture. + ## @param value Value to set for the applicable_architectures property. + ## @return a void + ## + def applicable_architectures=(value) + @applicable_architectures = value + end + ## + ## Instantiates a new WindowsAppX and sets the default values. + ## @return a void + ## + def initialize() + super + @odata_type = "#microsoft.graph.windowsAppX" + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a windows_app_x + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return WindowsAppX.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "applicableArchitectures" => lambda {|n| @applicable_architectures = n.get_enum_value(MicrosoftGraph::Models::WindowsArchitecture) }, + "identityName" => lambda {|n| @identity_name = n.get_string_value() }, + "identityPublisherHash" => lambda {|n| @identity_publisher_hash = n.get_string_value() }, + "identityResourceIdentifier" => lambda {|n| @identity_resource_identifier = n.get_string_value() }, + "identityVersion" => lambda {|n| @identity_version = n.get_string_value() }, + "isBundle" => lambda {|n| @is_bundle = n.get_boolean_value() }, + "minimumSupportedOperatingSystem" => lambda {|n| @minimum_supported_operating_system = n.get_object_value(lambda {|pn| MicrosoftGraph::Models::WindowsMinimumOperatingSystem.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Gets the identityName property value. The identity name of the uploaded app package. For example: 'Contoso.DemoApp'. + ## @return a string + ## + def identity_name + return @identity_name + end + ## + ## Sets the identityName property value. The identity name of the uploaded app package. For example: 'Contoso.DemoApp'. + ## @param value Value to set for the identity_name property. + ## @return a void + ## + def identity_name=(value) + @identity_name = value + end + ## + ## Gets the identityPublisherHash property value. The identity publisher hash of the uploaded app package. This is the hash of the publisher from the manifest. For example: 'AB82CD0XYZ'. + ## @return a string + ## + def identity_publisher_hash + return @identity_publisher_hash + end + ## + ## Sets the identityPublisherHash property value. The identity publisher hash of the uploaded app package. This is the hash of the publisher from the manifest. For example: 'AB82CD0XYZ'. + ## @param value Value to set for the identity_publisher_hash property. + ## @return a void + ## + def identity_publisher_hash=(value) + @identity_publisher_hash = value + end + ## + ## Gets the identityResourceIdentifier property value. The identity resource identifier of the uploaded app package. For example: 'TestResourceId'. + ## @return a string + ## + def identity_resource_identifier + return @identity_resource_identifier + end + ## + ## Sets the identityResourceIdentifier property value. The identity resource identifier of the uploaded app package. For example: 'TestResourceId'. + ## @param value Value to set for the identity_resource_identifier property. + ## @return a void + ## + def identity_resource_identifier=(value) + @identity_resource_identifier = value + end + ## + ## Gets the identityVersion property value. The identity version of the uploaded app package. For example: '1.0.0.0'. + ## @return a string + ## + def identity_version + return @identity_version + end + ## + ## Sets the identityVersion property value. The identity version of the uploaded app package. For example: '1.0.0.0'. + ## @param value Value to set for the identity_version property. + ## @return a void + ## + def identity_version=(value) + @identity_version = value + end + ## + ## Gets the isBundle property value. When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE. + ## @return a boolean + ## + def is_bundle + return @is_bundle + end + ## + ## Sets the isBundle property value. When TRUE, indicates that the app is a bundle. When FALSE, indicates that the app is not a bundle. By default, property is set to FALSE. + ## @param value Value to set for the is_bundle property. + ## @return a void + ## + def is_bundle=(value) + @is_bundle = value + end + ## + ## Gets the minimumSupportedOperatingSystem property value. The minimum operating system required for a Windows mobile app. + ## @return a windows_minimum_operating_system + ## + def minimum_supported_operating_system + return @minimum_supported_operating_system + end + ## + ## Sets the minimumSupportedOperatingSystem property value. The minimum operating system required for a Windows mobile app. + ## @param value Value to set for the minimum_supported_operating_system property. + ## @return a void + ## + def minimum_supported_operating_system=(value) + @minimum_supported_operating_system = value + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_enum_value("applicableArchitectures", @applicable_architectures) + writer.write_string_value("identityName", @identity_name) + writer.write_string_value("identityPublisherHash", @identity_publisher_hash) + writer.write_string_value("identityResourceIdentifier", @identity_resource_identifier) + writer.write_string_value("identityVersion", @identity_version) + writer.write_boolean_value("isBundle", @is_bundle) + writer.write_object_value("minimumSupportedOperatingSystem", @minimum_supported_operating_system) + end + end + end +end diff --git a/lib/models/windows_app_x_app_assignment_settings.rb b/lib/models/windows_app_x_app_assignment_settings.rb index 6b7d692cdd..5dfdbe0a52 100644 --- a/lib/models/windows_app_x_app_assignment_settings.rb +++ b/lib/models/windows_app_x_app_assignment_settings.rb @@ -7,7 +7,7 @@ module Models class WindowsAppXAppAssignmentSettings < MicrosoftGraph::Models::MobileAppAssignmentSettings include MicrosoftKiotaAbstractions::Parsable ## - # Whether or not to use device execution context for Windows AppX mobile app. + # 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. @use_device_context ## ## Instantiates a new WindowsAppXAppAssignmentSettings and sets the default values. @@ -46,14 +46,14 @@ def serialize(writer) writer.write_boolean_value("useDeviceContext", @use_device_context) end ## - ## Gets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + ## 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. ## @return a boolean ## def use_device_context return @use_device_context end ## - ## Sets the useDeviceContext property value. Whether or not to use device execution context for Windows AppX mobile app. + ## 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. ## @param value Value to set for the use_device_context property. ## @return a void ## diff --git a/lib/models/windows_app_x_collection_response.rb b/lib/models/windows_app_x_collection_response.rb new file mode 100644 index 0000000000..1a8397eedc --- /dev/null +++ b/lib/models/windows_app_x_collection_response.rb @@ -0,0 +1,64 @@ +require 'microsoft_kiota_abstractions' +require_relative '../microsoft_graph' +require_relative './models' + +module MicrosoftGraph + module Models + class WindowsAppXCollectionResponse < MicrosoftGraph::Models::BaseCollectionPaginationCountResponse + include MicrosoftKiotaAbstractions::Parsable + ## + # The value property + @value + ## + ## Instantiates a new WindowsAppXCollectionResponse and sets the default values. + ## @return a void + ## + def initialize() + super + end + ## + ## Creates a new instance of the appropriate class based on discriminator value + ## @param parse_node The parse node to use to read the discriminator value and create the object + ## @return a windows_app_x_collection_response + ## + def self.create_from_discriminator_value(parse_node) + raise StandardError, 'parse_node cannot be null' if parse_node.nil? + return WindowsAppXCollectionResponse.new + end + ## + ## The deserialization information for the current model + ## @return a i_dictionary + ## + def get_field_deserializers() + return super.merge({ + "value" => lambda {|n| @value = n.get_collection_of_object_values(lambda {|pn| MicrosoftGraph::Models::WindowsAppX.create_from_discriminator_value(pn) }) }, + }) + end + ## + ## Serializes information the current object + ## @param writer Serialization writer to use to serialize this model + ## @return a void + ## + def serialize(writer) + raise StandardError, 'writer cannot be null' if writer.nil? + super + writer.write_collection_of_object_values("value", @value) + end + ## + ## Gets the value property value. The value property + ## @return a windows_app_x + ## + def value + return @value + end + ## + ## Sets the value property value. The value property + ## @param value Value to set for the value property. + ## @return a void + ## + def value=(value) + @value = value + end + end + end +end diff --git a/lib/models/workbook_range_view.rb b/lib/models/workbook_range_view.rb index d37bd14c84..b0993c7f6f 100644 --- a/lib/models/workbook_range_view.rb +++ b/lib/models/workbook_range_view.rb @@ -73,7 +73,7 @@ def column_count=(value) @column_count = value end ## - ## Instantiates a new WorkbookRangeView and sets the default values. + ## Instantiates a new workbookRangeView and sets the default values. ## @return a void ## def initialize() diff --git a/lib/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.rb b/lib/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.rb index f82382bdcd..cb54fe8f15 100644 --- a/lib/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.rb +++ b/lib/oauth2_permission_grants/item/o_auth2_permission_grant_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/oauth2_permission_grants/oauth2_permission_grants_request_builder.rb b/lib/oauth2_permission_grants/oauth2_permission_grants_request_builder.rb index d4eb94f897..1161309fe6 100644 --- a/lib/oauth2_permission_grants/oauth2_permission_grants_request_builder.rb +++ b/lib/oauth2_permission_grants/oauth2_permission_grants_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/organization/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 80a4db17f3..24a9f833e9 100644 --- a/lib/organization/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/organization/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/get_by_ids/get_by_ids_request_builder.rb b/lib/organization/get_by_ids/get_by_ids_request_builder.rb index 0389094424..9d7a03a306 100644 --- a/lib/organization/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/organization/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/item/branding/background_image/background_image_request_builder.rb b/lib/organization/item/branding/background_image/background_image_request_builder.rb index 884eae4dfe..eb29a950f1 100644 --- a/lib/organization/item/branding/background_image/background_image_request_builder.rb +++ b/lib/organization/item/branding/background_image/background_image_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/branding/banner_logo/banner_logo_request_builder.rb b/lib/organization/item/branding/banner_logo/banner_logo_request_builder.rb index e49b43d9ed..d2a9dddddd 100644 --- a/lib/organization/item/branding/banner_logo/banner_logo_request_builder.rb +++ b/lib/organization/item/branding/banner_logo/banner_logo_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/branding/branding_request_builder.rb b/lib/organization/item/branding/branding_request_builder.rb index e9db7a43a9..817ec54f54 100644 --- a/lib/organization/item/branding/branding_request_builder.rb +++ b/lib/organization/item/branding/branding_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/item/branding/localizations/item/background_image/background_image_request_builder.rb b/lib/organization/item/branding/localizations/item/background_image/background_image_request_builder.rb index bd71f3b7cb..ef7349ca12 100644 --- a/lib/organization/item/branding/localizations/item/background_image/background_image_request_builder.rb +++ b/lib/organization/item/branding/localizations/item/background_image/background_image_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## Image that appears as the background of the sign-in page. The allowed types are PNG or JPEG not smaller than 300 KB and not larger than 1920 × 1080 pixels. A smaller image will reduce bandwidth requirements and make the page load faster. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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. @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.rb b/lib/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.rb index 3af892ee1e..d01499e6b7 100644 --- a/lib/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.rb +++ b/lib/organization/item/branding/localizations/item/banner_logo/banner_logo_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## A banner version of your company logo that appears on the sign-in page. The allowed types are PNG or JPEG no larger than 36 × 245 pixels. We recommend using a transparent image with no padding around the logo. @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.rb b/lib/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.rb index 5c3ad61bbf..69fb160587 100644 --- a/lib/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.rb +++ b/lib/organization/item/branding/localizations/item/organizational_branding_localization_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.rb b/lib/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.rb index 9a4ff88e41..b01e2639ba 100644 --- a/lib/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.rb +++ b/lib/organization/item/branding/localizations/item/square_logo/square_logo_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/branding/localizations/localizations_request_builder.rb b/lib/organization/item/branding/localizations/localizations_request_builder.rb index 91e9a67ebb..7161185935 100644 --- a/lib/organization/item/branding/localizations/localizations_request_builder.rb +++ b/lib/organization/item/branding/localizations/localizations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/item/branding/square_logo/square_logo_request_builder.rb b/lib/organization/item/branding/square_logo/square_logo_request_builder.rb index e8517e6a3a..a242bdc902 100644 --- a/lib/organization/item/branding/square_logo/square_logo_request_builder.rb +++ b/lib/organization/item/branding/square_logo/square_logo_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## 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 no larger than 240 x 240 pixels and no more than 10 KB in size. We recommend using a transparent image with no padding around the logo. @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/organization/item/check_member_groups/check_member_groups_request_builder.rb b/lib/organization/item/check_member_groups/check_member_groups_request_builder.rb index d9260eca75..92974f0ea3 100644 --- a/lib/organization/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/organization/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/item/check_member_objects/check_member_objects_request_builder.rb b/lib/organization/item/check_member_objects/check_member_objects_request_builder.rb index c52435ae62..3adfc4c8da 100644 --- a/lib/organization/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/organization/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/item/extensions/extensions_request_builder.rb b/lib/organization/item/extensions/extensions_request_builder.rb index 7e7779ef66..a4cfde4683 100644 --- a/lib/organization/item/extensions/extensions_request_builder.rb +++ b/lib/organization/item/extensions/extensions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/item/extensions/item/extension_item_request_builder.rb b/lib/organization/item/extensions/item/extension_item_request_builder.rb index 27d1640556..fe0c6e118c 100644 --- a/lib/organization/item/extensions/item/extension_item_request_builder.rb +++ b/lib/organization/item/extensions/item/extension_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/item/get_member_groups/get_member_groups_request_builder.rb b/lib/organization/item/get_member_groups/get_member_groups_request_builder.rb index a5a604bbab..4ef4198ff2 100644 --- a/lib/organization/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/organization/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/item/get_member_objects/get_member_objects_request_builder.rb b/lib/organization/item/get_member_objects/get_member_objects_request_builder.rb index 62778dd812..b8c8fda854 100644 --- a/lib/organization/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/organization/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/organization/item/organization_item_request_builder.rb b/lib/organization/item/organization_item_request_builder.rb index 436a02d119..83c6b95dba 100644 --- a/lib/organization/item/organization_item_request_builder.rb +++ b/lib/organization/item/organization_item_request_builder.rb @@ -194,7 +194,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/organization_request_builder.rb b/lib/organization/organization_request_builder.rb index 9169758711..8c10e4aa50 100644 --- a/lib/organization/organization_request_builder.rb +++ b/lib/organization/organization_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/organization/validate_properties/validate_properties_request_builder.rb b/lib/organization/validate_properties/validate_properties_request_builder.rb index 78576b3099..2895469a9e 100644 --- a/lib/organization/validate_properties/validate_properties_request_builder.rb +++ b/lib/organization/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb index b1054b0e00..4934cbaad3 100644 --- a/lib/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/permission_grants/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/get_by_ids/get_by_ids_request_builder.rb b/lib/permission_grants/get_by_ids/get_by_ids_request_builder.rb index 1a71e538ca..da993f40f3 100644 --- a/lib/permission_grants/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/permission_grants/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb b/lib/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb index 471fe484aa..ad03e4d4b8 100644 --- a/lib/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/permission_grants/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb b/lib/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb index d5b58f1138..63bb4405bc 100644 --- a/lib/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/permission_grants/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb b/lib/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb index 571bcbe610..e8d0c7dbdd 100644 --- a/lib/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/permission_grants/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb b/lib/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb index af4fd0bfb4..b4d1b3828f 100644 --- a/lib/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/permission_grants/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb b/lib/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb index be25198656..6c9336ed6e 100644 --- a/lib/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb +++ b/lib/permission_grants/item/resource_specific_permission_grant_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/permission_grants/permission_grants_request_builder.rb b/lib/permission_grants/permission_grants_request_builder.rb index 769cb4c4b5..14ffbbc1fd 100644 --- a/lib/permission_grants/permission_grants_request_builder.rb +++ b/lib/permission_grants/permission_grants_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/permission_grants/validate_properties/validate_properties_request_builder.rb b/lib/permission_grants/validate_properties/validate_properties_request_builder.rb index 53cad04d57..b83ea0495c 100644 --- a/lib/permission_grants/validate_properties/validate_properties_request_builder.rb +++ b/lib/permission_grants/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/places/item/place_item_request_builder.rb b/lib/places/item/place_item_request_builder.rb index 3b59758413..841ece0811 100644 --- a/lib/places/item/place_item_request_builder.rb +++ b/lib/places/item/place_item_request_builder.rb @@ -90,7 +90,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/planner/buckets/buckets_request_builder.rb b/lib/planner/buckets/buckets_request_builder.rb index e1817d1749..e34fe225e4 100644 --- a/lib/planner/buckets/buckets_request_builder.rb +++ b/lib/planner/buckets/buckets_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/planner_bucket_item_request_builder.rb b/lib/planner/buckets/item/planner_bucket_item_request_builder.rb index caa5be6ad1..2132ce30c7 100644 --- a/lib/planner/buckets/item/planner_bucket_item_request_builder.rb +++ b/lib/planner/buckets/item/planner_bucket_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index 1d576645e7..4cc61c57f5 100644 --- a/lib/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/planner/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 44518fce8c..741d15c471 100644 --- a/lib/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/planner/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/item/details/details_request_builder.rb b/lib/planner/buckets/item/tasks/item/details/details_request_builder.rb index 3ba232fa2b..480d114609 100644 --- a/lib/planner/buckets/item/tasks/item/details/details_request_builder.rb +++ b/lib/planner/buckets/item/tasks/item/details/details_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/item/planner_task_item_request_builder.rb b/lib/planner/buckets/item/tasks/item/planner_task_item_request_builder.rb index 9cb0c973d0..e9629c4b42 100644 --- a/lib/planner/buckets/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/planner/buckets/item/tasks/item/planner_task_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 43d42c807f..354fff346b 100644 --- a/lib/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/planner/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/buckets/item/tasks/tasks_request_builder.rb b/lib/planner/buckets/item/tasks/tasks_request_builder.rb index ec6585780f..6064360b16 100644 --- a/lib/planner/buckets/item/tasks/tasks_request_builder.rb +++ b/lib/planner/buckets/item/tasks/tasks_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/planner_request_builder.rb b/lib/planner/planner_request_builder.rb index 82ed7da20f..068117dfde 100644 --- a/lib/planner/planner_request_builder.rb +++ b/lib/planner/planner_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/buckets_request_builder.rb b/lib/planner/plans/item/buckets/buckets_request_builder.rb index 9792b2ff8f..eb3d9793db 100644 --- a/lib/planner/plans/item/buckets/buckets_request_builder.rb +++ b/lib/planner/plans/item/buckets/buckets_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb b/lib/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb index 45e33c05b6..cdf658f097 100644 --- a/lib/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index bc49c28e01..253232cf02 100644 --- a/lib/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index e1f0fd10cd..042448408e 100644 --- a/lib/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb index d0788ad5f0..3f1e4d0cac 100644 --- a/lib/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb index 10c1711854..b40c264249 100644 --- a/lib/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 3795660c1f..5ed2edc3b1 100644 --- a/lib/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb b/lib/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb index db86e5c245..986a4b7866 100644 --- a/lib/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb +++ b/lib/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/details/details_request_builder.rb b/lib/planner/plans/item/details/details_request_builder.rb index 8d3f06a574..73657318a4 100644 --- a/lib/planner/plans/item/details/details_request_builder.rb +++ b/lib/planner/plans/item/details/details_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/planner_plan_item_request_builder.rb b/lib/planner/plans/item/planner_plan_item_request_builder.rb index ef7141196f..7ee04ff02a 100644 --- a/lib/planner/plans/item/planner_plan_item_request_builder.rb +++ b/lib/planner/plans/item/planner_plan_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index ad1139f262..f436f9ea0f 100644 --- a/lib/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index af09e19a91..8a0318f6f5 100644 --- a/lib/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/item/details/details_request_builder.rb b/lib/planner/plans/item/tasks/item/details/details_request_builder.rb index 9eec518d7b..50222e2325 100644 --- a/lib/planner/plans/item/tasks/item/details/details_request_builder.rb +++ b/lib/planner/plans/item/tasks/item/details/details_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/item/planner_task_item_request_builder.rb b/lib/planner/plans/item/tasks/item/planner_task_item_request_builder.rb index 6cd1d45d18..ac50a77e3d 100644 --- a/lib/planner/plans/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/planner/plans/item/tasks/item/planner_task_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 0f2ff7d82c..626af071b3 100644 --- a/lib/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/item/tasks/tasks_request_builder.rb b/lib/planner/plans/item/tasks/tasks_request_builder.rb index 533ff2c198..57e44f9116 100644 --- a/lib/planner/plans/item/tasks/tasks_request_builder.rb +++ b/lib/planner/plans/item/tasks/tasks_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/plans/plans_request_builder.rb b/lib/planner/plans/plans_request_builder.rb index fdd129d0cf..45e1200dd5 100644 --- a/lib/planner/plans/plans_request_builder.rb +++ b/lib/planner/plans/plans_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index 016494de23..96ddec0dba 100644 --- a/lib/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index 76cce96f38..c13ff3b919 100644 --- a/lib/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/item/details/details_request_builder.rb b/lib/planner/tasks/item/details/details_request_builder.rb index ae935abbe1..1f0464460a 100644 --- a/lib/planner/tasks/item/details/details_request_builder.rb +++ b/lib/planner/tasks/item/details/details_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/item/planner_task_item_request_builder.rb b/lib/planner/tasks/item/planner_task_item_request_builder.rb index 19957d3c5b..fd51d483a0 100644 --- a/lib/planner/tasks/item/planner_task_item_request_builder.rb +++ b/lib/planner/tasks/item/planner_task_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 5fbd46bbf7..eb2a77958d 100644 --- a/lib/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/planner/tasks/tasks_request_builder.rb b/lib/planner/tasks/tasks_request_builder.rb index 207e793164..5cad53c281 100644 --- a/lib/planner/tasks/tasks_request_builder.rb +++ b/lib/planner/tasks/tasks_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.rb b/lib/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.rb index 60a6194506..7e05129e33 100644 --- a/lib/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.rb +++ b/lib/policies/activity_based_timeout_policies/activity_based_timeout_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.rb b/lib/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.rb index efa2bb2496..cdae4aa468 100644 --- a/lib/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.rb +++ b/lib/policies/activity_based_timeout_policies/item/activity_based_timeout_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.rb b/lib/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.rb index ee494798eb..f780eb7ce6 100644 --- a/lib/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.rb +++ b/lib/policies/admin_consent_request_policy/admin_consent_request_policy_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/app_management_policies/app_management_policies_request_builder.rb b/lib/policies/app_management_policies/app_management_policies_request_builder.rb index 8ea5e50596..9316c56636 100644 --- a/lib/policies/app_management_policies/app_management_policies_request_builder.rb +++ b/lib/policies/app_management_policies/app_management_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/app_management_policies/item/app_management_policy_item_request_builder.rb b/lib/policies/app_management_policies/item/app_management_policy_item_request_builder.rb index 236db5e5d6..b08ce74a74 100644 --- a/lib/policies/app_management_policies/item/app_management_policy_item_request_builder.rb +++ b/lib/policies/app_management_policies/item/app_management_policy_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/authentication_flows_policy/authentication_flows_policy_request_builder.rb b/lib/policies/authentication_flows_policy/authentication_flows_policy_request_builder.rb index 1595d125e5..c871181aa1 100644 --- a/lib/policies/authentication_flows_policy/authentication_flows_policy_request_builder.rb +++ b/lib/policies/authentication_flows_policy/authentication_flows_policy_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb b/lib/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb index e705fbb81e..447f2cab38 100644 --- a/lib/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb +++ b/lib/policies/authentication_methods_policy/authentication_method_configurations/authentication_method_configurations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb b/lib/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb index 26e088b294..418a125364 100644 --- a/lib/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb +++ b/lib/policies/authentication_methods_policy/authentication_method_configurations/item/authentication_method_configuration_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/authentication_methods_policy/authentication_methods_policy_request_builder.rb b/lib/policies/authentication_methods_policy/authentication_methods_policy_request_builder.rb index 09c233928b..fc110190c6 100644 --- a/lib/policies/authentication_methods_policy/authentication_methods_policy_request_builder.rb +++ b/lib/policies/authentication_methods_policy/authentication_methods_policy_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/authorization_policy/authorization_policy_request_builder.rb b/lib/policies/authorization_policy/authorization_policy_request_builder.rb index af49fc316b..b4e68933ac 100644 --- a/lib/policies/authorization_policy/authorization_policy_request_builder.rb +++ b/lib/policies/authorization_policy/authorization_policy_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/claims_mapping_policies/claims_mapping_policies_request_builder.rb b/lib/policies/claims_mapping_policies/claims_mapping_policies_request_builder.rb index 6ebab879f0..3dc8d5356d 100644 --- a/lib/policies/claims_mapping_policies/claims_mapping_policies_request_builder.rb +++ b/lib/policies/claims_mapping_policies/claims_mapping_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.rb b/lib/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.rb index 58b99064d2..8800b5355d 100644 --- a/lib/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.rb +++ b/lib/policies/claims_mapping_policies/item/claims_mapping_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/conditional_access_policies/conditional_access_policies_request_builder.rb b/lib/policies/conditional_access_policies/conditional_access_policies_request_builder.rb index 529965fce2..24e664e484 100644 --- a/lib/policies/conditional_access_policies/conditional_access_policies_request_builder.rb +++ b/lib/policies/conditional_access_policies/conditional_access_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.rb b/lib/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.rb index d1a584a0ab..84ce076f52 100644 --- a/lib/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.rb +++ b/lib/policies/conditional_access_policies/item/conditional_access_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.rb b/lib/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.rb index f1a1a87757..ad16777541 100644 --- a/lib/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.rb +++ b/lib/policies/cross_tenant_access_policy/cross_tenant_access_policy_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/cross_tenant_access_policy/default/default_request_builder.rb b/lib/policies/cross_tenant_access_policy/default/default_request_builder.rb index c81571366a..f6cf1c9f29 100644 --- a/lib/policies/cross_tenant_access_policy/default/default_request_builder.rb +++ b/lib/policies/cross_tenant_access_policy/default/default_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.rb b/lib/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.rb index 401bc2fced..9fd79dd45f 100644 --- a/lib/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.rb +++ b/lib/policies/cross_tenant_access_policy/partners/item/cross_tenant_access_policy_configuration_partner_tenant_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/cross_tenant_access_policy/partners/partners_request_builder.rb b/lib/policies/cross_tenant_access_policy/partners/partners_request_builder.rb index 1cc6feddf3..a425bc3aa4 100644 --- a/lib/policies/cross_tenant_access_policy/partners/partners_request_builder.rb +++ b/lib/policies/cross_tenant_access_policy/partners/partners_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/default_app_management_policy/default_app_management_policy_request_builder.rb b/lib/policies/default_app_management_policy/default_app_management_policy_request_builder.rb index fdf6811a29..b133e16a21 100644 --- a/lib/policies/default_app_management_policy/default_app_management_policy_request_builder.rb +++ b/lib/policies/default_app_management_policy/default_app_management_policy_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/feature_rollout_policies/feature_rollout_policies_request_builder.rb b/lib/policies/feature_rollout_policies/feature_rollout_policies_request_builder.rb index 04a562da0d..a5bbb1b01f 100644 --- a/lib/policies/feature_rollout_policies/feature_rollout_policies_request_builder.rb +++ b/lib/policies/feature_rollout_policies/feature_rollout_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.rb b/lib/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.rb index 910c015de7..745ce1709f 100644 --- a/lib/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/applies_to/applies_to_request_builder.rb @@ -127,7 +127,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/feature_rollout_policies/item/applies_to/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/policies/feature_rollout_policies/item/applies_to/get_available_extension_properties/get_available_extension_properties_request_builder.rb index cf1892cafc..d0652c30e3 100644 --- a/lib/policies/feature_rollout_policies/item/applies_to/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/applies_to/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/policies/feature_rollout_policies/item/applies_to/get_by_ids/get_by_ids_request_builder.rb b/lib/policies/feature_rollout_policies/item/applies_to/get_by_ids/get_by_ids_request_builder.rb index 57d703a129..d663644308 100644 --- a/lib/policies/feature_rollout_policies/item/applies_to/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/applies_to/get_by_ids/get_by_ids_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.rb b/lib/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.rb index 73d54c8e6b..3fbf91d736 100644 --- a/lib/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/applies_to/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/feature_rollout_policies/item/applies_to/validate_properties/validate_properties_request_builder.rb b/lib/policies/feature_rollout_policies/item/applies_to/validate_properties/validate_properties_request_builder.rb index 453879e19d..f06cb8f478 100644 --- a/lib/policies/feature_rollout_policies/item/applies_to/validate_properties/validate_properties_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/applies_to/validate_properties/validate_properties_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.rb b/lib/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.rb index 0f6e946f53..45b0768a6c 100644 --- a/lib/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.rb +++ b/lib/policies/feature_rollout_policies/item/feature_rollout_policy_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.rb b/lib/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.rb index 725ea16179..8910b17305 100644 --- a/lib/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.rb +++ b/lib/policies/home_realm_discovery_policies/home_realm_discovery_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.rb b/lib/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.rb index c8dab0fbd1..63b65cfae2 100644 --- a/lib/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.rb +++ b/lib/policies/home_realm_discovery_policies/item/home_realm_discovery_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.rb b/lib/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.rb index 5197c1e29e..f36be8e0b1 100644 --- a/lib/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.rb +++ b/lib/policies/identity_security_defaults_enforcement_policy/identity_security_defaults_enforcement_policy_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/item/excludes/excludes_request_builder.rb b/lib/policies/permission_grant_policies/item/excludes/excludes_request_builder.rb index 52651f1431..9c97ebf567 100644 --- a/lib/policies/permission_grant_policies/item/excludes/excludes_request_builder.rb +++ b/lib/policies/permission_grant_policies/item/excludes/excludes_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.rb b/lib/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.rb index ec0b3e992a..3a0d893392 100644 --- a/lib/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.rb +++ b/lib/policies/permission_grant_policies/item/excludes/item/permission_grant_condition_set_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/item/includes/includes_request_builder.rb b/lib/policies/permission_grant_policies/item/includes/includes_request_builder.rb index e17857c780..6a0abf96c1 100644 --- a/lib/policies/permission_grant_policies/item/includes/includes_request_builder.rb +++ b/lib/policies/permission_grant_policies/item/includes/includes_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.rb b/lib/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.rb index 5098b7962a..9bf5b465aa 100644 --- a/lib/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.rb +++ b/lib/policies/permission_grant_policies/item/includes/item/permission_grant_condition_set_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.rb b/lib/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.rb index 26976c5bf2..b71e361b8d 100644 --- a/lib/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.rb +++ b/lib/policies/permission_grant_policies/item/permission_grant_policy_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/permission_grant_policies/permission_grant_policies_request_builder.rb b/lib/policies/permission_grant_policies/permission_grant_policies_request_builder.rb index 3f3469267a..3d6975aeb8 100644 --- a/lib/policies/permission_grant_policies/permission_grant_policies_request_builder.rb +++ b/lib/policies/permission_grant_policies/permission_grant_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/policies_request_builder.rb b/lib/policies/policies_request_builder.rb index 1bc3f5f4e5..21ef97306b 100644 --- a/lib/policies/policies_request_builder.rb +++ b/lib/policies/policies_request_builder.rb @@ -324,7 +324,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.rb b/lib/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.rb index 5ac9c72e66..713f457212 100644 --- a/lib/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.rb +++ b/lib/policies/role_management_policies/item/effective_rules/effective_rules_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.rb b/lib/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.rb index 609f793cfa..c3c1a13a27 100644 --- a/lib/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.rb +++ b/lib/policies/role_management_policies/item/effective_rules/item/unified_role_management_policy_rule_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.rb b/lib/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.rb index 056210eac5..fbf3c56d0b 100644 --- a/lib/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.rb +++ b/lib/policies/role_management_policies/item/rules/item/unified_role_management_policy_rule_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/item/rules/rules_request_builder.rb b/lib/policies/role_management_policies/item/rules/rules_request_builder.rb index 992b06a908..37d579d584 100644 --- a/lib/policies/role_management_policies/item/rules/rules_request_builder.rb +++ b/lib/policies/role_management_policies/item/rules/rules_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.rb b/lib/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.rb index 013f691be8..d30b28a413 100644 --- a/lib/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.rb +++ b/lib/policies/role_management_policies/item/unified_role_management_policy_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policies/role_management_policies_request_builder.rb b/lib/policies/role_management_policies/role_management_policies_request_builder.rb index 06cce7817a..3ad0bef170 100644 --- a/lib/policies/role_management_policies/role_management_policies_request_builder.rb +++ b/lib/policies/role_management_policies/role_management_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.rb b/lib/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.rb index fa7e63baa9..a35713c439 100644 --- a/lib/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.rb +++ b/lib/policies/role_management_policy_assignments/item/unified_role_management_policy_assignment_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.rb b/lib/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.rb index ba20a1a68d..19cffa7cb5 100644 --- a/lib/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.rb +++ b/lib/policies/role_management_policy_assignments/role_management_policy_assignments_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb b/lib/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb index 818652c9df..f3b1abdafa 100644 --- a/lib/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb +++ b/lib/policies/token_issuance_policies/item/token_issuance_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/token_issuance_policies/token_issuance_policies_request_builder.rb b/lib/policies/token_issuance_policies/token_issuance_policies_request_builder.rb index da18d33975..edf6a07cee 100644 --- a/lib/policies/token_issuance_policies/token_issuance_policies_request_builder.rb +++ b/lib/policies/token_issuance_policies/token_issuance_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.rb b/lib/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.rb index 340159cb45..8826b473d9 100644 --- a/lib/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.rb +++ b/lib/policies/token_lifetime_policies/item/token_lifetime_policy_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/policies/token_lifetime_policies/token_lifetime_policies_request_builder.rb b/lib/policies/token_lifetime_policies/token_lifetime_policies_request_builder.rb index 71955354af..dbe2dcd4e6 100644 --- a/lib/policies/token_lifetime_policies/token_lifetime_policies_request_builder.rb +++ b/lib/policies/token_lifetime_policies/token_lifetime_policies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/connectors/connectors_request_builder.rb b/lib/print/connectors/connectors_request_builder.rb index 37b0453579..3532622bad 100644 --- a/lib/print/connectors/connectors_request_builder.rb +++ b/lib/print/connectors/connectors_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/connectors/item/print_connector_item_request_builder.rb b/lib/print/connectors/item/print_connector_item_request_builder.rb index 56bb0c8c4e..7ed9899390 100644 --- a/lib/print/connectors/item/print_connector_item_request_builder.rb +++ b/lib/print/connectors/item/print_connector_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/operations/item/print_operation_item_request_builder.rb b/lib/print/operations/item/print_operation_item_request_builder.rb index 4e5f7b200b..a782ff44bc 100644 --- a/lib/print/operations/item/print_operation_item_request_builder.rb +++ b/lib/print/operations/item/print_operation_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/operations/operations_request_builder.rb b/lib/print/operations/operations_request_builder.rb index 58dfbc922e..98dc2c3a9a 100644 --- a/lib/print/operations/operations_request_builder.rb +++ b/lib/print/operations/operations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/print_request_builder.rb b/lib/print/print_request_builder.rb index d101fa221b..8bd881cf85 100644 --- a/lib/print/print_request_builder.rb +++ b/lib/print/print_request_builder.rb @@ -192,7 +192,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/printers/create/create_request_builder.rb b/lib/print/printers/create/create_request_builder.rb index 39dd5b369b..93c3766574 100644 --- a/lib/print/printers/create/create_request_builder.rb +++ b/lib/print/printers/create/create_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/print/printers/item/printer_item_request_builder.rb b/lib/print/printers/item/printer_item_request_builder.rb index 245c285135..de7fc180e7 100644 --- a/lib/print/printers/item/printer_item_request_builder.rb +++ b/lib/print/printers/item/printer_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.rb b/lib/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.rb index 88642bf55a..da3a18e35c 100644 --- a/lib/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.rb +++ b/lib/print/printers/item/task_triggers/item/print_task_trigger_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/printers/item/task_triggers/task_triggers_request_builder.rb b/lib/print/printers/item/task_triggers/task_triggers_request_builder.rb index facdb2ed08..5ec2d0b525 100644 --- a/lib/print/printers/item/task_triggers/task_triggers_request_builder.rb +++ b/lib/print/printers/item/task_triggers/task_triggers_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/printers/printers_request_builder.rb b/lib/print/printers/printers_request_builder.rb index 213c63ce2e..8d26b27c26 100644 --- a/lib/print/printers/printers_request_builder.rb +++ b/lib/print/printers/printers_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/services/item/endpoints/endpoints_request_builder.rb b/lib/print/services/item/endpoints/endpoints_request_builder.rb index 2edd0dfa27..473b8cbc64 100644 --- a/lib/print/services/item/endpoints/endpoints_request_builder.rb +++ b/lib/print/services/item/endpoints/endpoints_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.rb b/lib/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.rb index 350ec178d6..d7ff5d0219 100644 --- a/lib/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.rb +++ b/lib/print/services/item/endpoints/item/print_service_endpoint_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/services/item/print_service_item_request_builder.rb b/lib/print/services/item/print_service_item_request_builder.rb index 671b154a4c..0b6b58cbd5 100644 --- a/lib/print/services/item/print_service_item_request_builder.rb +++ b/lib/print/services/item/print_service_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/services/services_request_builder.rb b/lib/print/services/services_request_builder.rb index eda8c72c1c..35202e2202 100644 --- a/lib/print/services/services_request_builder.rb +++ b/lib/print/services/services_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/shares/item/allowed_groups/ref/ref_request_builder.rb b/lib/print/shares/item/allowed_groups/ref/ref_request_builder.rb index de031282b6..faaeee6330 100644 --- a/lib/print/shares/item/allowed_groups/ref/ref_request_builder.rb +++ b/lib/print/shares/item/allowed_groups/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/shares/item/allowed_users/ref/ref_request_builder.rb b/lib/print/shares/item/allowed_users/ref/ref_request_builder.rb index 26beedbefc..cc56df7cc5 100644 --- a/lib/print/shares/item/allowed_users/ref/ref_request_builder.rb +++ b/lib/print/shares/item/allowed_users/ref/ref_request_builder.rb @@ -92,7 +92,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/shares/item/printer_share_item_request_builder.rb b/lib/print/shares/item/printer_share_item_request_builder.rb index afe0965650..a70d5f2235 100644 --- a/lib/print/shares/item/printer_share_item_request_builder.rb +++ b/lib/print/shares/item/printer_share_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/shares/shares_request_builder.rb b/lib/print/shares/shares_request_builder.rb index e0b756ae2c..3eeb99151e 100644 --- a/lib/print/shares/shares_request_builder.rb +++ b/lib/print/shares/shares_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/task_definitions/item/print_task_definition_item_request_builder.rb b/lib/print/task_definitions/item/print_task_definition_item_request_builder.rb index 21d5365b2e..45c8dd03c9 100644 --- a/lib/print/task_definitions/item/print_task_definition_item_request_builder.rb +++ b/lib/print/task_definitions/item/print_task_definition_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/task_definitions/item/tasks/item/print_task_item_request_builder.rb b/lib/print/task_definitions/item/tasks/item/print_task_item_request_builder.rb index 5f9c48f2f7..a8583d61ed 100644 --- a/lib/print/task_definitions/item/tasks/item/print_task_item_request_builder.rb +++ b/lib/print/task_definitions/item/tasks/item/print_task_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/task_definitions/item/tasks/tasks_request_builder.rb b/lib/print/task_definitions/item/tasks/tasks_request_builder.rb index f497e246bc..fe6372f367 100644 --- a/lib/print/task_definitions/item/tasks/tasks_request_builder.rb +++ b/lib/print/task_definitions/item/tasks/tasks_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/print/task_definitions/task_definitions_request_builder.rb b/lib/print/task_definitions/task_definitions_request_builder.rb index 64c36e99ea..4c9fa62ccb 100644 --- a/lib/print/task_definitions/task_definitions_request_builder.rb +++ b/lib/print/task_definitions/task_definitions_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/privacy/privacy_request_builder.rb b/lib/privacy/privacy_request_builder.rb index e57ff3e5be..ef59e46369 100644 --- a/lib/privacy/privacy_request_builder.rb +++ b/lib/privacy/privacy_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.rb b/lib/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.rb index 9f650f599e..5bf5721beb 100644 --- a/lib/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.rb +++ b/lib/privacy/subject_rights_requests/item/notes/item/authored_note_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/privacy/subject_rights_requests/item/notes/notes_request_builder.rb b/lib/privacy/subject_rights_requests/item/notes/notes_request_builder.rb index b68a5c36f9..f8e75fc9d4 100644 --- a/lib/privacy/subject_rights_requests/item/notes/notes_request_builder.rb +++ b/lib/privacy/subject_rights_requests/item/notes/notes_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.rb b/lib/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.rb index 9b57826dd0..44396e2f25 100644 --- a/lib/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.rb +++ b/lib/privacy/subject_rights_requests/item/subject_rights_request_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/privacy/subject_rights_requests/subject_rights_requests_request_builder.rb b/lib/privacy/subject_rights_requests/subject_rights_requests_request_builder.rb index 465d660f54..6d72552633 100644 --- a/lib/privacy/subject_rights_requests/subject_rights_requests_request_builder.rb +++ b/lib/privacy/subject_rights_requests/subject_rights_requests_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.rb b/lib/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.rb index a3378f1a43..9b8255d8c8 100644 --- a/lib/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.rb +++ b/lib/reports/daily_print_usage_by_printer/daily_print_usage_by_printer_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb b/lib/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb index 85d7c6f67a..b2e6fda780 100644 --- a/lib/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb +++ b/lib/reports/daily_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.rb b/lib/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.rb index 366e28383a..4ad9791c32 100644 --- a/lib/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.rb +++ b/lib/reports/daily_print_usage_by_user/daily_print_usage_by_user_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb b/lib/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb index d244d35655..50421b81b9 100644 --- a/lib/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb +++ b/lib/reports/daily_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb b/lib/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb index da7b021ea1..fa318b0889 100644 --- a/lib/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb +++ b/lib/reports/monthly_print_usage_by_printer/item/print_usage_by_printer_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.rb b/lib/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.rb index f1cc25568c..6903bb1148 100644 --- a/lib/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.rb +++ b/lib/reports/monthly_print_usage_by_printer/monthly_print_usage_by_printer_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb b/lib/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb index 9c3698953d..87ad59e41b 100644 --- a/lib/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb +++ b/lib/reports/monthly_print_usage_by_user/item/print_usage_by_user_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.rb b/lib/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.rb index a8633dbf2a..3b713b4d45 100644 --- a/lib/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.rb +++ b/lib/reports/monthly_print_usage_by_user/monthly_print_usage_by_user_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/reports_request_builder.rb b/lib/reports/reports_request_builder.rb index 128ced701b..77f18281e9 100644 --- a/lib/reports/reports_request_builder.rb +++ b/lib/reports/reports_request_builder.rb @@ -1113,7 +1113,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/reports/security/security_request_builder.rb b/lib/reports/security/security_request_builder.rb index 50f18e12ca..70171ca844 100644 --- a/lib/reports/security/security_request_builder.rb +++ b/lib/reports/security/security_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/directory_request_builder.rb b/lib/role_management/directory/directory_request_builder.rb index b0ed28c831..7128fa675d 100644 --- a/lib/role_management/directory/directory_request_builder.rb +++ b/lib/role_management/directory/directory_request_builder.rb @@ -4,6 +4,8 @@ require_relative '../../models/rbac_application' require_relative '../role_management' require_relative './directory' +require_relative './resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder' +require_relative './resource_namespaces/resource_namespaces_request_builder' require_relative './role_assignments/item/unified_role_assignment_item_request_builder' require_relative './role_assignments/role_assignments_request_builder' require_relative './role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder' @@ -28,6 +30,11 @@ module Directory # Provides operations to manage the directory property of the microsoft.graph.roleManagement entity. class DirectoryRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + def resource_namespaces() + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::ResourceNamespacesRequestBuilder.new(@path_parameters, @request_adapter) + end ## # Provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. def role_assignments() @@ -122,6 +129,17 @@ def patch(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::RbacApplication.create_from_discriminator_value(pn) }, error_mapping) end ## + ## Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + ## @param id Unique identifier of the item + ## @return a unified_rbac_resource_namespace_item_request_builder + ## + def resource_namespaces_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["unifiedRbacResourceNamespace%2Did"] = id + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::Item::UnifiedRbacResourceNamespaceItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## ## Provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. ## @param id Unique identifier of the item ## @return a unified_role_assignment_item_request_builder @@ -260,7 +278,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/resource_namespaces/count/count.rb b/lib/role_management/directory/resource_namespaces/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/count/count_request_builder.rb b/lib/role_management/directory/resource_namespaces/count/count_request_builder.rb new file mode 100644 index 0000000000..754037da79 --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/count/count_request_builder.rb @@ -0,0 +1,92 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../role_management' +require_relative '../../directory' +require_relative '../resource_namespaces' +require_relative './count' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/resource_namespaces/item/item.rb b/lib/role_management/directory/resource_namespaces/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/count/count.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.rb new file mode 100644 index 0000000000..3627a9736c --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/item/resource_actions/count/count_request_builder.rb @@ -0,0 +1,98 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../role_management' +require_relative '../../../../directory' +require_relative '../../../resource_namespaces' +require_relative '../../item' +require_relative '../resource_actions' +require_relative './count' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + module Item + module ResourceActions + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/item/item.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb new file mode 100644 index 0000000000..47de1866f8 --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb @@ -0,0 +1,165 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/unified_rbac_resource_action' +require_relative '../../../../../role_management' +require_relative '../../../../directory' +require_relative '../../../resource_namespaces' +require_relative '../../item' +require_relative '../resource_actions' +require_relative './item' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + module Item + module ResourceActions + module Item + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + class UnifiedRbacResourceActionItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new UnifiedRbacResourceActionItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions/{unifiedRbacResourceAction%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property resourceActions for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property resourceActions in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property resourceActions for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property resourceActions in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceActions from roleManagement + class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb b/lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb new file mode 100644 index 0000000000..94d4b67462 --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb @@ -0,0 +1,169 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../models/unified_rbac_resource_action' +require_relative '../../../../../models/unified_rbac_resource_action_collection_response' +require_relative '../../../../role_management' +require_relative '../../../directory' +require_relative '../../resource_namespaces' +require_relative '../item' +require_relative './count/count_request_builder' +require_relative './resource_actions' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + module Item + module ResourceActions + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + class ResourceActionsRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::Item::ResourceActions::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new ResourceActionsRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceActionCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to resourceActions for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to resourceActions for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceActions from roleManagement + class ResourceActionsRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb b/lib/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb new file mode 100644 index 0000000000..619fba155d --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb @@ -0,0 +1,177 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../../models/unified_rbac_resource_namespace' +require_relative '../../../role_management' +require_relative '../../directory' +require_relative '../resource_namespaces' +require_relative './item' +require_relative './resource_actions/item/unified_rbac_resource_action_item_request_builder' +require_relative './resource_actions/resource_actions_request_builder' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + module Item + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + class UnifiedRbacResourceNamespaceItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + def resource_actions() + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::Item::ResourceActions::ResourceActionsRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new UnifiedRbacResourceNamespaceItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property resourceNamespaces for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property resourceNamespaces in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + ## @param id Unique identifier of the item + ## @return a unified_rbac_resource_action_item_request_builder + ## + def resource_actions_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["unifiedRbacResourceAction%2Did"] = id + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::Item::ResourceActions::Item::UnifiedRbacResourceActionItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property resourceNamespaces for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property resourceNamespaces in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceNamespaces from roleManagement + class UnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/resource_namespaces/resource_namespaces.rb b/lib/role_management/directory/resource_namespaces/resource_namespaces.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/directory/resource_namespaces/resource_namespaces_request_builder.rb b/lib/role_management/directory/resource_namespaces/resource_namespaces_request_builder.rb new file mode 100644 index 0000000000..8950621240 --- /dev/null +++ b/lib/role_management/directory/resource_namespaces/resource_namespaces_request_builder.rb @@ -0,0 +1,163 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../microsoft_graph' +require_relative '../../../models/o_data_errors/o_data_error' +require_relative '../../../models/unified_rbac_resource_namespace' +require_relative '../../../models/unified_rbac_resource_namespace_collection_response' +require_relative '../../role_management' +require_relative '../directory' +require_relative './count/count_request_builder' +require_relative './resource_namespaces' + +module MicrosoftGraph + module RoleManagement + module Directory + module ResourceNamespaces + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + class ResourceNamespacesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::RoleManagement::Directory::ResourceNamespaces::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new ResourceNamespacesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/directory/resourceNamespaces{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespaceCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to resourceNamespaces for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to resourceNamespaces for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceNamespaces from roleManagement + class ResourceNamespacesRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end +end diff --git a/lib/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb b/lib/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb index ecff59bf14..46a8455fa4 100644 --- a/lib/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb b/lib/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb index 2fd797e5b0..342c3e5787 100644 --- a/lib/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb b/lib/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb index 1497f06f74..a8519c3d08 100644 --- a/lib/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb b/lib/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb index 01ed53c4d3..ed70136217 100644 --- a/lib/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb b/lib/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb index 09b7c3e501..269d95bc2c 100644 --- a/lib/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.rb b/lib/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.rb index 9413e7c2a1..cad6205f3e 100644 --- a/lib/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.rb +++ b/lib/role_management/directory/role_assignment_schedules/role_assignment_schedules_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.rb b/lib/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.rb index ebb20915ac..5ec6dff10a 100644 --- a/lib/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.rb +++ b/lib/role_management/directory/role_assignments/item/app_scope/app_scope_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.rb b/lib/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.rb index 292fe69e0c..2ac05d31ab 100644 --- a/lib/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.rb +++ b/lib/role_management/directory/role_assignments/item/unified_role_assignment_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_assignments/role_assignments_request_builder.rb b/lib/role_management/directory/role_assignments/role_assignments_request_builder.rb index 0ef62ac58c..6104245484 100644 --- a/lib/role_management/directory/role_assignments/role_assignments_request_builder.rb +++ b/lib/role_management/directory/role_assignments/role_assignments_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb b/lib/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb index 288b075562..cb3460cc24 100644 --- a/lib/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb +++ b/lib/role_management/directory/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb b/lib/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb index aa6b29ebe9..fb0844f96b 100644 --- a/lib/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb +++ b/lib/role_management/directory/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.rb b/lib/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.rb index fbc71ebefd..133d6578bd 100644 --- a/lib/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.rb +++ b/lib/role_management/directory/role_definitions/item/unified_role_definition_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_definitions/role_definitions_request_builder.rb b/lib/role_management/directory/role_definitions/role_definitions_request_builder.rb index 1d3bfcfa93..da9b035ed1 100644 --- a/lib/role_management/directory/role_definitions/role_definitions_request_builder.rb +++ b/lib/role_management/directory/role_definitions/role_definitions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb b/lib/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb index 509ccc883d..1f57592170 100644 --- a/lib/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb b/lib/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb index 5a6590c499..bbd586e3db 100644 --- a/lib/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb b/lib/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb index b9c5a8901a..1d63a50a25 100644 --- a/lib/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb b/lib/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb index 140d1f4240..70197d4ee1 100644 --- a/lib/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb b/lib/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb index 92b05579c7..5cc6887d87 100644 --- a/lib/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb b/lib/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb index e426bbb0e9..e30d198e68 100644 --- a/lib/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb +++ b/lib/role_management/directory/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/entitlement_management_request_builder.rb b/lib/role_management/entitlement_management/entitlement_management_request_builder.rb index d546273aa1..a996389f58 100644 --- a/lib/role_management/entitlement_management/entitlement_management_request_builder.rb +++ b/lib/role_management/entitlement_management/entitlement_management_request_builder.rb @@ -4,6 +4,8 @@ require_relative '../../models/rbac_application' require_relative '../role_management' require_relative './entitlement_management' +require_relative './resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder' +require_relative './resource_namespaces/resource_namespaces_request_builder' require_relative './role_assignments/item/unified_role_assignment_item_request_builder' require_relative './role_assignments/role_assignments_request_builder' require_relative './role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder' @@ -28,6 +30,11 @@ module EntitlementManagement # Provides operations to manage the entitlementManagement property of the microsoft.graph.roleManagement entity. class EntitlementManagementRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + def resource_namespaces() + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::ResourceNamespacesRequestBuilder.new(@path_parameters, @request_adapter) + end ## # Provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. def role_assignments() @@ -122,6 +129,17 @@ def patch(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::RbacApplication.create_from_discriminator_value(pn) }, error_mapping) end ## + ## Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + ## @param id Unique identifier of the item + ## @return a unified_rbac_resource_namespace_item_request_builder + ## + def resource_namespaces_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["unifiedRbacResourceNamespace%2Did"] = id + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::Item::UnifiedRbacResourceNamespaceItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## ## Provides operations to manage the roleAssignments property of the microsoft.graph.rbacApplication entity. ## @param id Unique identifier of the item ## @return a unified_role_assignment_item_request_builder @@ -260,7 +278,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/resource_namespaces/count/count.rb b/lib/role_management/entitlement_management/resource_namespaces/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/count/count_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/count/count_request_builder.rb new file mode 100644 index 0000000000..d0c85d24fb --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/count/count_request_builder.rb @@ -0,0 +1,92 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../role_management' +require_relative '../../entitlement_management' +require_relative '../resource_namespaces' +require_relative './count' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/item.rb b/lib/role_management/entitlement_management/resource_namespaces/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.rb new file mode 100644 index 0000000000..0bb8209423 --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/count/count_request_builder.rb @@ -0,0 +1,98 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../role_management' +require_relative '../../../../entitlement_management' +require_relative '../../../resource_namespaces' +require_relative '../../item' +require_relative '../resource_actions' +require_relative './count' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + module Item + module ResourceActions + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/item.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb new file mode 100644 index 0000000000..82106ca654 --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/item/unified_rbac_resource_action_item_request_builder.rb @@ -0,0 +1,165 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/unified_rbac_resource_action' +require_relative '../../../../../role_management' +require_relative '../../../../entitlement_management' +require_relative '../../../resource_namespaces' +require_relative '../../item' +require_relative '../resource_actions' +require_relative './item' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + module Item + module ResourceActions + module Item + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + class UnifiedRbacResourceActionItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new UnifiedRbacResourceActionItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions/{unifiedRbacResourceAction%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property resourceActions for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property resourceActions in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property resourceActions for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property resourceActions in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceActions from roleManagement + class UnifiedRbacResourceActionItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb new file mode 100644 index 0000000000..3c076f145e --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/item/resource_actions/resource_actions_request_builder.rb @@ -0,0 +1,169 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../models/unified_rbac_resource_action' +require_relative '../../../../../models/unified_rbac_resource_action_collection_response' +require_relative '../../../../role_management' +require_relative '../../../entitlement_management' +require_relative '../../resource_namespaces' +require_relative '../item' +require_relative './count/count_request_builder' +require_relative './resource_actions' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + module Item + module ResourceActions + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + class ResourceActionsRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::Item::ResourceActions::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new ResourceActionsRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}/resourceActions{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceActionCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to resourceActions for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_action + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceAction.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get resourceActions from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to resourceActions for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceActions from roleManagement + class ResourceActionsRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb new file mode 100644 index 0000000000..3d2feadc24 --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/item/unified_rbac_resource_namespace_item_request_builder.rb @@ -0,0 +1,177 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../../models/unified_rbac_resource_namespace' +require_relative '../../../role_management' +require_relative '../../entitlement_management' +require_relative '../resource_namespaces' +require_relative './item' +require_relative './resource_actions/item/unified_rbac_resource_action_item_request_builder' +require_relative './resource_actions/resource_actions_request_builder' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + module Item + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + class UnifiedRbacResourceNamespaceItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + def resource_actions() + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::Item::ResourceActions::ResourceActionsRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new UnifiedRbacResourceNamespaceItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces/{unifiedRbacResourceNamespace%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property resourceNamespaces for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property resourceNamespaces in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the resourceActions property of the microsoft.graph.unifiedRbacResourceNamespace entity. + ## @param id Unique identifier of the item + ## @return a unified_rbac_resource_action_item_request_builder + ## + def resource_actions_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["unifiedRbacResourceAction%2Did"] = id + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::Item::ResourceActions::Item::UnifiedRbacResourceActionItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property resourceNamespaces for roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property resourceNamespaces in roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceNamespaces from roleManagement + class UnifiedRbacResourceNamespaceItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/resource_namespaces/resource_namespaces.rb b/lib/role_management/entitlement_management/resource_namespaces/resource_namespaces.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.rb b/lib/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.rb new file mode 100644 index 0000000000..d53ce58763 --- /dev/null +++ b/lib/role_management/entitlement_management/resource_namespaces/resource_namespaces_request_builder.rb @@ -0,0 +1,163 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../microsoft_graph' +require_relative '../../../models/o_data_errors/o_data_error' +require_relative '../../../models/unified_rbac_resource_namespace' +require_relative '../../../models/unified_rbac_resource_namespace_collection_response' +require_relative '../../role_management' +require_relative '../entitlement_management' +require_relative './count/count_request_builder' +require_relative './resource_namespaces' + +module MicrosoftGraph + module RoleManagement + module EntitlementManagement + module ResourceNamespaces + ## + # Provides operations to manage the resourceNamespaces property of the microsoft.graph.rbacApplication entity. + class ResourceNamespacesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::RoleManagement::EntitlementManagement::ResourceNamespaces::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new ResourceNamespacesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/roleManagement/entitlementManagement/resourceNamespaces{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespaceCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to resourceNamespaces for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of unified_rbac_resource_namespace + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::UnifiedRbacResourceNamespace.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get resourceNamespaces from roleManagement + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to resourceNamespaces for roleManagement + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get resourceNamespaces from roleManagement + class ResourceNamespacesRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end +end diff --git a/lib/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb index 89df0da81e..a59f42c99c 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedule_instances/item/unified_role_assignment_schedule_instance_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb index 356cfefce0..9dcd1db199 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedule_instances/role_assignment_schedule_instances_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb index 077f7e06ef..2c4a411280 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedule_requests/item/unified_role_assignment_schedule_request_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb index 6daf11fdcd..41ae9b7fb4 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedule_requests/role_assignment_schedule_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb index 9415ac121b..75d7317979 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedules/item/unified_role_assignment_schedule_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.rb b/lib/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.rb index b5aeb52ea3..ce22bf73a5 100644 --- a/lib/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignment_schedules/role_assignment_schedules_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.rb b/lib/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.rb index affea0939d..c7cde9dd07 100644 --- a/lib/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignments/item/app_scope/app_scope_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.rb b/lib/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.rb index 3d5c5bd8b7..b20f8b19b7 100644 --- a/lib/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignments/item/unified_role_assignment_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_assignments/role_assignments_request_builder.rb b/lib/role_management/entitlement_management/role_assignments/role_assignments_request_builder.rb index 0575ceae26..63310c3e16 100644 --- a/lib/role_management/entitlement_management/role_assignments/role_assignments_request_builder.rb +++ b/lib/role_management/entitlement_management/role_assignments/role_assignments_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb b/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb index 1c98fa7a1e..4b452e5dc9 100644 --- a/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb +++ b/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/inherits_permissions_from_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb b/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb index 39988a14a0..e6e1ebc4b2 100644 --- a/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_definitions/item/inherits_permissions_from/item/unified_role_definition_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.rb b/lib/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.rb index 9c202cb6a1..0e374fbeb5 100644 --- a/lib/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_definitions/item/unified_role_definition_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_definitions/role_definitions_request_builder.rb b/lib/role_management/entitlement_management/role_definitions/role_definitions_request_builder.rb index 5cc16da713..e6f61c296b 100644 --- a/lib/role_management/entitlement_management/role_definitions/role_definitions_request_builder.rb +++ b/lib/role_management/entitlement_management/role_definitions/role_definitions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb index 183008df7d..9111398c81 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedule_instances/item/unified_role_eligibility_schedule_instance_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb index 9d0ea28cff..67fec38229 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedule_instances/role_eligibility_schedule_instances_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb index d265a5dd99..3c411b7e99 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedule_requests/item/unified_role_eligibility_schedule_request_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb index 78828446aa..4d705f212e 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedule_requests/role_eligibility_schedule_requests_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb index c83bdc8878..41b153a734 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedules/item/unified_role_eligibility_schedule_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb b/lib/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb index 5a116f5c2a..3f7d75a38b 100644 --- a/lib/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb +++ b/lib/role_management/entitlement_management/role_eligibility_schedules/role_eligibility_schedules_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/role_management/role_management_request_builder.rb b/lib/role_management/role_management_request_builder.rb index be722ad166..ce3d188e73 100644 --- a/lib/role_management/role_management_request_builder.rb +++ b/lib/role_management/role_management_request_builder.rb @@ -96,7 +96,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/schema_extensions/item/schema_extension_item_request_builder.rb b/lib/schema_extensions/item/schema_extension_item_request_builder.rb index 44dbe0abaf..66b5691db1 100644 --- a/lib/schema_extensions/item/schema_extension_item_request_builder.rb +++ b/lib/schema_extensions/item/schema_extension_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/schema_extensions/schema_extensions_request_builder.rb b/lib/schema_extensions/schema_extensions_request_builder.rb index fc4cc53891..324dd25f55 100644 --- a/lib/schema_extensions/schema_extensions_request_builder.rb +++ b/lib/schema_extensions/schema_extensions_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/scoped_role_memberships/item/scoped_role_membership_item_request_builder.rb b/lib/scoped_role_memberships/item/scoped_role_membership_item_request_builder.rb index c52cd56768..644b776e3c 100644 --- a/lib/scoped_role_memberships/item/scoped_role_membership_item_request_builder.rb +++ b/lib/scoped_role_memberships/item/scoped_role_membership_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/scoped_role_memberships/scoped_role_memberships_request_builder.rb b/lib/scoped_role_memberships/scoped_role_memberships_request_builder.rb index 8944683c5c..7e55d2e7f7 100644 --- a/lib/scoped_role_memberships/scoped_role_memberships_request_builder.rb +++ b/lib/scoped_role_memberships/scoped_role_memberships_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/search/query/query_request_builder.rb b/lib/search/query/query_request_builder.rb index 5f3810cdf5..7ccd52928c 100644 --- a/lib/search/query/query_request_builder.rb +++ b/lib/search/query/query_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/search/search_request_builder.rb b/lib/search/search_request_builder.rb index 463ef69a73..cd3be55e74 100644 --- a/lib/search/search_request_builder.rb +++ b/lib/search/search_request_builder.rb @@ -90,7 +90,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/alerts/alerts_request_builder.rb b/lib/security/alerts/alerts_request_builder.rb index a2cb1b3945..f44bcfb13a 100644 --- a/lib/security/alerts/alerts_request_builder.rb +++ b/lib/security/alerts/alerts_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/alerts/item/alert_item_request_builder.rb b/lib/security/alerts/item/alert_item_request_builder.rb index 00767382a1..84a0a97192 100644 --- a/lib/security/alerts/item/alert_item_request_builder.rb +++ b/lib/security/alerts/item/alert_item_request_builder.rb @@ -88,7 +88,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/alerts_v2/alerts_v2_request_builder.rb b/lib/security/alerts_v2/alerts_v2_request_builder.rb index d70898ac9e..3ecb4d44b0 100644 --- a/lib/security/alerts_v2/alerts_v2_request_builder.rb +++ b/lib/security/alerts_v2/alerts_v2_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/alerts_v2/item/alert_item_request_builder.rb b/lib/security/alerts_v2/item/alert_item_request_builder.rb index 87b5a82a21..8359c498d2 100644 --- a/lib/security/alerts_v2/item/alert_item_request_builder.rb +++ b/lib/security/alerts_v2/item/alert_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/attack_simulation_request_builder.rb b/lib/security/attack_simulation/attack_simulation_request_builder.rb index 68f129a6ad..8162667cb4 100644 --- a/lib/security/attack_simulation/attack_simulation_request_builder.rb +++ b/lib/security/attack_simulation/attack_simulation_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.rb b/lib/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.rb index 7260cc8b23..8e3afaab0e 100644 --- a/lib/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.rb +++ b/lib/security/attack_simulation/simulation_automations/item/runs/item/simulation_automation_run_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.rb b/lib/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.rb index 9a67fee288..7e5327eeba 100644 --- a/lib/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.rb +++ b/lib/security/attack_simulation/simulation_automations/item/runs/runs_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.rb b/lib/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.rb index 788b70840b..5c7d5fd8fe 100644 --- a/lib/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.rb +++ b/lib/security/attack_simulation/simulation_automations/item/simulation_automation_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulation_automations/simulation_automations_request_builder.rb b/lib/security/attack_simulation/simulation_automations/simulation_automations_request_builder.rb index e5b87c8671..ff9ae00a5f 100644 --- a/lib/security/attack_simulation/simulation_automations/simulation_automations_request_builder.rb +++ b/lib/security/attack_simulation/simulation_automations/simulation_automations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulations/item/simulation_item_request_builder.rb b/lib/security/attack_simulation/simulations/item/simulation_item_request_builder.rb index 209543ab7d..fbac021257 100644 --- a/lib/security/attack_simulation/simulations/item/simulation_item_request_builder.rb +++ b/lib/security/attack_simulation/simulations/item/simulation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/attack_simulation/simulations/simulations_request_builder.rb b/lib/security/attack_simulation/simulations/simulations_request_builder.rb index e5fc963542..cdde355ff9 100644 --- a/lib/security/attack_simulation/simulations/simulations_request_builder.rb +++ b/lib/security/attack_simulation/simulations/simulations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/cases_request_builder.rb b/lib/security/cases/cases_request_builder.rb index 533c8ce43e..2c3ed499c8 100644 --- a/lib/security/cases/cases_request_builder.rb +++ b/lib/security/cases/cases_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/ediscovery_cases_request_builder.rb b/lib/security/cases/ediscovery_cases/ediscovery_cases_request_builder.rb index 0b8aaf46fc..6d1857275f 100644 --- a/lib/security/cases/ediscovery_cases/ediscovery_cases_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/ediscovery_cases_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.rb index 21a948a6f5..3d71cfebe8 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/custodians_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.rb index f6659732f6..9747823456 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/ediscovery_custodian_item_request_builder.rb @@ -192,7 +192,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.rb index fb5689473d..94b756c3b6 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/item/site_source_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.rb index 43c3fac018..e533b9537d 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/site_sources/site_sources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.rb index 06bda73d2c..e8ec94b32e 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/item/unified_group_source_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.rb index 46a55f86dc..1a5a083e1b 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/unified_group_sources/unified_group_sources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.rb index 104796d977..0fe3bba359 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/item/user_source_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.rb index b6536269fd..fc315c14d8 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/item/user_sources/user_sources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/security_apply_hold/security_apply_hold_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/security_apply_hold/security_apply_hold_request_builder.rb index 120f705cc9..ff4d74c389 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/security_apply_hold/security_apply_hold_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/security_apply_hold/security_apply_hold_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/custodians/security_remove_hold/security_remove_hold_request_builder.rb b/lib/security/cases/ediscovery_cases/item/custodians/security_remove_hold/security_remove_hold_request_builder.rb index 1664adfcb6..7f167fa90f 100644 --- a/lib/security/cases/ediscovery_cases/item/custodians/security_remove_hold/security_remove_hold_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/custodians/security_remove_hold/security_remove_hold_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.rb index 7a013f2d56..3623808a4a 100644 --- a/lib/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/ediscovery_case_item_request_builder.rb @@ -246,7 +246,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.rb b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.rb index 84d2a11bad..f3dba49fca 100644 --- a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/data_source/data_source_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.rb index e2a5857827..0028116761 100644 --- a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/item/ediscovery_noncustodial_data_source_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.rb b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.rb index dcb2ae0123..db77a4c211 100644 --- a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/noncustodial_data_sources_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_apply_hold/security_apply_hold_request_builder.rb b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_apply_hold/security_apply_hold_request_builder.rb index 7a57d4dabf..d7b1e89b7c 100644 --- a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_apply_hold/security_apply_hold_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_apply_hold/security_apply_hold_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_remove_hold/security_remove_hold_request_builder.rb b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_remove_hold/security_remove_hold_request_builder.rb index c1a593871d..312c80015c 100644 --- a/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_remove_hold/security_remove_hold_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/noncustodial_data_sources/security_remove_hold/security_remove_hold_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.rb index d0d5dcaef5..61a5582c9b 100644 --- a/lib/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/operations/item/case_operation_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/operations/operations_request_builder.rb b/lib/security/cases/ediscovery_cases/item/operations/operations_request_builder.rb index 9659967a97..d854be8aa1 100644 --- a/lib/security/cases/ediscovery_cases/item/operations/operations_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/operations/operations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.rb index c1693710bf..b1f76fc069 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/item/ediscovery_review_set_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.rb index b0f2625004..73486eebdc 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/ediscovery_review_set_query_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/security_apply_tags/security_apply_tags_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/security_apply_tags/security_apply_tags_request_builder.rb index 51e72e7efb..b418e85ad0 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/security_apply_tags/security_apply_tags_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/item/security_apply_tags/security_apply_tags_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.rb index 633eb7e3cc..93e4553ce8 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/item/queries/queries_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/item/security_add_to_review_set/security_add_to_review_set_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/item/security_add_to_review_set/security_add_to_review_set_request_builder.rb index 232049920d..618803c35e 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/item/security_add_to_review_set/security_add_to_review_set_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/item/security_add_to_review_set/security_add_to_review_set_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.rb b/lib/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.rb index d712dff1a1..604836dea8 100644 --- a/lib/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/review_sets/review_sets_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.rb b/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.rb index e6703fe9cc..2a0db7dac6 100644 --- a/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/additional_sources_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.rb index 70db4904f1..dde8187e6f 100644 --- a/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/searches/item/additional_sources/item/data_source_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.rb index eebdbc16d3..e762275c16 100644 --- a/lib/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/searches/item/ediscovery_search_item_request_builder.rb @@ -202,7 +202,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/searches/item/security_purge_data/security_purge_data_request_builder.rb b/lib/security/cases/ediscovery_cases/item/searches/item/security_purge_data/security_purge_data_request_builder.rb index 542edd4a8a..6cb2afa5bf 100644 --- a/lib/security/cases/ediscovery_cases/item/searches/item/security_purge_data/security_purge_data_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/searches/item/security_purge_data/security_purge_data_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/cases/ediscovery_cases/item/searches/searches_request_builder.rb b/lib/security/cases/ediscovery_cases/item/searches/searches_request_builder.rb index 1f4e1b2974..fc40f20258 100644 --- a/lib/security/cases/ediscovery_cases/item/searches/searches_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/searches/searches_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/settings/settings_request_builder.rb b/lib/security/cases/ediscovery_cases/item/settings/settings_request_builder.rb index 771e2b98d5..79e7012f4c 100644 --- a/lib/security/cases/ediscovery_cases/item/settings/settings_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/settings/settings_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.rb b/lib/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.rb index fe6a6fef4d..2865acd1cd 100644 --- a/lib/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/tags/item/ediscovery_review_tag_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/cases/ediscovery_cases/item/tags/tags_request_builder.rb b/lib/security/cases/ediscovery_cases/item/tags/tags_request_builder.rb index d52cb32aa6..3ec56a28b3 100644 --- a/lib/security/cases/ediscovery_cases/item/tags/tags_request_builder.rb +++ b/lib/security/cases/ediscovery_cases/item/tags/tags_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/incidents/incidents_request_builder.rb b/lib/security/incidents/incidents_request_builder.rb index 465cc1c2d3..57c3db8234 100644 --- a/lib/security/incidents/incidents_request_builder.rb +++ b/lib/security/incidents/incidents_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/incidents/item/incident_item_request_builder.rb b/lib/security/incidents/item/incident_item_request_builder.rb index 53c5e97e02..f251126134 100644 --- a/lib/security/incidents/item/incident_item_request_builder.rb +++ b/lib/security/incidents/item/incident_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.rb b/lib/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.rb index ac4456aeab..818a87aa1d 100644 --- a/lib/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.rb +++ b/lib/security/secure_score_control_profiles/item/secure_score_control_profile_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.rb b/lib/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.rb index ce9bf8d430..dddebdcac3 100644 --- a/lib/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.rb +++ b/lib/security/secure_score_control_profiles/secure_score_control_profiles_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/secure_scores/item/secure_score_item_request_builder.rb b/lib/security/secure_scores/item/secure_score_item_request_builder.rb index 8417e51ab9..a704cf92ec 100644 --- a/lib/security/secure_scores/item/secure_score_item_request_builder.rb +++ b/lib/security/secure_scores/item/secure_score_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/secure_scores/secure_scores_request_builder.rb b/lib/security/secure_scores/secure_scores_request_builder.rb index 4205c1e027..97f274c804 100644 --- a/lib/security/secure_scores/secure_scores_request_builder.rb +++ b/lib/security/secure_scores/secure_scores_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/security_request_builder.rb b/lib/security/security_request_builder.rb index 2d7b0e74c4..3135ab9b03 100644 --- a/lib/security/security_request_builder.rb +++ b/lib/security/security_request_builder.rb @@ -16,6 +16,8 @@ require_relative './secure_scores/secure_scores_request_builder' require_relative './security' require_relative './security_run_hunting_query/security_run_hunting_query_request_builder' +require_relative './triggers/triggers_request_builder' +require_relative './trigger_types/trigger_types_request_builder' module MicrosoftGraph module Security @@ -64,6 +66,16 @@ def security_run_hunting_query() return MicrosoftGraph::Security::SecurityRunHuntingQuery::SecurityRunHuntingQueryRequestBuilder.new(@path_parameters, @request_adapter) end ## + # Provides operations to manage the triggers property of the microsoft.graph.security entity. + def triggers() + return MicrosoftGraph::Security::Triggers::TriggersRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + # Provides operations to manage the triggerTypes property of the microsoft.graph.security entity. + def trigger_types() + return MicrosoftGraph::Security::TriggerTypes::TriggerTypesRequestBuilder.new(@path_parameters, @request_adapter) + end + ## ## Provides operations to manage the alerts property of the microsoft.graph.security entity. ## @param id Unique identifier of the item ## @return a alert_item_request_builder @@ -192,7 +204,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/security/security_run_hunting_query/security_run_hunting_query_request_builder.rb b/lib/security/security_run_hunting_query/security_run_hunting_query_request_builder.rb index d75516fb25..e98093c6ac 100644 --- a/lib/security/security_run_hunting_query/security_run_hunting_query_request_builder.rb +++ b/lib/security/security_run_hunting_query/security_run_hunting_query_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/security/trigger_types/retention_event_types/count/count.rb b/lib/security/trigger_types/retention_event_types/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/trigger_types/retention_event_types/count/count_request_builder.rb b/lib/security/trigger_types/retention_event_types/count/count_request_builder.rb new file mode 100644 index 0000000000..fd16d7cdf5 --- /dev/null +++ b/lib/security/trigger_types/retention_event_types/count/count_request_builder.rb @@ -0,0 +1,92 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../security' +require_relative '../../trigger_types' +require_relative '../retention_event_types' +require_relative './count' + +module MicrosoftGraph + module Security + module TriggerTypes + module RetentionEventTypes + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggerTypes/retentionEventTypes/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/security/trigger_types/retention_event_types/item/item.rb b/lib/security/trigger_types/retention_event_types/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.rb b/lib/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.rb new file mode 100644 index 0000000000..8f174ed2dc --- /dev/null +++ b/lib/security/trigger_types/retention_event_types/item/retention_event_type_item_request_builder.rb @@ -0,0 +1,159 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../../models/security/retention_event_type' +require_relative '../../../security' +require_relative '../../trigger_types' +require_relative '../retention_event_types' +require_relative './item' + +module MicrosoftGraph + module Security + module TriggerTypes + module RetentionEventTypes + module Item + ## + # Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. + class RetentionEventTypeItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new RetentionEventTypeItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggerTypes/retentionEventTypes/{retentionEventType%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property retentionEventTypes for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get retentionEventTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_type + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property retentionEventTypes in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_type + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property retentionEventTypes for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get retentionEventTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property retentionEventTypes in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get retentionEventTypes from security + class RetentionEventTypeItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/security/trigger_types/retention_event_types/retention_event_types.rb b/lib/security/trigger_types/retention_event_types/retention_event_types.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/trigger_types/retention_event_types/retention_event_types_request_builder.rb b/lib/security/trigger_types/retention_event_types/retention_event_types_request_builder.rb new file mode 100644 index 0000000000..fd5d918753 --- /dev/null +++ b/lib/security/trigger_types/retention_event_types/retention_event_types_request_builder.rb @@ -0,0 +1,163 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../microsoft_graph' +require_relative '../../../models/o_data_errors/o_data_error' +require_relative '../../../models/security/retention_event_type' +require_relative '../../../models/security/retention_event_type_collection_response' +require_relative '../../security' +require_relative '../trigger_types' +require_relative './count/count_request_builder' +require_relative './retention_event_types' + +module MicrosoftGraph + module Security + module TriggerTypes + module RetentionEventTypes + ## + # Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. + class RetentionEventTypesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::Security::TriggerTypes::RetentionEventTypes::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new RetentionEventTypesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggerTypes/retentionEventTypes{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get retentionEventTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_type_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventTypeCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to retentionEventTypes for security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_type + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get retentionEventTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to retentionEventTypes for security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get retentionEventTypes from security + class RetentionEventTypesRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end +end diff --git a/lib/security/trigger_types/trigger_types.rb b/lib/security/trigger_types/trigger_types.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/trigger_types/trigger_types_request_builder.rb b/lib/security/trigger_types/trigger_types_request_builder.rb new file mode 100644 index 0000000000..8ef091cf5e --- /dev/null +++ b/lib/security/trigger_types/trigger_types_request_builder.rb @@ -0,0 +1,171 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../../models/o_data_errors/o_data_error' +require_relative '../../models/security/trigger_types_root' +require_relative '../security' +require_relative './retention_event_types/item/retention_event_type_item_request_builder' +require_relative './retention_event_types/retention_event_types_request_builder' +require_relative './trigger_types' + +module MicrosoftGraph + module Security + module TriggerTypes + ## + # Provides operations to manage the triggerTypes property of the microsoft.graph.security entity. + class TriggerTypesRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. + def retention_event_types() + return MicrosoftGraph::Security::TriggerTypes::RetentionEventTypes::RetentionEventTypesRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new TriggerTypesRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggerTypes{?%24select,%24expand}") + end + ## + ## Delete navigation property triggerTypes for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get triggerTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of trigger_types_root + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::TriggerTypesRoot.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property triggerTypes in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of trigger_types_root + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::TriggerTypesRoot.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity. + ## @param id Unique identifier of the item + ## @return a retention_event_type_item_request_builder + ## + def retention_event_types_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["retentionEventType%2Did"] = id + return MicrosoftGraph::Security::TriggerTypes::RetentionEventTypes::Item::RetentionEventTypeItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property triggerTypes for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get triggerTypes from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property triggerTypes in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get triggerTypes from security + class TriggerTypesRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end +end diff --git a/lib/security/triggers/retention_events/count/count.rb b/lib/security/triggers/retention_events/count/count.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/triggers/retention_events/count/count_request_builder.rb b/lib/security/triggers/retention_events/count/count_request_builder.rb new file mode 100644 index 0000000000..18f3c09612 --- /dev/null +++ b/lib/security/triggers/retention_events/count/count_request_builder.rb @@ -0,0 +1,92 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../security' +require_relative '../../triggers' +require_relative '../retention_events' +require_relative './count' + +module MicrosoftGraph + module Security + module Triggers + module RetentionEvents + module Count + ## + # Provides operations to count the resources in the collection. + class CountRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new CountRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggers/retentionEvents/$count{?%24search,%24filter}") + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of integer + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, number, error_mapping) + end + ## + ## Get the number of the resource + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'text/plain') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Get the number of the resource + class CountRequestBuilderGetQueryParameters + + ## + # Filter items by property values + attr_accessor :filter + ## + # Search items by search phrases + attr_accessor :search + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "filter" + return "%24filter" + when "search" + return "%24search" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/security/triggers/retention_events/item/item.rb b/lib/security/triggers/retention_events/item/item.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/triggers/retention_events/item/retention_event_item_request_builder.rb b/lib/security/triggers/retention_events/item/retention_event_item_request_builder.rb new file mode 100644 index 0000000000..3ff3f95344 --- /dev/null +++ b/lib/security/triggers/retention_events/item/retention_event_item_request_builder.rb @@ -0,0 +1,165 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../microsoft_graph' +require_relative '../../../../models/o_data_errors/o_data_error' +require_relative '../../../../models/security/retention_event' +require_relative '../../../security' +require_relative '../../triggers' +require_relative '../retention_events' +require_relative './item' +require_relative './retention_event_type/retention_event_type_request_builder' + +module MicrosoftGraph + module Security + module Triggers + module RetentionEvents + module Item + ## + # Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. + class RetentionEventItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the retentionEventType property of the microsoft.graph.security.retentionEvent entity. + def retention_event_type() + return MicrosoftGraph::Security::Triggers::RetentionEvents::Item::RetentionEventType::RetentionEventTypeRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new RetentionEventItemRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggers/retentionEvents/{retentionEvent%2Did}{?%24select,%24expand}") + end + ## + ## Delete navigation property retentionEvents for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get retentionEvents from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEvent.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property retentionEvents in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEvent.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Delete navigation property retentionEvents for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get retentionEvents from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property retentionEvents in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get retentionEvents from security + class RetentionEventItemRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end +end diff --git a/lib/security/triggers/retention_events/item/retention_event_type/retention_event_type.rb b/lib/security/triggers/retention_events/item/retention_event_type/retention_event_type.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.rb b/lib/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.rb new file mode 100644 index 0000000000..4b5c85d1ba --- /dev/null +++ b/lib/security/triggers/retention_events/item/retention_event_type/retention_event_type_request_builder.rb @@ -0,0 +1,96 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../models/security/retention_event_type' +require_relative '../../../../security' +require_relative '../../../triggers' +require_relative '../../retention_events' +require_relative '../item' +require_relative './retention_event_type' + +module MicrosoftGraph + module Security + module Triggers + module RetentionEvents + module Item + module RetentionEventType + ## + # Provides operations to manage the retentionEventType property of the microsoft.graph.security.retentionEvent entity. + class RetentionEventTypeRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new RetentionEventTypeRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggers/retentionEvents/{retentionEvent%2Did}/retentionEventType{?%24select,%24expand}") + end + ## + ## Specifies the event that will start the retention period for labels that use this event type when an event is created. + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_type + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventType.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Specifies the event that will start the retention period for labels that use this event type when an event is created. + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + + ## + # Specifies the event that will start the retention period for labels that use this event type when an event is created. + class RetentionEventTypeRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end + end + end + end +end diff --git a/lib/security/triggers/retention_events/retention_events.rb b/lib/security/triggers/retention_events/retention_events.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/triggers/retention_events/retention_events_request_builder.rb b/lib/security/triggers/retention_events/retention_events_request_builder.rb new file mode 100644 index 0000000000..f3e37388e3 --- /dev/null +++ b/lib/security/triggers/retention_events/retention_events_request_builder.rb @@ -0,0 +1,163 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../microsoft_graph' +require_relative '../../../models/o_data_errors/o_data_error' +require_relative '../../../models/security/retention_event' +require_relative '../../../models/security/retention_event_collection_response' +require_relative '../../security' +require_relative '../triggers' +require_relative './count/count_request_builder' +require_relative './retention_events' + +module MicrosoftGraph + module Security + module Triggers + module RetentionEvents + ## + # Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. + class RetentionEventsRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to count the resources in the collection. + def count() + return MicrosoftGraph::Security::Triggers::RetentionEvents::Count::CountRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new RetentionEventsRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggers/retentionEvents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + end + ## + ## Get retentionEvents from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event_collection_response + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Create new navigation property to retentionEvents for security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of retention_event + ## + def post(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_post_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::RetentionEvent.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Get retentionEvents from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Create new navigation property to retentionEvents for security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_post_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :POST + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get retentionEvents from security + class RetentionEventsRequestBuilderGetQueryParameters + + ## + # Include count of items + attr_accessor :count + ## + # Expand related entities + attr_accessor :expand + ## + # Filter items by property values + attr_accessor :filter + ## + # Order items by property values + attr_accessor :orderby + ## + # Search items by search phrases + attr_accessor :search + ## + # Select properties to be returned + attr_accessor :select + ## + # Skip the first n items + attr_accessor :skip + ## + # Show only the first n items + attr_accessor :top + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "count" + return "%24count" + when "expand" + return "%24expand" + when "filter" + return "%24filter" + when "orderby" + return "%24orderby" + when "search" + return "%24search" + when "select" + return "%24select" + when "skip" + return "%24skip" + when "top" + return "%24top" + else + return original_name + end + end + end + end + end + end + end +end diff --git a/lib/security/triggers/triggers.rb b/lib/security/triggers/triggers.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/security/triggers/triggers_request_builder.rb b/lib/security/triggers/triggers_request_builder.rb new file mode 100644 index 0000000000..acdb4b19f1 --- /dev/null +++ b/lib/security/triggers/triggers_request_builder.rb @@ -0,0 +1,171 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../microsoft_graph' +require_relative '../../models/o_data_errors/o_data_error' +require_relative '../../models/security/triggers_root' +require_relative '../security' +require_relative './retention_events/item/retention_event_item_request_builder' +require_relative './retention_events/retention_events_request_builder' +require_relative './triggers' + +module MicrosoftGraph + module Security + module Triggers + ## + # Provides operations to manage the triggers property of the microsoft.graph.security entity. + class TriggersRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + # Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. + def retention_events() + return MicrosoftGraph::Security::Triggers::RetentionEvents::RetentionEventsRequestBuilder.new(@path_parameters, @request_adapter) + end + ## + ## Instantiates a new TriggersRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/security/triggers{?%24select,%24expand}") + end + ## + ## Delete navigation property triggers for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## + ## Get triggers from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of triggers_root + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::TriggersRoot.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Update the navigation property triggers in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of triggers_root + ## + def patch(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_patch_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Security::TriggersRoot.create_from_discriminator_value(pn) }, error_mapping) + end + ## + ## Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity. + ## @param id Unique identifier of the item + ## @return a retention_event_item_request_builder + ## + def retention_events_by_id(id) + raise StandardError, 'id cannot be null' if id.nil? + url_tpl_params = @path_parameters.clone + url_tpl_params["retentionEvent%2Did"] = id + return MicrosoftGraph::Security::Triggers::RetentionEvents::Item::RetentionEventItemRequestBuilder.new(url_tpl_params, @request_adapter) + end + ## + ## Delete navigation property triggers for security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Get triggers from security + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.set_query_string_parameters_from_raw_object(request_configuration.query_parameters) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update the navigation property triggers in security + ## @param body The request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_patch_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PATCH + request_info.headers.add('Accept', 'application/json') + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "application/json", body) + return request_info + end + + ## + # Get triggers from security + class TriggersRequestBuilderGetQueryParameters + + ## + # Expand related entities + attr_accessor :expand + ## + # Select properties to be returned + attr_accessor :select + ## + ## Maps the query parameters names to their encoded names for the URI template parsing. + ## @param original_name The original query parameter name in the class. + ## @return a string + ## + def get_query_parameter(original_name) + raise StandardError, 'original_name cannot be null' if original_name.nil? + case original_name + when "expand" + return "%24expand" + when "select" + return "%24select" + else + return original_name + end + end + end + end + end + end +end diff --git a/lib/service_principals/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/service_principals/get_available_extension_properties/get_available_extension_properties_request_builder.rb index 0773471292..97342660cd 100644 --- a/lib/service_principals/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/service_principals/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/get_by_ids/get_by_ids_request_builder.rb b/lib/service_principals/get_by_ids/get_by_ids_request_builder.rb index 44bd7c7c13..521e2ca6cc 100644 --- a/lib/service_principals/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/service_principals/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/add_key/add_key_request_builder.rb b/lib/service_principals/item/add_key/add_key_request_builder.rb index c3f89bab80..c869b6efb9 100644 --- a/lib/service_principals/item/add_key/add_key_request_builder.rb +++ b/lib/service_principals/item/add_key/add_key_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/add_password/add_password_request_builder.rb b/lib/service_principals/item/add_password/add_password_request_builder.rb index 26c57109eb..6fbeafce1c 100644 --- a/lib/service_principals/item/add_password/add_password_request_builder.rb +++ b/lib/service_principals/item/add_password/add_password_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.rb b/lib/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.rb index 2bd29c2f3c..adf7f9e0b0 100644 --- a/lib/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.rb +++ b/lib/service_principals/item/add_token_signing_certificate/add_token_signing_certificate_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.rb b/lib/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.rb index 0c193af2e1..34e088ab3b 100644 --- a/lib/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.rb +++ b/lib/service_principals/item/app_role_assigned_to/app_role_assigned_to_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.rb b/lib/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.rb index f403bfa4ae..45a96cbd63 100644 --- a/lib/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.rb +++ b/lib/service_principals/item/app_role_assigned_to/item/app_role_assignment_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/app_role_assignments/app_role_assignments_request_builder.rb b/lib/service_principals/item/app_role_assignments/app_role_assignments_request_builder.rb index 886234d7e5..af65e23b41 100644 --- a/lib/service_principals/item/app_role_assignments/app_role_assignments_request_builder.rb +++ b/lib/service_principals/item/app_role_assignments/app_role_assignments_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb b/lib/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb index 84ba37f14e..ba2ba981ed 100644 --- a/lib/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb +++ b/lib/service_principals/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/check_member_groups/check_member_groups_request_builder.rb b/lib/service_principals/item/check_member_groups/check_member_groups_request_builder.rb index 3040ff0b90..44ca3214fb 100644 --- a/lib/service_principals/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/service_principals/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/check_member_objects/check_member_objects_request_builder.rb b/lib/service_principals/item/check_member_objects/check_member_objects_request_builder.rb index 112a280e3c..fc5cfa703f 100644 --- a/lib/service_principals/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/service_principals/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/claims_mapping_policies/ref/ref_request_builder.rb b/lib/service_principals/item/claims_mapping_policies/ref/ref_request_builder.rb index 73a1e9e681..9b3783cc65 100644 --- a/lib/service_principals/item/claims_mapping_policies/ref/ref_request_builder.rb +++ b/lib/service_principals/item/claims_mapping_policies/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.rb b/lib/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.rb index 515ba70fd2..ae8ff27184 100644 --- a/lib/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.rb +++ b/lib/service_principals/item/delegated_permission_classifications/delegated_permission_classifications_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.rb b/lib/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.rb index be46ac4165..3852c4935b 100644 --- a/lib/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.rb +++ b/lib/service_principals/item/delegated_permission_classifications/item/delegated_permission_classification_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/endpoints/endpoints_request_builder.rb b/lib/service_principals/item/endpoints/endpoints_request_builder.rb index 8d22a1cb7e..72289ed71e 100644 --- a/lib/service_principals/item/endpoints/endpoints_request_builder.rb +++ b/lib/service_principals/item/endpoints/endpoints_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/endpoints/item/endpoint_item_request_builder.rb b/lib/service_principals/item/endpoints/item/endpoint_item_request_builder.rb index cdbedfe7e5..f751d7cad6 100644 --- a/lib/service_principals/item/endpoints/item/endpoint_item_request_builder.rb +++ b/lib/service_principals/item/endpoints/item/endpoint_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb b/lib/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb index aeb85a89fa..f7201f972c 100644 --- a/lib/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb +++ b/lib/service_principals/item/federated_identity_credentials/federated_identity_credentials_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb b/lib/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb index 2ea8a296db..4816d41691 100644 --- a/lib/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb +++ b/lib/service_principals/item/federated_identity_credentials/item/federated_identity_credential_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/get_member_groups/get_member_groups_request_builder.rb b/lib/service_principals/item/get_member_groups/get_member_groups_request_builder.rb index ffd21389f4..dba5894c7e 100644 --- a/lib/service_principals/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/service_principals/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/get_member_objects/get_member_objects_request_builder.rb b/lib/service_principals/item/get_member_objects/get_member_objects_request_builder.rb index cb71915ca3..bffd0e2b63 100644 --- a/lib/service_principals/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/service_principals/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.rb b/lib/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.rb index 7e10f830f3..67a8dd6a79 100644 --- a/lib/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.rb +++ b/lib/service_principals/item/home_realm_discovery_policies/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/owners/ref/ref_request_builder.rb b/lib/service_principals/item/owners/ref/ref_request_builder.rb index a6c009a768..faa02fee08 100644 --- a/lib/service_principals/item/owners/ref/ref_request_builder.rb +++ b/lib/service_principals/item/owners/ref/ref_request_builder.rb @@ -90,7 +90,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/item/remove_key/remove_key_request_builder.rb b/lib/service_principals/item/remove_key/remove_key_request_builder.rb index 0de60091aa..ea259edab2 100644 --- a/lib/service_principals/item/remove_key/remove_key_request_builder.rb +++ b/lib/service_principals/item/remove_key/remove_key_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/remove_password/remove_password_request_builder.rb b/lib/service_principals/item/remove_password/remove_password_request_builder.rb index 6696d4d926..f30548a987 100644 --- a/lib/service_principals/item/remove_password/remove_password_request_builder.rb +++ b/lib/service_principals/item/remove_password/remove_password_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/service_principals/item/service_principal_item_request_builder.rb b/lib/service_principals/item/service_principal_item_request_builder.rb index a599fe235c..1ac11e3c7d 100644 --- a/lib/service_principals/item/service_principal_item_request_builder.rb +++ b/lib/service_principals/item/service_principal_item_request_builder.rb @@ -453,7 +453,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/service_principals/service_principals_request_builder.rb b/lib/service_principals/service_principals_request_builder.rb index 2199612d8e..a6844b9dc0 100644 --- a/lib/service_principals/service_principals_request_builder.rb +++ b/lib/service_principals/service_principals_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/service_principals/validate_properties/validate_properties_request_builder.rb b/lib/service_principals/validate_properties/validate_properties_request_builder.rb index 5226fb293a..c8e64b384d 100644 --- a/lib/service_principals/validate_properties/validate_properties_request_builder.rb +++ b/lib/service_principals/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/drive_item/content/content_request_builder.rb b/lib/shares/item/drive_item/content/content_request_builder.rb index d8acb1492b..741b86a05e 100644 --- a/lib/shares/item/drive_item/content/content_request_builder.rb +++ b/lib/shares/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../microsoft_graph' +require_relative '../../../../models/drive_item' require_relative '../../../../models/o_data_errors/o_data_error' require_relative '../../../shares' require_relative '../../item' @@ -42,7 +43,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +53,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -82,11 +83,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/shares/item/items/item/content/content_request_builder.rb b/lib/shares/item/items/item/content/content_request_builder.rb index 07f5d5b34c..dcfba70399 100644 --- a/lib/shares/item/items/item/content/content_request_builder.rb +++ b/lib/shares/item/items/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../shares' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/shares/item/list/columns/columns_request_builder.rb b/lib/shares/item/list/columns/columns_request_builder.rb index 7e3de05313..17a769687e 100644 --- a/lib/shares/item/list/columns/columns_request_builder.rb +++ b/lib/shares/item/list/columns/columns_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/columns/item/column_definition_item_request_builder.rb b/lib/shares/item/list/columns/item/column_definition_item_request_builder.rb index be91226213..e4fa608992 100644 --- a/lib/shares/item/list/columns/item/column_definition_item_request_builder.rb +++ b/lib/shares/item/list/columns/item/column_definition_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/add_copy/add_copy_request_builder.rb b/lib/shares/item/list/content_types/add_copy/add_copy_request_builder.rb index 7189b71dc8..0e8d14058e 100644 --- a/lib/shares/item/list/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/shares/item/list/content_types/add_copy/add_copy_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/shares/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index 66db1e00d2..61e99a9ae3 100644 --- a/lib/shares/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/shares/item/list/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/list/content_types/content_types_request_builder.rb b/lib/shares/item/list/content_types/content_types_request_builder.rb index 8fc88ce205..eb99f879d1 100644 --- a/lib/shares/item/list/content_types/content_types_request_builder.rb +++ b/lib/shares/item/list/content_types/content_types_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/shares/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index c2dd76eb8e..022956736b 100644 --- a/lib/shares/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/shares/item/list/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/list/content_types/item/column_links/column_links_request_builder.rb b/lib/shares/item/list/content_types/item/column_links/column_links_request_builder.rb index 0c1a50c4a5..5abae14145 100644 --- a/lib/shares/item/list/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/shares/item/list/content_types/item/column_links/column_links_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/shares/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb index 8fa1e22cae..ab7845c246 100644 --- a/lib/shares/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/shares/item/list/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/columns/columns_request_builder.rb b/lib/shares/item/list/content_types/item/columns/columns_request_builder.rb index aab9e8dc52..30f59fd9a4 100644 --- a/lib/shares/item/list/content_types/item/columns/columns_request_builder.rb +++ b/lib/shares/item/list/content_types/item/columns/columns_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/shares/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb index 3f660b9186..2ce6d1fc71 100644 --- a/lib/shares/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/shares/item/list/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/content_type_item_request_builder.rb b/lib/shares/item/list/content_types/item/content_type_item_request_builder.rb index 923c2108c4..709ee35b40 100644 --- a/lib/shares/item/list/content_types/item/content_type_item_request_builder.rb +++ b/lib/shares/item/list/content_types/item/content_type_item_request_builder.rb @@ -230,7 +230,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/shares/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index 28a4fa7665..8fd769a707 100644 --- a/lib/shares/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/shares/item/list/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb b/lib/shares/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb index 2431b3f4f7..f43ad255a0 100644 --- a/lib/shares/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb +++ b/lib/shares/item/list/items/item/document_set_versions/document_set_versions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb b/lib/shares/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb index 172cea3121..e697a1fd6e 100644 --- a/lib/shares/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb +++ b/lib/shares/item/list/items/item/document_set_versions/item/document_set_version_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/item/drive_item/content/content_request_builder.rb b/lib/shares/item/list/items/item/drive_item/content/content_request_builder.rb index c20e45b69c..92f134fc7b 100644 --- a/lib/shares/item/list/items/item/drive_item/content/content_request_builder.rb +++ b/lib/shares/item/list/items/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../shares' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/shares/item/list/items/item/fields/fields_request_builder.rb b/lib/shares/item/list/items/item/fields/fields_request_builder.rb index 1fa215440f..f366d59f59 100644 --- a/lib/shares/item/list/items/item/fields/fields_request_builder.rb +++ b/lib/shares/item/list/items/item/fields/fields_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/item/list_item_item_request_builder.rb b/lib/shares/item/list/items/item/list_item_item_request_builder.rb index 867be7a516..6d0222debe 100644 --- a/lib/shares/item/list/items/item/list_item_item_request_builder.rb +++ b/lib/shares/item/list/items/item/list_item_item_request_builder.rb @@ -185,7 +185,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/shares/item/list/items/item/versions/item/fields/fields_request_builder.rb b/lib/shares/item/list/items/item/versions/item/fields/fields_request_builder.rb index 819f889ade..059f306b59 100644 --- a/lib/shares/item/list/items/item/versions/item/fields/fields_request_builder.rb +++ b/lib/shares/item/list/items/item/versions/item/fields/fields_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/item/versions/item/list_item_version_item_request_builder.rb b/lib/shares/item/list/items/item/versions/item/list_item_version_item_request_builder.rb index 4ecbc7705f..7408b8da57 100644 --- a/lib/shares/item/list/items/item/versions/item/list_item_version_item_request_builder.rb +++ b/lib/shares/item/list/items/item/versions/item/list_item_version_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/item/versions/versions_request_builder.rb b/lib/shares/item/list/items/item/versions/versions_request_builder.rb index 27affcfcb4..b9024bb5c6 100644 --- a/lib/shares/item/list/items/item/versions/versions_request_builder.rb +++ b/lib/shares/item/list/items/item/versions/versions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/items/items_request_builder.rb b/lib/shares/item/list/items/items_request_builder.rb index cf4a9cff22..0e3de678af 100644 --- a/lib/shares/item/list/items/items_request_builder.rb +++ b/lib/shares/item/list/items/items_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/list_request_builder.rb b/lib/shares/item/list/list_request_builder.rb index 3349ef77c1..ac89c10ec7 100644 --- a/lib/shares/item/list/list_request_builder.rb +++ b/lib/shares/item/list/list_request_builder.rb @@ -214,7 +214,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/shares/item/list/operations/item/rich_long_running_operation_item_request_builder.rb index 00781bf6cd..45b7159e04 100644 --- a/lib/shares/item/list/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/shares/item/list/operations/item/rich_long_running_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/operations/operations_request_builder.rb b/lib/shares/item/list/operations/operations_request_builder.rb index bdd6fcb915..b7f132afa8 100644 --- a/lib/shares/item/list/operations/operations_request_builder.rb +++ b/lib/shares/item/list/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/subscriptions/item/subscription_item_request_builder.rb b/lib/shares/item/list/subscriptions/item/subscription_item_request_builder.rb index 6e3bebab5c..1ce853f5db 100644 --- a/lib/shares/item/list/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/shares/item/list/subscriptions/item/subscription_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/list/subscriptions/subscriptions_request_builder.rb b/lib/shares/item/list/subscriptions/subscriptions_request_builder.rb index 8ba6a921c6..7b4488e0ea 100644 --- a/lib/shares/item/list/subscriptions/subscriptions_request_builder.rb +++ b/lib/shares/item/list/subscriptions/subscriptions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/permission/grant/grant_request_builder.rb b/lib/shares/item/permission/grant/grant_request_builder.rb index a3ae912e44..ad161fc361 100644 --- a/lib/shares/item/permission/grant/grant_request_builder.rb +++ b/lib/shares/item/permission/grant/grant_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/shares/item/permission/permission_request_builder.rb b/lib/shares/item/permission/permission_request_builder.rb index 142a3ff205..bd00685f4b 100644 --- a/lib/shares/item/permission/permission_request_builder.rb +++ b/lib/shares/item/permission/permission_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/item/root/content/content_request_builder.rb b/lib/shares/item/root/content/content_request_builder.rb index 5a47c775e1..1376eef467 100644 --- a/lib/shares/item/root/content/content_request_builder.rb +++ b/lib/shares/item/root/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../microsoft_graph' +require_relative '../../../../models/drive_item' require_relative '../../../../models/o_data_errors/o_data_error' require_relative '../../../shares' require_relative '../../item' @@ -42,7 +43,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +53,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -82,11 +83,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/shares/item/shared_drive_item_item_request_builder.rb b/lib/shares/item/shared_drive_item_item_request_builder.rb index 6fc7e22cb7..80d4c4b96a 100644 --- a/lib/shares/item/shared_drive_item_item_request_builder.rb +++ b/lib/shares/item/shared_drive_item_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/shares/shares_request_builder.rb b/lib/shares/shares_request_builder.rb index ab361830b1..8dd902a1c1 100644 --- a/lib/shares/shares_request_builder.rb +++ b/lib/shares/shares_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/add/add_request_builder.rb b/lib/sites/add/add_request_builder.rb index 7282291413..4d523e680c 100644 --- a/lib/sites/add/add_request_builder.rb +++ b/lib/sites/add/add_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/columns/columns_request_builder.rb b/lib/sites/item/columns/columns_request_builder.rb index 22bf7e9255..d06ed09bff 100644 --- a/lib/sites/item/columns/columns_request_builder.rb +++ b/lib/sites/item/columns/columns_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/columns/item/column_definition_item_request_builder.rb b/lib/sites/item/columns/item/column_definition_item_request_builder.rb index 2283ee45b7..a25fd82c25 100644 --- a/lib/sites/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/sites/item/columns/item/column_definition_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/add_copy/add_copy_request_builder.rb b/lib/sites/item/content_types/add_copy/add_copy_request_builder.rb index 711a3ec32f..19a7fe26b2 100644 --- a/lib/sites/item/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/sites/item/content_types/add_copy/add_copy_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index c41276576c..777c6f93d4 100644 --- a/lib/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/sites/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/content_types/content_types_request_builder.rb b/lib/sites/item/content_types/content_types_request_builder.rb index 2a636a61ac..2934212467 100644 --- a/lib/sites/item/content_types/content_types_request_builder.rb +++ b/lib/sites/item/content_types/content_types_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index 84627e5fe9..9f8fb7a147 100644 --- a/lib/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/sites/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/content_types/item/column_links/column_links_request_builder.rb b/lib/sites/item/content_types/item/column_links/column_links_request_builder.rb index 8f8927d8e6..f9ce8bd94c 100644 --- a/lib/sites/item/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/sites/item/content_types/item/column_links/column_links_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb index 6bd6ca21b1..7e814decd7 100644 --- a/lib/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/sites/item/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/columns/columns_request_builder.rb b/lib/sites/item/content_types/item/columns/columns_request_builder.rb index 9bd235ae9d..ffa20b44e6 100644 --- a/lib/sites/item/content_types/item/columns/columns_request_builder.rb +++ b/lib/sites/item/content_types/item/columns/columns_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb index 99855472c4..b33b83ff4f 100644 --- a/lib/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/sites/item/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/content_type_item_request_builder.rb b/lib/sites/item/content_types/item/content_type_item_request_builder.rb index 2b914075a3..68b55cfd65 100644 --- a/lib/sites/item/content_types/item/content_type_item_request_builder.rb +++ b/lib/sites/item/content_types/item/content_type_item_request_builder.rb @@ -228,7 +228,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index dd51408ef8..8e94a08452 100644 --- a/lib/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/sites/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/lists/item/columns/columns_request_builder.rb b/lib/sites/item/lists/item/columns/columns_request_builder.rb index 7b0c9495bf..2559dec439 100644 --- a/lib/sites/item/lists/item/columns/columns_request_builder.rb +++ b/lib/sites/item/lists/item/columns/columns_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb b/lib/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb index 9b309d93be..8e80c25418 100644 --- a/lib/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/sites/item/lists/item/columns/item/column_definition_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb b/lib/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb index adde0887d7..6310291503 100644 --- a/lib/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/add_copy/add_copy_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb b/lib/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb index 354a9e7ac8..40a77246d2 100644 --- a/lib/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/add_copy_from_content_type_hub/add_copy_from_content_type_hub_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/lists/item/content_types/content_types_request_builder.rb b/lib/sites/item/lists/item/content_types/content_types_request_builder.rb index 69180ea69f..c75ee18c56 100644 --- a/lib/sites/item/lists/item/content_types/content_types_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/content_types_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb b/lib/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb index 5ac24df795..2beffd34c3 100644 --- a/lib/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/associate_with_hub_sites/associate_with_hub_sites_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb b/lib/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb index 62fe3fb734..bdbc6c3aea 100644 --- a/lib/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/column_links/column_links_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb b/lib/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb index 1f24ed9700..ae6378b1e2 100644 --- a/lib/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/column_links/item/column_link_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb b/lib/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb index c7a2808bfd..bb27ae56d8 100644 --- a/lib/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/columns/columns_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb b/lib/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb index 369f1fa1a0..34ad8ba838 100644 --- a/lib/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/columns/item/column_definition_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb b/lib/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb index 9e56adeefe..deb8bd1726 100644 --- a/lib/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/content_type_item_request_builder.rb @@ -232,7 +232,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb b/lib/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb index 6b861942de..a737bd87c5 100644 --- a/lib/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb +++ b/lib/sites/item/lists/item/content_types/item/copy_to_default_content_location/copy_to_default_content_location_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb b/lib/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb index 2db0dda60b..2c1a2e6b96 100644 --- a/lib/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/document_set_versions/document_set_versions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb b/lib/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb index 8362ffb270..d6c8887614 100644 --- a/lib/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/document_set_versions/item/document_set_version_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb b/lib/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb index 47f4920168..bc5d966fb8 100644 --- a/lib/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/drive_item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../models/drive_item' require_relative '../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../sites' require_relative '../../../../../../item' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/lists/item/items/item/fields/fields_request_builder.rb b/lib/sites/item/lists/item/items/item/fields/fields_request_builder.rb index 643a198bdb..1a4b05aeff 100644 --- a/lib/sites/item/lists/item/items/item/fields/fields_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/fields/fields_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/item/list_item_item_request_builder.rb b/lib/sites/item/lists/item/items/item/list_item_item_request_builder.rb index 0e9e64ae1a..74eb2c3d68 100644 --- a/lib/sites/item/lists/item/items/item/list_item_item_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/list_item_item_request_builder.rb @@ -187,7 +187,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb b/lib/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb index db33790377..642eeb2f90 100644 --- a/lib/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/versions/item/fields/fields_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb b/lib/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb index 35fbc17b64..9fae40e1d8 100644 --- a/lib/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/versions/item/list_item_version_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/item/versions/versions_request_builder.rb b/lib/sites/item/lists/item/items/item/versions/versions_request_builder.rb index d323605189..baf307802c 100644 --- a/lib/sites/item/lists/item/items/item/versions/versions_request_builder.rb +++ b/lib/sites/item/lists/item/items/item/versions/versions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/items/items_request_builder.rb b/lib/sites/item/lists/item/items/items_request_builder.rb index c757ef510c..c5ea92f31c 100644 --- a/lib/sites/item/lists/item/items/items_request_builder.rb +++ b/lib/sites/item/lists/item/items/items_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/list_item_request_builder.rb b/lib/sites/item/lists/item/list_item_request_builder.rb index 0b20eda32e..0127131063 100644 --- a/lib/sites/item/lists/item/list_item_request_builder.rb +++ b/lib/sites/item/lists/item/list_item_request_builder.rb @@ -216,7 +216,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb index 517f97b3f2..f3f9212811 100644 --- a/lib/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/sites/item/lists/item/operations/item/rich_long_running_operation_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/operations/operations_request_builder.rb b/lib/sites/item/lists/item/operations/operations_request_builder.rb index 7572025f74..b98c66baeb 100644 --- a/lib/sites/item/lists/item/operations/operations_request_builder.rb +++ b/lib/sites/item/lists/item/operations/operations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb b/lib/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb index 68e324d241..92e9520492 100644 --- a/lib/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/sites/item/lists/item/subscriptions/item/subscription_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb b/lib/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb index 20dc8345a1..d4aafc1582 100644 --- a/lib/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb +++ b/lib/sites/item/lists/item/subscriptions/subscriptions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/lists/lists_request_builder.rb b/lib/sites/item/lists/lists_request_builder.rb index de644359c4..e090c0666d 100644 --- a/lib/sites/item/lists/lists_request_builder.rb +++ b/lib/sites/item/lists/lists_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb b/lib/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb index 4ce552256d..0cccf28303 100644 --- a/lib/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb b/lib/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb index 4d00e0bdd5..cbd56d4cbc 100644 --- a/lib/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb index 0842495546..cb9b2ce3ac 100644 --- a/lib/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/notebook_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb index 8ea077dd9e..5dc16c3209 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 6dd50cdd3f..3c41acf93d 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 36c3411199..d3a9c48925 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb index 9dc5519ca0..5b36966e10 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index 47361f5de7..5e44c558c7 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../sites' require_relative '../../../../../../../../../../item' require_relative '../../../../../../../../../onenote' @@ -58,7 +59,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -68,7 +69,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -98,11 +99,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index bd1468a8c2..b72a7a4c5a 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index aed872a125..fdecc9873f 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 8231b46d0a..e0201f34f8 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb index ee0709b00e..91362a1410 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb index 3c5466a8e6..8acca3c7ed 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb b/lib/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb index a6cf45d29f..84f55c62f1 100644 --- a/lib/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 18a0c576da..eb4b68ba2a 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index d140b7ca5b..85cbcfd0b0 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb index 78c3e751f7..982cdf4f1e 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb index c5e813cfaf..99ee63d4e6 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../sites' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index a0fbe6e918..4e2b182a0a 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb index dd9d066737..fc2abf8fe9 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index f52641f207..c3b303be6e 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb index 61edeb8191..be78f3c5a5 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb b/lib/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb index 78f8507766..9dbad2756f 100644 --- a/lib/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/notebooks/notebooks_request_builder.rb b/lib/sites/item/onenote/notebooks/notebooks_request_builder.rb index d45f589011..a3ef622a24 100644 --- a/lib/sites/item/onenote/notebooks/notebooks_request_builder.rb +++ b/lib/sites/item/onenote/notebooks/notebooks_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/onenote_request_builder.rb b/lib/sites/item/onenote/onenote_request_builder.rb index 6d5fcf23c4..a3c335c966 100644 --- a/lib/sites/item/onenote/onenote_request_builder.rb +++ b/lib/sites/item/onenote/onenote_request_builder.rb @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb b/lib/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb index 0145943fd6..c60972965a 100644 --- a/lib/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb +++ b/lib/sites/item/onenote/operations/item/onenote_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/operations/operations_request_builder.rb b/lib/sites/item/onenote/operations/operations_request_builder.rb index 5f5a64ca02..ac9a10341c 100644 --- a/lib/sites/item/onenote/operations/operations_request_builder.rb +++ b/lib/sites/item/onenote/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/pages/item/content/content_request_builder.rb b/lib/sites/item/onenote/pages/item/content/content_request_builder.rb index 5628e9e469..15f6fd183c 100644 --- a/lib/sites/item/onenote/pages/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_page' require_relative '../../../../../sites' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb index db51777d99..76e1d0ecf4 100644 --- a/lib/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/sites/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb b/lib/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb index 04f5e206f5..3986339b1b 100644 --- a/lib/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb +++ b/lib/sites/item/onenote/pages/item/onenote_page_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 6284f74a28..769e1c836f 100644 --- a/lib/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/sites/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/pages/pages_request_builder.rb b/lib/sites/item/onenote/pages/pages_request_builder.rb index 6e8c9fdfed..55b591389e 100644 --- a/lib/sites/item/onenote/pages/pages_request_builder.rb +++ b/lib/sites/item/onenote/pages/pages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/resources/item/content/content_request_builder.rb b/lib/sites/item/onenote/resources/item/content/content_request_builder.rb index 056b9f2038..1322fe7396 100644 --- a/lib/sites/item/onenote/resources/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/resources/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_resource' require_relative '../../../../../sites' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_resource ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenoteResource.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb b/lib/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb index 13603d27dd..06c3c85e7f 100644 --- a/lib/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb +++ b/lib/sites/item/onenote/resources/item/onenote_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/resources/resources_request_builder.rb b/lib/sites/item/onenote/resources/resources_request_builder.rb index ab1cb32dca..6d08352150 100644 --- a/lib/sites/item/onenote/resources/resources_request_builder.rb +++ b/lib/sites/item/onenote/resources/resources_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb b/lib/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb index 99a7b6497b..8480047bf5 100644 --- a/lib/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/section_group_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index c2d3e308b2..7b8dcefbf0 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 323c0059a5..10c413308b 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb index 4c905e178b..939b151a62 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index fb8d1b7900..ce43463103 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../sites' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 8174ca755f..56ae041951 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index 10564f1510..f563337ff0 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 043ecb19b3..3afb864aea 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb index d40466236b..1ebead8ad6 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb b/lib/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb index cdaaeb10de..212233efeb 100644 --- a/lib/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/section_groups/section_groups_request_builder.rb b/lib/sites/item/onenote/section_groups/section_groups_request_builder.rb index e1565299e7..005d55cbfe 100644 --- a/lib/sites/item/onenote/section_groups/section_groups_request_builder.rb +++ b/lib/sites/item/onenote/section_groups/section_groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 196bb02f9e..a717786474 100644 --- a/lib/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 8bced71ef0..fa3f316b28 100644 --- a/lib/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb b/lib/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb index 69deb1e644..cf7b8791a3 100644 --- a/lib/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/onenote_section_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb b/lib/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb index 66c9ff88d3..6de6599b88 100644 --- a/lib/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../models/onenote_page' require_relative '../../../../../../../sites' require_relative '../../../../../../item' require_relative '../../../../../onenote' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 731ea39e9f..e36a8e9f44 100644 --- a/lib/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb index 2280becf9f..b5db73bea4 100644 --- a/lib/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 32b1ca5a50..f0593a4589 100644 --- a/lib/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/onenote/sections/item/pages/pages_request_builder.rb b/lib/sites/item/onenote/sections/item/pages/pages_request_builder.rb index e33133279f..a5b0f6d6b3 100644 --- a/lib/sites/item/onenote/sections/item/pages/pages_request_builder.rb +++ b/lib/sites/item/onenote/sections/item/pages/pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/onenote/sections/sections_request_builder.rb b/lib/sites/item/onenote/sections/sections_request_builder.rb index 706ac8c61a..fd6cb63b4d 100644 --- a/lib/sites/item/onenote/sections/sections_request_builder.rb +++ b/lib/sites/item/onenote/sections/sections_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb b/lib/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb index f6ec9b93b2..21c628ae68 100644 --- a/lib/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb +++ b/lib/sites/item/operations/item/rich_long_running_operation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/operations/operations_request_builder.rb b/lib/sites/item/operations/operations_request_builder.rb index 4bed3e7443..5b27d272ab 100644 --- a/lib/sites/item/operations/operations_request_builder.rb +++ b/lib/sites/item/operations/operations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/permissions/item/grant/grant_request_builder.rb b/lib/sites/item/permissions/item/grant/grant_request_builder.rb index 6e90cc6372..c433a007d2 100644 --- a/lib/sites/item/permissions/item/grant/grant_request_builder.rb +++ b/lib/sites/item/permissions/item/grant/grant_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/sites/item/permissions/item/permission_item_request_builder.rb b/lib/sites/item/permissions/item/permission_item_request_builder.rb index 6f2f89dc8f..ffcc8417a4 100644 --- a/lib/sites/item/permissions/item/permission_item_request_builder.rb +++ b/lib/sites/item/permissions/item/permission_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/permissions/permissions_request_builder.rb b/lib/sites/item/permissions/permissions_request_builder.rb index 1cf00042b9..5ed3943c4b 100644 --- a/lib/sites/item/permissions/permissions_request_builder.rb +++ b/lib/sites/item/permissions/permissions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/site_item_request_builder.rb b/lib/sites/item/site_item_request_builder.rb index 1f7e456599..dc4d61c1da 100644 --- a/lib/sites/item/site_item_request_builder.rb +++ b/lib/sites/item/site_item_request_builder.rb @@ -330,7 +330,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/groups_request_builder.rb b/lib/sites/item/term_store/groups/groups_request_builder.rb index cd38a10e98..3664e30c26 100644 --- a/lib/sites/item/term_store/groups/groups_request_builder.rb +++ b/lib/sites/item/term_store/groups/groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/group_item_request_builder.rb b/lib/sites/item/term_store/groups/item/group_item_request_builder.rb index 373b2c736a..2ef1ecad5b 100644 --- a/lib/sites/item/term_store/groups/item/group_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/group_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb index b4f45e1ddb..8242bf4a8e 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/children_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb index 60d3b2aa5a..f006b9a92b 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index e3516161dd..f61f0c01e6 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index 791f9b7a01..d11e62dc47 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb index e12c2fbb0d..c72c844b2f 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index 0ecde40926..7d5a3bcc41 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb index b13750cd6d..6ff32ab1ee 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb index 59c1065a53..e2f423aec8 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/children/item/term_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb index 33ba3d5ba5..8a26f5c956 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/parent_group/parent_group_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb index e53ea08394..4c3c05267f 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/relations/item/relation_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb index 2f07117a42..b310008fe0 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/relations/relations_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb index fbf5a09d35..99d795dd23 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/set_item_request_builder.rb @@ -186,7 +186,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb index 97647c7a4c..f304e6ebe4 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index bcf34a7463..d7ab3413a6 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 704668a05e..cbd727b09b 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb index af2c4e6255..48de423acd 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index b0e6c57972..29ae56a3b2 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb index b7efde4180..2f9af551d5 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb index 5d4f2500e1..9ca3269d5c 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/item/term_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb index 0f783aab81..9373800942 100644 --- a/lib/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/item/terms/terms_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/groups/item/sets/sets_request_builder.rb b/lib/sites/item/term_store/groups/item/sets/sets_request_builder.rb index bdd4b3d0d5..cc0a8dea1a 100644 --- a/lib/sites/item/term_store/groups/item/sets/sets_request_builder.rb +++ b/lib/sites/item/term_store/groups/item/sets/sets_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/children/children_request_builder.rb index 4f2faa79bf..8d5510f1c1 100644 --- a/lib/sites/item/term_store/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/children_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb index 11769047be..3339e4bfd7 100644 --- a/lib/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/children/children_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index df2ee71ac6..d61ce293ec 100644 --- a/lib/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb index ecb809e6a5..bba8173045 100644 --- a/lib/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb index c55fc3aa43..88ce70dbcc 100644 --- a/lib/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/children/item/term_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb index efa362ec64..7511a90689 100644 --- a/lib/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb index 066563d50e..54ad9872b6 100644 --- a/lib/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/relations/relations_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb index c3d474b7e4..0336c2c57b 100644 --- a/lib/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/children/item/term_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb index f1ae11fcfe..80f5c40668 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/parent_group_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb index aa3f202a62..440375d3f8 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/children_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb index ff4143b112..6935549ccb 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index d09b40692e..d02598a17e 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb index a6211810f1..9d7ad4bbc1 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb index 73485d004a..9482ad4187 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb index 38401328c9..ed4b8d007d 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb index 52b8e3f7b5..c7695a749e 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb index ccfc4443c9..386396ea06 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb index 3dd8443095..a527a203c6 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb index fbf81b1753..7d271d5ac0 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/relations/relations_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb index 806463ac39..cf078cda4e 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/set_item_request_builder.rb @@ -182,7 +182,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb index 0332a3bd75..2f19a14fc0 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 76bc1b24b3..d4f08841b0 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb index a90de38359..0d03a52318 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb index 774a091d72..ef62a82398 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 2cc1c47e9a..a0272b9d57 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb index bebbc3141a..abd0b284d8 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb index 590d3aea9c..59c1be234d 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb index 94d6de78f8..3ed705445b 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/item/terms/terms_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb b/lib/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb index e147b5facc..4bbd09db7d 100644 --- a/lib/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/parent_group/sets/sets_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb index 99588ab262..53388c7a84 100644 --- a/lib/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/relations/item/relation_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/relations/relations_request_builder.rb index d486483c82..4d221204e2 100644 --- a/lib/sites/item/term_store/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/relations/relations_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/set_item_request_builder.rb b/lib/sites/item/term_store/sets/item/set_item_request_builder.rb index 85893dc57e..dbf507b56f 100644 --- a/lib/sites/item/term_store/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/set_item_request_builder.rb @@ -182,7 +182,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb index bdfaedc661..87e24df584 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/children/children_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index e3dc2f0ee7..e28f24b9cb 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb index c3da1812d3..02eb371548 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb index 3a34265269..962071a066 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 92dbe6f250..d4f08a88b5 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -148,7 +148,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb index b5a0fb22c0..d71bf5aeb1 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/relations/relations_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb index 82f22b03d1..925632e57f 100644 --- a/lib/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/item/term_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_store/sets/item/terms/terms_request_builder.rb index 50716d96b4..4869d49428 100644 --- a/lib/sites/item/term_store/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_store/sets/item/terms/terms_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/sets/sets_request_builder.rb b/lib/sites/item/term_store/sets/sets_request_builder.rb index a29ccb1dcf..532c544496 100644 --- a/lib/sites/item/term_store/sets/sets_request_builder.rb +++ b/lib/sites/item/term_store/sets/sets_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_store/term_store_request_builder.rb b/lib/sites/item/term_store/term_store_request_builder.rb index b9c6e417eb..de9a8b0611 100644 --- a/lib/sites/item/term_store/term_store_request_builder.rb +++ b/lib/sites/item/term_store/term_store_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/groups_request_builder.rb b/lib/sites/item/term_stores/item/groups/groups_request_builder.rb index 564cc70c2a..7679c1dff1 100644 --- a/lib/sites/item/term_stores/item/groups/groups_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/groups_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/group_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/group_item_request_builder.rb index fee8ba1e42..ce98a73f62 100644 --- a/lib/sites/item/term_stores/item/groups/item/group_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/group_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb index 0b44c1cb79..5ad1cd3611 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/children_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb index 63c5e9341b..a2acf578c3 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index 33dfa44b1d..ff2a4bd604 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index 1617f67ed6..392e5b2b8e 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb index a0fc176ab6..2531dc80f5 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index 9b64d30880..0edd6ddec4 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb index 103aaafab3..c5d16a8f69 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb index b417be8fc1..a42712c3bc 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/children/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb index 605cf1959e..65f3234aba 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/parent_group/parent_group_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb index b1e419ac94..d44086dd6d 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/relations/item/relation_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb index 311c92fd30..6367e274eb 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/relations/relations_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb index 54f3625950..83e39414c7 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/set_item_request_builder.rb @@ -188,7 +188,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb index 98473a7e49..3bfaaee0e6 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/children_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 71e48bd8db..27497c2654 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 818652ef4b..228f75eff8 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb index 9d098a2782..2fcc2268e8 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 502d6f8925..b4c4ab8bb0 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb index 6d3cb2cd8b..4c5e3151ed 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb index 297a1579d5..ee295cb145 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/item/term_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb index 23a4c26cec..34b70bf32d 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/item/terms/terms_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb b/lib/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb index 3b601a053a..8a1c7da74a 100644 --- a/lib/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb +++ b/lib/sites/item/term_stores/item/groups/item/sets/sets_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/children_request_builder.rb index 8ff91a0da3..be9dd72530 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/children_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb index fbfe1d96e2..66d5b5db06 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/children/children_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index d16d869642..130a730cc8 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb index 892b150b71..26542cad67 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb index 3511252968..1931196a82 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/children/item/term_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb index 2b45d78489..e3a79e845e 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb index aaf2fff55a..7e02a772b9 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/relations/relations_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb index 7b8a05bfea..de12f10d9d 100644 --- a/lib/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/children/item/term_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb index 475d542ce7..f0323dad3d 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/parent_group_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb index a88822c800..0bdc29fd7b 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/children_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb index 8d8a941988..2bef9386e2 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/children_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb index e3f907f045..4ce9f546da 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb index 73b46fb11c..917f53cbab 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb index 8c3a3b98f3..4b6fd96a58 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/children/item/term_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb index 5e2d5b9630..3d14fdf33b 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb index a68276c129..37137bc5bd 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb index 69ba96fd07..150d16f477 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/children/item/term_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb index 66edabd3c4..c77e56f408 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/item/relation_item_request_builder.rb @@ -152,7 +152,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb index 213c4aa2d7..65d3c4f1e4 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/relations/relations_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb index bcc0688e95..aebecb0d54 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/set_item_request_builder.rb @@ -184,7 +184,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb index 05d7a1b527..12838a17e6 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/children_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 06a0e60a4e..d620fd825f 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb index ff2cceb703..76f0e1631f 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb index 5ee157ccde..33c6f6941b 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 105b163c56..9aec4c08e6 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb index 202a18ce59..6fc76a9ee0 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/relations/relations_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb index d894e39c16..e8e5954a18 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/item/term_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb index a4d6558d53..940028ea3e 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/item/terms/terms_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb index 7f1dfed09f..004f10c447 100644 --- a/lib/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/parent_group/sets/sets_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb index 31ac61ac07..6e7df1fbf0 100644 --- a/lib/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/relations/item/relation_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb index 36a1142e2a..8372774bc1 100644 --- a/lib/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/relations/relations_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/set_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/set_item_request_builder.rb index 9f644b08d0..cb5fe7e0c4 100644 --- a/lib/sites/item/term_stores/item/sets/item/set_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/set_item_request_builder.rb @@ -184,7 +184,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb index 32515cd1c1..e5937342ce 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/children/children_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb index 65c2710485..13011d3683 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/item/relation_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb index 113ace82e4..0f6dd12696 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/relations/relations_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb index 1ae04d948a..5ae9193e1a 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/children/item/term_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb index 9857fe2512..0c8a7f6b48 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/relations/item/relation_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb index ad2e3e65f8..7a5e93a526 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/relations/relations_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb index e3dcebd39f..1e9b7cfeaf 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/item/term_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb b/lib/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb index 6a8176f9d2..d4cecda282 100644 --- a/lib/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/item/terms/terms_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/sets/sets_request_builder.rb b/lib/sites/item/term_stores/item/sets/sets_request_builder.rb index bd38bb0e8b..a0141e367d 100644 --- a/lib/sites/item/term_stores/item/sets/sets_request_builder.rb +++ b/lib/sites/item/term_stores/item/sets/sets_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/item/store_item_request_builder.rb b/lib/sites/item/term_stores/item/store_item_request_builder.rb index 56112d723f..034f0c6033 100644 --- a/lib/sites/item/term_stores/item/store_item_request_builder.rb +++ b/lib/sites/item/term_stores/item/store_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/item/term_stores/term_stores_request_builder.rb b/lib/sites/item/term_stores/term_stores_request_builder.rb index 6f2d62c672..2821a04b72 100644 --- a/lib/sites/item/term_stores/term_stores_request_builder.rb +++ b/lib/sites/item/term_stores/term_stores_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/sites/remove/remove_request_builder.rb b/lib/sites/remove/remove_request_builder.rb index 9f030e2d4e..f65397b0f0 100644 --- a/lib/sites/remove/remove_request_builder.rb +++ b/lib/sites/remove/remove_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/solutions/booking_businesses/booking_businesses_request_builder.rb b/lib/solutions/booking_businesses/booking_businesses_request_builder.rb index 22c655143b..e65858d8c0 100644 --- a/lib/solutions/booking_businesses/booking_businesses_request_builder.rb +++ b/lib/solutions/booking_businesses/booking_businesses_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/appointments/appointments_request_builder.rb b/lib/solutions/booking_businesses/item/appointments/appointments_request_builder.rb index ddb368ae13..28d8b3d7af 100644 --- a/lib/solutions/booking_businesses/item/appointments/appointments_request_builder.rb +++ b/lib/solutions/booking_businesses/item/appointments/appointments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.rb b/lib/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.rb index fad4ecb399..886353c67c 100644 --- a/lib/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/appointments/item/booking_appointment_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.rb b/lib/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.rb index 32a7f7531f..e1e4f00cfc 100644 --- a/lib/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.rb +++ b/lib/solutions/booking_businesses/item/appointments/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/solutions/booking_businesses/item/booking_business_item_request_builder.rb b/lib/solutions/booking_businesses/item/booking_business_item_request_builder.rb index a740f613b5..b1bf664203 100644 --- a/lib/solutions/booking_businesses/item/booking_business_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/booking_business_item_request_builder.rb @@ -244,7 +244,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.rb b/lib/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.rb index 6dc49e0dfc..d3a8db5676 100644 --- a/lib/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.rb +++ b/lib/solutions/booking_businesses/item/calendar_view/calendar_view_request_builder.rb @@ -30,10 +30,10 @@ def count() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") + super(path_parameters, request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView{?start*,end*,%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Get the collection of bookingAppointment objects for a bookingBusiness that occurs in the specified date range. + ## The set of appointments of this business in a specified date range. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of booking_appointment_collection_response ## @@ -63,7 +63,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::BookingAppointment.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the collection of bookingAppointment objects for a bookingBusiness that occurs in the specified date range. + ## The set of appointments of this business in a specified date range. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -97,18 +97,21 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## - # Get the collection of bookingAppointment objects for a bookingBusiness that occurs in the specified date range. + # The set of appointments of this business in a specified date range. Read-only. Nullable. class CalendarViewRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_escaped + ## # Expand related entities attr_accessor :expand ## @@ -127,6 +130,9 @@ class CalendarViewRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.rb b/lib/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.rb index b2d932051a..91601d11fa 100644 --- a/lib/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/calendar_view/item/booking_appointment_item_request_builder.rb @@ -31,7 +31,7 @@ def cancel() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?%24select,%24expand}") + super(path_parameters, request_adapter, "{+baseurl}/solutions/bookingBusinesses/{bookingBusiness%2Did}/calendarView/{bookingAppointment%2Did}{?start*,end*,%24select,%24expand}") end ## ## Delete navigation property calendarView for solutions @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -136,6 +136,9 @@ def to_patch_request_information(body, request_configuration=nil) # The set of appointments of this business in a specified date range. Read-only. Nullable. class BookingAppointmentItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_escaped ## # Expand related entities attr_accessor :expand @@ -143,6 +146,9 @@ class BookingAppointmentItemRequestBuilderGetQueryParameters # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.rb index b6c82c41d0..7a726d9307 100644 --- a/lib/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/solutions/booking_businesses/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.rb b/lib/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.rb index fef554a842..86cc5be23e 100644 --- a/lib/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.rb +++ b/lib/solutions/booking_businesses/item/custom_questions/custom_questions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.rb b/lib/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.rb index c32891913b..72e544ea36 100644 --- a/lib/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/custom_questions/item/booking_custom_question_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/customers/customers_request_builder.rb b/lib/solutions/booking_businesses/item/customers/customers_request_builder.rb index 417a45b2e0..99ccfc308d 100644 --- a/lib/solutions/booking_businesses/item/customers/customers_request_builder.rb +++ b/lib/solutions/booking_businesses/item/customers/customers_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/customers/item/booking_customer_base_item_request_builder.rb b/lib/solutions/booking_businesses/item/customers/item/booking_customer_base_item_request_builder.rb index c67e243a3b..395544caf6 100644 --- a/lib/solutions/booking_businesses/item/customers/item/booking_customer_base_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/customers/item/booking_customer_base_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.rb b/lib/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.rb index e5d1e71f59..3859dc2440 100644 --- a/lib/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.rb +++ b/lib/solutions/booking_businesses/item/get_staff_availability/get_staff_availability_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.rb b/lib/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.rb index be490c380d..c994056fd9 100644 --- a/lib/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/services/item/booking_service_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/services/services_request_builder.rb b/lib/solutions/booking_businesses/item/services/services_request_builder.rb index 5d9c96cbf0..a3ec29c0c0 100644 --- a/lib/solutions/booking_businesses/item/services/services_request_builder.rb +++ b/lib/solutions/booking_businesses/item/services/services_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/staff_members/item/booking_staff_member_base_item_request_builder.rb b/lib/solutions/booking_businesses/item/staff_members/item/booking_staff_member_base_item_request_builder.rb index e2120057f3..cef1404a61 100644 --- a/lib/solutions/booking_businesses/item/staff_members/item/booking_staff_member_base_item_request_builder.rb +++ b/lib/solutions/booking_businesses/item/staff_members/item/booking_staff_member_base_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_businesses/item/staff_members/staff_members_request_builder.rb b/lib/solutions/booking_businesses/item/staff_members/staff_members_request_builder.rb index d03fe99d0a..e0e94fa20b 100644 --- a/lib/solutions/booking_businesses/item/staff_members/staff_members_request_builder.rb +++ b/lib/solutions/booking_businesses/item/staff_members/staff_members_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_currencies/booking_currencies_request_builder.rb b/lib/solutions/booking_currencies/booking_currencies_request_builder.rb index 4aa59505f3..85a263a38d 100644 --- a/lib/solutions/booking_currencies/booking_currencies_request_builder.rb +++ b/lib/solutions/booking_currencies/booking_currencies_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/booking_currencies/item/booking_currency_item_request_builder.rb b/lib/solutions/booking_currencies/item/booking_currency_item_request_builder.rb index 17295a4e3d..a8c9ab0b3c 100644 --- a/lib/solutions/booking_currencies/item/booking_currency_item_request_builder.rb +++ b/lib/solutions/booking_currencies/item/booking_currency_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/solutions/solutions_request_builder.rb b/lib/solutions/solutions_request_builder.rb index e8943cfd21..8424905714 100644 --- a/lib/solutions/solutions_request_builder.rb +++ b/lib/solutions/solutions_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/subscribed_skus/item/subscribed_sku_item_request_builder.rb b/lib/subscribed_skus/item/subscribed_sku_item_request_builder.rb index 24a5b7de7d..9294bb95d0 100644 --- a/lib/subscribed_skus/item/subscribed_sku_item_request_builder.rb +++ b/lib/subscribed_skus/item/subscribed_sku_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/subscribed_skus/subscribed_skus_request_builder.rb b/lib/subscribed_skus/subscribed_skus_request_builder.rb index d68e42f874..b1999729ef 100644 --- a/lib/subscribed_skus/subscribed_skus_request_builder.rb +++ b/lib/subscribed_skus/subscribed_skus_request_builder.rb @@ -85,7 +85,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/subscriptions/item/subscription_item_request_builder.rb b/lib/subscriptions/item/subscription_item_request_builder.rb index 7957714bb7..6aca4cd277 100644 --- a/lib/subscriptions/item/subscription_item_request_builder.rb +++ b/lib/subscriptions/item/subscription_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/subscriptions/subscriptions_request_builder.rb b/lib/subscriptions/subscriptions_request_builder.rb index 8ac5c9eacc..3fc930a6a5 100644 --- a/lib/subscriptions/subscriptions_request_builder.rb +++ b/lib/subscriptions/subscriptions_request_builder.rb @@ -85,7 +85,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/archive/archive_request_builder.rb b/lib/teams/item/archive/archive_request_builder.rb index c767b0d5e8..6905d74372 100644 --- a/lib/teams/item/archive/archive_request_builder.rb +++ b/lib/teams/item/archive/archive_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/channels/channels_request_builder.rb b/lib/teams/item/channels/channels_request_builder.rb index 9724bc43d3..d7fe9a14c9 100644 --- a/lib/teams/item/channels/channels_request_builder.rb +++ b/lib/teams/item/channels/channels_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/channel_item_request_builder.rb b/lib/teams/item/channels/item/channel_item_request_builder.rb index 1634b0a758..bef5fd2a76 100644 --- a/lib/teams/item/channels/item/channel_item_request_builder.rb +++ b/lib/teams/item/channels/item/channel_item_request_builder.rb @@ -222,7 +222,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/files_folder/content/content_request_builder.rb b/lib/teams/item/channels/item/files_folder/content/content_request_builder.rb index 35b7dec5d6..88f5ecdba3 100644 --- a/lib/teams/item/channels/item/files_folder/content/content_request_builder.rb +++ b/lib/teams/item/channels/item/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' +require_relative '../../../../../../models/drive_item' require_relative '../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../teams' require_relative '../../../../item' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/teams/item/channels/item/members/add/add_request_builder.rb b/lib/teams/item/channels/item/members/add/add_request_builder.rb index 086d4f3767..0e1e348cfa 100644 --- a/lib/teams/item/channels/item/members/add/add_request_builder.rb +++ b/lib/teams/item/channels/item/members/add/add_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/channels/item/members/item/conversation_member_item_request_builder.rb b/lib/teams/item/channels/item/members/item/conversation_member_item_request_builder.rb index c1bc9fa43e..61cadcf06d 100644 --- a/lib/teams/item/channels/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/teams/item/channels/item/members/item/conversation_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/members/members_request_builder.rb b/lib/teams/item/channels/item/members/members_request_builder.rb index fe1e725841..57ebeb18db 100644 --- a/lib/teams/item/channels/item/members/members_request_builder.rb +++ b/lib/teams/item/channels/item/members/members_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/chat_message_item_request_builder.rb b/lib/teams/item/channels/item/messages/item/chat_message_item_request_builder.rb index 2b5817fac0..a4f1d8a4d0 100644 --- a/lib/teams/item/channels/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/chat_message_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index 5ca6d35013..379910d445 100644 --- a/lib/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 51c9d816cf..4c8bcb0401 100644 --- a/lib/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -10,6 +10,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teams @@ -24,6 +25,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the team entity. + def content() + return MicrosoftGraph::Teams::Item::Channels::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -128,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..5acf8b622e --- /dev/null +++ b/lib/teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,112 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../teams' +require_relative '../../../../../../../item' +require_relative '../../../../../../channels' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teams + module Item + module Channels + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the team entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb b/lib/teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb index 23b79d173a..1885c5c02d 100644 --- a/lib/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 59a204c209..849f82563b 100644 --- a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 6ed1d230b7..67a015f72e 100644 --- a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -12,6 +12,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teams @@ -28,6 +29,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the team entity. + def content() + return MicrosoftGraph::Teams::Item::Channels::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -132,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..55e08976c6 --- /dev/null +++ b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,118 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../teams' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../channels' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teams + module Item + module Channels + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the team entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teams/item/channels/item/messages/item/replies/replies_request_builder.rb b/lib/teams/item/channels/item/messages/item/replies/replies_request_builder.rb index 1c9069bf09..d8374021f2 100644 --- a/lib/teams/item/channels/item/messages/item/replies/replies_request_builder.rb +++ b/lib/teams/item/channels/item/messages/item/replies/replies_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/messages/messages_request_builder.rb b/lib/teams/item/channels/item/messages/messages_request_builder.rb index d6acc40051..ef49ac98d4 100644 --- a/lib/teams/item/channels/item/messages/messages_request_builder.rb +++ b/lib/teams/item/channels/item/messages/messages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 6e77f7cc96..d1e9203310 100644 --- a/lib/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb b/lib/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb index b3cded2913..579f017741 100644 --- a/lib/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb b/lib/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb index 736f8067cf..fb968ed62a 100644 --- a/lib/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/channels/item/tabs/tabs_request_builder.rb b/lib/teams/item/channels/item/tabs/tabs_request_builder.rb index d23b022d5a..55b111d9f9 100644 --- a/lib/teams/item/channels/item/tabs/tabs_request_builder.rb +++ b/lib/teams/item/channels/item/tabs/tabs_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/clone/clone_request_builder.rb b/lib/teams/item/clone/clone_request_builder.rb index fb23b2ee3c..331d52a3f3 100644 --- a/lib/teams/item/clone/clone_request_builder.rb +++ b/lib/teams/item/clone/clone_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/installed_apps/installed_apps_request_builder.rb b/lib/teams/item/installed_apps/installed_apps_request_builder.rb index 5763ac7776..05c7e454cb 100644 --- a/lib/teams/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/teams/item/installed_apps/installed_apps_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb index 0bee6bbcdf..c263372016 100644 --- a/lib/teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/members/add/add_request_builder.rb b/lib/teams/item/members/add/add_request_builder.rb index f9bf6a510c..cd33139fe7 100644 --- a/lib/teams/item/members/add/add_request_builder.rb +++ b/lib/teams/item/members/add/add_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/members/item/conversation_member_item_request_builder.rb b/lib/teams/item/members/item/conversation_member_item_request_builder.rb index 50d5d8a9f8..ef1b6ab4fc 100644 --- a/lib/teams/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/teams/item/members/item/conversation_member_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/members/members_request_builder.rb b/lib/teams/item/members/members_request_builder.rb index 9a7c4ccef6..e800d62d1c 100644 --- a/lib/teams/item/members/members_request_builder.rb +++ b/lib/teams/item/members/members_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/operations/item/teams_async_operation_item_request_builder.rb b/lib/teams/item/operations/item/teams_async_operation_item_request_builder.rb index e283473a28..921551be92 100644 --- a/lib/teams/item/operations/item/teams_async_operation_item_request_builder.rb +++ b/lib/teams/item/operations/item/teams_async_operation_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/operations/operations_request_builder.rb b/lib/teams/item/operations/operations_request_builder.rb index f5201df14b..bd099c4c01 100644 --- a/lib/teams/item/operations/operations_request_builder.rb +++ b/lib/teams/item/operations/operations_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/photo/photo_request_builder.rb b/lib/teams/item/photo/photo_request_builder.rb index 70b72e34b5..bd23584c53 100644 --- a/lib/teams/item/photo/photo_request_builder.rb +++ b/lib/teams/item/photo/photo_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/photo/value/content_request_builder.rb b/lib/teams/item/photo/value/content_request_builder.rb index 925333e894..a37c0695ac 100644 --- a/lib/teams/item/photo/value/content_request_builder.rb +++ b/lib/teams/item/photo/value/content_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in teams ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from teams @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/teams/item/primary_channel/files_folder/content/content_request_builder.rb b/lib/teams/item/primary_channel/files_folder/content/content_request_builder.rb index 6e3d9bbf47..cc0055494a 100644 --- a/lib/teams/item/primary_channel/files_folder/content/content_request_builder.rb +++ b/lib/teams/item/primary_channel/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../microsoft_graph' +require_relative '../../../../../models/drive_item' require_relative '../../../../../models/o_data_errors/o_data_error' require_relative '../../../../teams' require_relative '../../../item' @@ -44,7 +45,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +55,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -84,11 +85,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/teams/item/primary_channel/members/add/add_request_builder.rb b/lib/teams/item/primary_channel/members/add/add_request_builder.rb index 3a8083ea9a..020458d804 100644 --- a/lib/teams/item/primary_channel/members/add/add_request_builder.rb +++ b/lib/teams/item/primary_channel/members/add/add_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb b/lib/teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb index 93c1d73369..e6190fdb14 100644 --- a/lib/teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb +++ b/lib/teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/members/members_request_builder.rb b/lib/teams/item/primary_channel/members/members_request_builder.rb index f882fe6460..dc83972d6f 100644 --- a/lib/teams/item/primary_channel/members/members_request_builder.rb +++ b/lib/teams/item/primary_channel/members/members_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb b/lib/teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb index d38c21be37..be70241946 100644 --- a/lib/teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb index 5c9378d180..69eeaf420a 100644 --- a/lib/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 2931afb2f2..5a70185111 100644 --- a/lib/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -9,6 +9,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teams @@ -22,6 +23,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the team entity. + def content() + return MicrosoftGraph::Teams::Item::PrimaryChannel::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -126,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..f428617da0 --- /dev/null +++ b/lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,109 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../teams' +require_relative '../../../../../../item' +require_relative '../../../../../primary_channel' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teams + module Item + module PrimaryChannel + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the team entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb b/lib/teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb index 217e4678a6..c5e8d75b29 100644 --- a/lib/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb @@ -156,7 +156,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 3260830e86..43129dfe62 100644 --- a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index c507368be1..9b0264f6bd 100644 --- a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teams @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the team entity. + def content() + return MicrosoftGraph::Teams::Item::PrimaryChannel::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..41101ef620 --- /dev/null +++ b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../teams' +require_relative '../../../../../../../../item' +require_relative '../../../../../../../primary_channel' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teams + module Item + module PrimaryChannel + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the team entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teams + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teams + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teams/item/primary_channel/messages/item/replies/replies_request_builder.rb b/lib/teams/item/primary_channel/messages/item/replies/replies_request_builder.rb index c07abd9760..c88b1f3b07 100644 --- a/lib/teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/item/replies/replies_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/messages/messages_request_builder.rb b/lib/teams/item/primary_channel/messages/messages_request_builder.rb index 239621ae64..b7e890612e 100644 --- a/lib/teams/item/primary_channel/messages/messages_request_builder.rb +++ b/lib/teams/item/primary_channel/messages/messages_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/primary_channel_request_builder.rb b/lib/teams/item/primary_channel/primary_channel_request_builder.rb index f89b78069d..348aa9ee69 100644 --- a/lib/teams/item/primary_channel/primary_channel_request_builder.rb +++ b/lib/teams/item/primary_channel/primary_channel_request_builder.rb @@ -220,7 +220,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 4397207f0e..9671ddedea 100644 --- a/lib/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -140,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb b/lib/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb index d83e8dc7d5..45a61a3171 100644 --- a/lib/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb b/lib/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb index 117c2d1b4c..534ccb45e6 100644 --- a/lib/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/primary_channel/tabs/tabs_request_builder.rb b/lib/teams/item/primary_channel/tabs/tabs_request_builder.rb index 467db78533..0288ff8e00 100644 --- a/lib/teams/item/primary_channel/tabs/tabs_request_builder.rb +++ b/lib/teams/item/primary_channel/tabs/tabs_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb b/lib/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb index 3a9baf3512..543ac5792e 100644 --- a/lib/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb +++ b/lib/teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb b/lib/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb index 9e4ab3b66a..2b76389a29 100644 --- a/lib/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb +++ b/lib/teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb b/lib/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb index 2783fadeea..8e9e9adc1c 100644 --- a/lib/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb +++ b/lib/teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb b/lib/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb index a8dc5564a2..8f6d95bfda 100644 --- a/lib/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb +++ b/lib/teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb b/lib/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb index 0190fc8032..65d2522496 100644 --- a/lib/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb +++ b/lib/teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/open_shifts/open_shifts_request_builder.rb b/lib/teams/item/schedule/open_shifts/open_shifts_request_builder.rb index 99f8e777f4..6df8e254fd 100644 --- a/lib/teams/item/schedule/open_shifts/open_shifts_request_builder.rb +++ b/lib/teams/item/schedule/open_shifts/open_shifts_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/schedule_request_builder.rb b/lib/teams/item/schedule/schedule_request_builder.rb index 6b03f33a31..89db74fea5 100644 --- a/lib/teams/item/schedule/schedule_request_builder.rb +++ b/lib/teams/item/schedule/schedule_request_builder.rb @@ -286,7 +286,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb b/lib/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb index ea3868e678..91c6b0c031 100644 --- a/lib/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb +++ b/lib/teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb b/lib/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb index 5a8a5d8134..d93ea854a9 100644 --- a/lib/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb +++ b/lib/teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/share/share_request_builder.rb b/lib/teams/item/schedule/share/share_request_builder.rb index 1305cb53de..0cda2fe28a 100644 --- a/lib/teams/item/schedule/share/share_request_builder.rb +++ b/lib/teams/item/schedule/share/share_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/schedule/shifts/item/shift_item_request_builder.rb b/lib/teams/item/schedule/shifts/item/shift_item_request_builder.rb index 763c2d5214..2d0e803bd7 100644 --- a/lib/teams/item/schedule/shifts/item/shift_item_request_builder.rb +++ b/lib/teams/item/schedule/shifts/item/shift_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/shifts/shifts_request_builder.rb b/lib/teams/item/schedule/shifts/shifts_request_builder.rb index 0709569b9d..a7b7de55e9 100644 --- a/lib/teams/item/schedule/shifts/shifts_request_builder.rb +++ b/lib/teams/item/schedule/shifts/shifts_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb b/lib/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb index 27fe0c5d47..615221b055 100644 --- a/lib/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb +++ b/lib/teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb b/lib/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb index f7a76d4a37..16258c9f59 100644 --- a/lib/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb +++ b/lib/teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb b/lib/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb index 29058dd38b..c6a044348b 100644 --- a/lib/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb +++ b/lib/teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb b/lib/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb index c4408336cb..d8704ac8d5 100644 --- a/lib/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb +++ b/lib/teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb b/lib/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb index 290f475499..e903f560b2 100644 --- a/lib/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb +++ b/lib/teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb b/lib/teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb index 07b886ad92..8ee6d7c717 100644 --- a/lib/teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb +++ b/lib/teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/times_off/item/time_off_item_request_builder.rb b/lib/teams/item/schedule/times_off/item/time_off_item_request_builder.rb index b0d2d4bfff..01b1b30c5c 100644 --- a/lib/teams/item/schedule/times_off/item/time_off_item_request_builder.rb +++ b/lib/teams/item/schedule/times_off/item/time_off_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/schedule/times_off/times_off_request_builder.rb b/lib/teams/item/schedule/times_off/times_off_request_builder.rb index c4ed858b78..8a03b55286 100644 --- a/lib/teams/item/schedule/times_off/times_off_request_builder.rb +++ b/lib/teams/item/schedule/times_off/times_off_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/teams/item/send_activity_notification/send_activity_notification_request_builder.rb index 01502e6459..75af36606b 100644 --- a/lib/teams/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/teams/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb b/lib/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb index 486591e7de..8aa91f598e 100644 --- a/lib/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb +++ b/lib/teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/tags/item/members/members_request_builder.rb b/lib/teams/item/tags/item/members/members_request_builder.rb index 55f8ffd43b..2470f13511 100644 --- a/lib/teams/item/tags/item/members/members_request_builder.rb +++ b/lib/teams/item/tags/item/members/members_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/tags/item/teamwork_tag_item_request_builder.rb b/lib/teams/item/tags/item/teamwork_tag_item_request_builder.rb index 09c3e13336..8b81b1f7a7 100644 --- a/lib/teams/item/tags/item/teamwork_tag_item_request_builder.rb +++ b/lib/teams/item/tags/item/teamwork_tag_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/tags/tags_request_builder.rb b/lib/teams/item/tags/tags_request_builder.rb index 92aa523417..5ebed0641b 100644 --- a/lib/teams/item/tags/tags_request_builder.rb +++ b/lib/teams/item/tags/tags_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/item/team_item_request_builder.rb b/lib/teams/item/team_item_request_builder.rb index 338f45eed0..964fe12563 100644 --- a/lib/teams/item/team_item_request_builder.rb +++ b/lib/teams/item/team_item_request_builder.rb @@ -302,7 +302,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams/teams_request_builder.rb b/lib/teams/teams_request_builder.rb index 8ce8379ee0..05a1a18ac7 100644 --- a/lib/teams/teams_request_builder.rb +++ b/lib/teams/teams_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teams_templates/item/teams_template_item_request_builder.rb b/lib/teams_templates/item/teams_template_item_request_builder.rb index a4f7ef6a99..78c5d46572 100644 --- a/lib/teams_templates/item/teams_template_item_request_builder.rb +++ b/lib/teams_templates/item/teams_template_item_request_builder.rb @@ -116,7 +116,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teams_templates/teams_templates_request_builder.rb b/lib/teams_templates/teams_templates_request_builder.rb index cc9689f949..1ceb514ec8 100644 --- a/lib/teams_templates/teams_templates_request_builder.rb +++ b/lib/teams_templates/teams_templates_request_builder.rb @@ -91,7 +91,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb b/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb index 9268a75070..83280aaf4a 100644 --- a/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb +++ b/lib/teamwork/deleted_teams/deleted_teams_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb index c3986e5c92..acab0a96bc 100644 --- a/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/channels_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb index 8ff9b11c1a..89c36b8cf7 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/channel_item_request_builder.rb @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.rb index fde6193da1..f239a6b86a 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../teamwork' require_relative '../../../../../deleted_teams' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.rb index 98b72ed003..38512b0df0 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/members/add/add_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb index 7d85163a5b..f276968a39 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb index 1d0d0823f0..4ef6112e6f 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/members/members_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb index ac7ce42413..16ce06c292 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index 4c2ec64305..6002c5b758 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 811aeb8f5b..d4a5e27f38 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teamwork @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the teamwork entity. + def content() + return MicrosoftGraph::Teamwork::DeletedTeams::Item::Channels::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..e61ffe4aa5 --- /dev/null +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../teamwork' +require_relative '../../../../../../../../deleted_teams' +require_relative '../../../../../../../item' +require_relative '../../../../../../channels' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teamwork + module DeletedTeams + module Item + module Channels + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the teamwork entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teamwork + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teamwork + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teamwork + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teamwork + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb index 900f5759b5..a81ca4d1f3 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 028515059c..6206d44fad 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 12d2400601..fcbef67705 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -13,6 +13,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Teamwork @@ -30,6 +31,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the teamwork entity. + def content() + return MicrosoftGraph::Teamwork::DeletedTeams::Item::Channels::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -134,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..67c3d35a1b --- /dev/null +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,121 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../teamwork' +require_relative '../../../../../../../../../../deleted_teams' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../channels' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Teamwork + module DeletedTeams + module Item + module Channels + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the teamwork entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/teamwork/deletedTeams/{deletedTeam%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from teamwork + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in teamwork + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from teamwork + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in teamwork + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb index 26a6b5b918..d1ecd39a60 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/item/replies/replies_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb index 50e87c1982..f4a76c0869 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/messages/messages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 7242d2167b..3024610f81 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb index 6dacf5e460..68aec76349 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb index 1aa299dc07..9793d1a210 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.rb b/lib/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.rb index 8ee36931b1..22d2e421f7 100644 --- a/lib/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/channels/item/tabs/tabs_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb b/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb index e4371fa354..58feca2a1f 100644 --- a/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb +++ b/lib/teamwork/deleted_teams/item/deleted_team_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.rb b/lib/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.rb index ebd48b6758..a1213750fb 100644 --- a/lib/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.rb +++ b/lib/teamwork/send_activity_notification_to_recipients/send_activity_notification_to_recipients_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/teamwork/teamwork_request_builder.rb b/lib/teamwork/teamwork_request_builder.rb index fb2a503211..5e931b9c2e 100644 --- a/lib/teamwork/teamwork_request_builder.rb +++ b/lib/teamwork/teamwork_request_builder.rb @@ -115,7 +115,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.rb b/lib/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.rb index 5294ae7739..a5366f4e7a 100644 --- a/lib/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.rb +++ b/lib/teamwork/workforce_integrations/item/workforce_integration_item_request_builder.rb @@ -118,7 +118,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/teamwork/workforce_integrations/workforce_integrations_request_builder.rb b/lib/teamwork/workforce_integrations/workforce_integrations_request_builder.rb index 29de37f092..71163d9d90 100644 --- a/lib/teamwork/workforce_integrations/workforce_integrations_request_builder.rb +++ b/lib/teamwork/workforce_integrations/workforce_integrations_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.rb b/lib/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.rb index 4e2e479501..e83d9423cb 100644 --- a/lib/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_customers/delegated_admin_customers_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.rb index 13448529e2..0e8ba9f76e 100644 --- a/lib/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_customers/item/delegated_admin_customer_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.rb index d12535205e..4510573ff0 100644 --- a/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/item/delegated_admin_service_management_detail_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.rb b/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.rb index 3f0f89c503..bb50d4430f 100644 --- a/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_customers/item/service_management_details/service_management_details_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.rb index 328c3f9811..cbc692f267 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/delegated_admin_relationships_request_builder.rb @@ -93,7 +93,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.rb index c310e3a63c..775d51996d 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/access_assignments_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.rb index 337e26365a..291f36e54e 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/access_assignments/item/delegated_admin_access_assignment_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.rb index 3357dc0189..c188e76bff 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/delegated_admin_relationship_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.rb index b1d395454f..1d24ea61d4 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/operations/item/delegated_admin_relationship_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.rb index efbb097c3b..b07aaf2bcf 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.rb index 68a02e1c7e..253c03673a 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/requests/item/delegated_admin_relationship_request_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.rb b/lib/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.rb index 068f042789..50a95f86bc 100644 --- a/lib/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.rb +++ b/lib/tenant_relationships/delegated_admin_relationships/item/requests/requests_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/tenant_relationships/tenant_relationships_request_builder.rb b/lib/tenant_relationships/tenant_relationships_request_builder.rb index 9d86df0c00..0b0e498b94 100644 --- a/lib/tenant_relationships/tenant_relationships_request_builder.rb +++ b/lib/tenant_relationships/tenant_relationships_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/get_available_extension_properties/get_available_extension_properties_request_builder.rb b/lib/users/get_available_extension_properties/get_available_extension_properties_request_builder.rb index a2c35fe84f..120aa2a37e 100644 --- a/lib/users/get_available_extension_properties/get_available_extension_properties_request_builder.rb +++ b/lib/users/get_available_extension_properties/get_available_extension_properties_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/get_by_ids/get_by_ids_request_builder.rb b/lib/users/get_by_ids/get_by_ids_request_builder.rb index 3faf0d946a..007e605fc0 100644 --- a/lib/users/get_by_ids/get_by_ids_request_builder.rb +++ b/lib/users/get_by_ids/get_by_ids_request_builder.rb @@ -53,7 +53,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/activities/activities_request_builder.rb b/lib/users/item/activities/activities_request_builder.rb index d6cc821937..e59051a5ed 100644 --- a/lib/users/item/activities/activities_request_builder.rb +++ b/lib/users/item/activities/activities_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/activities/item/history_items/history_items_request_builder.rb b/lib/users/item/activities/item/history_items/history_items_request_builder.rb index 6ba7027e44..a58831ad0d 100644 --- a/lib/users/item/activities/item/history_items/history_items_request_builder.rb +++ b/lib/users/item/activities/item/history_items/history_items_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.rb b/lib/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.rb index 9c7599984e..687c8c4a2f 100644 --- a/lib/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.rb +++ b/lib/users/item/activities/item/history_items/item/activity_history_item_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/activities/item/user_activity_item_request_builder.rb b/lib/users/item/activities/item/user_activity_item_request_builder.rb index ebd26b056b..d326cacb25 100644 --- a/lib/users/item/activities/item/user_activity_item_request_builder.rb +++ b/lib/users/item/activities/item/user_activity_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/app_role_assignments/app_role_assignments_request_builder.rb b/lib/users/item/app_role_assignments/app_role_assignments_request_builder.rb index 7eaab287e6..b79d461e66 100644 --- a/lib/users/item/app_role_assignments/app_role_assignments_request_builder.rb +++ b/lib/users/item/app_role_assignments/app_role_assignments_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb b/lib/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb index e327ba20da..89e0edfff2 100644 --- a/lib/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb +++ b/lib/users/item/app_role_assignments/item/app_role_assignment_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/assign_license/assign_license_request_builder.rb b/lib/users/item/assign_license/assign_license_request_builder.rb index 611449131c..6e9f628cad 100644 --- a/lib/users/item/assign_license/assign_license_request_builder.rb +++ b/lib/users/item/assign_license/assign_license_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/authentication/authentication_request_builder.rb b/lib/users/item/authentication/authentication_request_builder.rb index 5d3ce31c40..560c61ef45 100644 --- a/lib/users/item/authentication/authentication_request_builder.rb +++ b/lib/users/item/authentication/authentication_request_builder.rb @@ -287,7 +287,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/users/item/authentication/email_methods/email_methods_request_builder.rb b/lib/users/item/authentication/email_methods/email_methods_request_builder.rb index 1e3fe51df2..9ae015f194 100644 --- a/lib/users/item/authentication/email_methods/email_methods_request_builder.rb +++ b/lib/users/item/authentication/email_methods/email_methods_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.rb b/lib/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.rb index 6042ef8996..9403ea4607 100644 --- a/lib/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.rb +++ b/lib/users/item/authentication/email_methods/item/email_authentication_method_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/methods/item/authentication_method_item_request_builder.rb b/lib/users/item/authentication/methods/item/authentication_method_item_request_builder.rb index d4d50443d5..8ea49d3ad4 100644 --- a/lib/users/item/authentication/methods/item/authentication_method_item_request_builder.rb +++ b/lib/users/item/authentication/methods/item/authentication_method_item_request_builder.rb @@ -98,7 +98,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb b/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb index 5cf733078e..c69c3e52fe 100644 --- a/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb +++ b/lib/users/item/authentication/methods/item/reset_password/reset_password_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/authentication/methods/methods_request_builder.rb b/lib/users/item/authentication/methods/methods_request_builder.rb index 8f0b20efb7..1598c8b25a 100644 --- a/lib/users/item/authentication/methods/methods_request_builder.rb +++ b/lib/users/item/authentication/methods/methods_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/operations/item/long_running_operation_item_request_builder.rb b/lib/users/item/authentication/operations/item/long_running_operation_item_request_builder.rb index 44a53795c6..1ba0a08359 100644 --- a/lib/users/item/authentication/operations/item/long_running_operation_item_request_builder.rb +++ b/lib/users/item/authentication/operations/item/long_running_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/operations/operations_request_builder.rb b/lib/users/item/authentication/operations/operations_request_builder.rb index 3a50eb8cef..20d837d6c0 100644 --- a/lib/users/item/authentication/operations/operations_request_builder.rb +++ b/lib/users/item/authentication/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/password_methods/password_methods_request_builder.rb b/lib/users/item/authentication/password_methods/password_methods_request_builder.rb index a96dcc330c..1a3b77fc1b 100644 --- a/lib/users/item/authentication/password_methods/password_methods_request_builder.rb +++ b/lib/users/item/authentication/password_methods/password_methods_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb b/lib/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb index afe44b5f03..a4b517e82d 100644 --- a/lib/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb +++ b/lib/users/item/authentication/phone_methods/item/phone_authentication_method_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/phone_methods/phone_methods_request_builder.rb b/lib/users/item/authentication/phone_methods/phone_methods_request_builder.rb index 6fab3f39ef..65413675ef 100644 --- a/lib/users/item/authentication/phone_methods/phone_methods_request_builder.rb +++ b/lib/users/item/authentication/phone_methods/phone_methods_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb b/lib/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb index ac3af64abc..12ec2d9df9 100644 --- a/lib/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb +++ b/lib/users/item/authentication/temporary_access_pass_methods/temporary_access_pass_methods_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb b/lib/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb index 5dc2f7ff16..946a79fcd0 100644 --- a/lib/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/users/item/calendar/calendar_permissions/calendar_permissions_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb index e83cc78831..0efe36ec03 100644 --- a/lib/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_request_builder.rb b/lib/users/item/calendar/calendar_request_builder.rb index 1eea8fad61..25eb146f07 100644 --- a/lib/users/item/calendar/calendar_request_builder.rb +++ b/lib/users/item/calendar/calendar_request_builder.rb @@ -194,7 +194,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/accept/accept_request_builder.rb b/lib/users/item/calendar/calendar_view/item/accept/accept_request_builder.rb index adaf447f34..19a4164196 100644 --- a/lib/users/item/calendar/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb index 257a363232..511b6976b8 100644 --- a/lib/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index b2fcad4bc3..f11f0ad871 100644 --- a/lib/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb index 0edb3b0a5c..3d0fa8740e 100644 --- a/lib/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/decline/decline_request_builder.rb b/lib/users/item/calendar/calendar_view/item/decline/decline_request_builder.rb index bec75bc497..050030fef6 100644 --- a/lib/users/item/calendar/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb index 6dab58e005..7d1fb15ce8 100644 --- a/lib/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb index 99406ec77c..1dc0295370 100644 --- a/lib/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/forward/forward_request_builder.rb b/lib/users/item/calendar/calendar_view/item/forward/forward_request_builder.rb index 601a3704e2..2c43ef91e5 100644 --- a/lib/users/item/calendar/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/instances_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/instances_request_builder.rb index 9dfd7f9e93..dac73f9284 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb index 15fe4776fe..68f3a1c96c 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 721a42b154..20b035a2b7 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index a90c5bc1db..8733656fa4 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index e69c354a8d..61c26f01de 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb index 9920ccd373..a69b4d7b46 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb index e92d90d82c..89a6f7d605 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index ee0f6cee1a..dcb40de97d 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 3f36d7bc2c..9b7e1fac7f 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb index 04388181df..180639c988 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 32be6530e9..e27581c4fb 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 05c8ec622d..22755cb0c7 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 60dd6ee85c..be53b20c42 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 7ab767a223..8dffdfba8b 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 6edb50fcb1..cd5b824c54 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 0047267b71..9e1d5de6a3 100644 --- a/lib/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 089d3497ef..ed0995616d 100644 --- a/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 84548339a4..026ddbe9ca 100644 --- a/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 47af49aae1..407c413d44 100644 --- a/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 8d4fc35d5a..07dcc4187b 100644 --- a/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index 5e085bea86..5fe113cc37 100644 --- a/lib/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 466cde2213..59fd7be45b 100644 --- a/lib/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/events_request_builder.rb b/lib/users/item/calendar/events/events_request_builder.rb index 3a8ea2c907..c4a42b614f 100644 --- a/lib/users/item/calendar/events/events_request_builder.rb +++ b/lib/users/item/calendar/events/events_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/accept/accept_request_builder.rb b/lib/users/item/calendar/events/item/accept/accept_request_builder.rb index a86063627d..22f67e5dd1 100644 --- a/lib/users/item/calendar/events/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar/events/item/accept/accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar/events/item/attachments/attachments_request_builder.rb index 5326a80c4f..ba25c9012c 100644 --- a/lib/users/item/calendar/events/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar/events/item/attachments/attachments_request_builder.rb @@ -57,7 +57,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -91,7 +91,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index ea4274e2f2..b3ed2a96bf 100644 --- a/lib/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar/events/item/cancel/cancel_request_builder.rb index a6d72401a9..b4146c7970 100644 --- a/lib/users/item/calendar/events/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar/events/item/cancel/cancel_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/decline/decline_request_builder.rb b/lib/users/item/calendar/events/item/decline/decline_request_builder.rb index 2fed0442c1..f9aa903e56 100644 --- a/lib/users/item/calendar/events/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar/events/item/decline/decline_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/event_item_request_builder.rb b/lib/users/item/calendar/events/item/event_item_request_builder.rb index 8b7d803ac4..8c302bd765 100644 --- a/lib/users/item/calendar/events/item/event_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/event_item_request_builder.rb @@ -260,7 +260,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar/events/item/extensions/extensions_request_builder.rb index 6722d1fa00..0571ec41f6 100644 --- a/lib/users/item/calendar/events/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar/events/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar/events/item/extensions/item/extension_item_request_builder.rb index 5cf8a7cb76..a05b5cc6c2 100644 --- a/lib/users/item/calendar/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/forward/forward_request_builder.rb b/lib/users/item/calendar/events/item/forward/forward_request_builder.rb index 2e69f97808..ac9e9c7a39 100644 --- a/lib/users/item/calendar/events/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar/events/item/forward/forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/instances_request_builder.rb b/lib/users/item/calendar/events/item/instances/instances_request_builder.rb index 694881b283..5567ca2dd3 100644 --- a/lib/users/item/calendar/events/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/instances_request_builder.rb @@ -39,10 +39,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -56,7 +56,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -75,13 +75,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -94,6 +97,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendar/events/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/accept/accept_request_builder.rb index 8410474fa8..bb6fd39173 100644 --- a/lib/users/item/calendar/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/accept/accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb index 28bb6ff7c3..fca431dbb9 100644 --- a/lib/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/attachments/attachments_request_builder.rb @@ -61,7 +61,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -95,7 +95,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index e49a8fe475..bd31a3e2e3 100644 --- a/lib/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb index 9a49b53a66..72ecac99c4 100644 --- a/lib/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/cancel/cancel_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/decline/decline_request_builder.rb index 300495ce77..cab7bb5998 100644 --- a/lib/users/item/calendar/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/decline/decline_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/event_item_request_builder.rb index 362ef42297..2124288c42 100644 --- a/lib/users/item/calendar/events/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/event_item_request_builder.rb @@ -116,7 +116,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendar/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -188,10 +188,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb index 98cc17299d..11044b98a6 100644 --- a/lib/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 1b6c70d635..f56a6662c3 100644 --- a/lib/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/forward/forward_request_builder.rb index 03bcd040bc..6f9975ca4c 100644 --- a/lib/users/item/calendar/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/forward/forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index c60d072c84..9aadbc65f9 100644 --- a/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 6fcbc925b1..fb879e0fea 100644 --- a/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b5454eaa6b..dcf9320c74 100644 --- a/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 576cc82103..6eb7046918 100644 --- a/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 7d020e9eea..7acd807ab1 100644 --- a/lib/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 1d873f4cb2..8c0450a1dd 100644 --- a/lib/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 8bc8ca31ab..7812c2330e 100644 --- a/lib/users/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index d2f33bda5b..b6a48658be 100644 --- a/lib/users/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index df8774626d..a5830d1245 100644 --- a/lib/users/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index da8504d8d1..9bbb110b66 100644 --- a/lib/users/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 436fadaf77..0face4c789 100644 --- a/lib/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb index b9d92ca0ef..edb1cc0158 100644 --- a/lib/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/get_schedule/get_schedule_request_builder.rb b/lib/users/item/calendar/get_schedule/get_schedule_request_builder.rb index 0e503ae9db..7298ec0bd3 100644 --- a/lib/users/item/calendar/get_schedule/get_schedule_request_builder.rb +++ b/lib/users/item/calendar/get_schedule/get_schedule_request_builder.rb @@ -57,7 +57,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 21210b5d0c..262fe08f09 100644 --- a/lib/users/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index a774d29472..2c50448844 100644 --- a/lib/users/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 821ff403fc..9301cdc160 100644 --- a/lib/users/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb index a034ab82e1..75d9b7af76 100644 --- a/lib/users/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/calendar_groups_request_builder.rb b/lib/users/item/calendar_groups/calendar_groups_request_builder.rb index 5d85a1e39f..eea58a882f 100644 --- a/lib/users/item/calendar_groups/calendar_groups_request_builder.rb +++ b/lib/users/item/calendar_groups/calendar_groups_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendar_group_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendar_group_item_request_builder.rb index cf83aac019..5252fc42d8 100644 --- a/lib/users/item/calendar_groups/item/calendar_group_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendar_group_item_request_builder.rb @@ -138,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/calendars_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/calendars_request_builder.rb index 07b2e28a77..a5dcf7c160 100644 --- a/lib/users/item/calendar_groups/item/calendars/calendars_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/calendars_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.rb index 1bbd92d72e..89638e2820 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_item_request_builder.rb @@ -230,7 +230,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb index 2f6a6a3f70..0ed66fa58b 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb index 33bcc7ac3b..e45121cb4b 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb index 83cfa16294..581115bba2 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb index 20ec767409..2758ab49b2 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -63,7 +63,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -97,7 +97,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 613c768585..425ed073fb 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb index ad91ca3203..35076ed506 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb index c826ceea6f..ab8370a80f 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb index 9d7b100bcf..6dcd864abe 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index 757e986d86..d23ebc3b0d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb index bb54b4953a..efb1076720 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb index 2d89f8ae14..fad62f42f8 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb @@ -45,10 +45,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -62,7 +62,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -81,13 +81,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -100,6 +103,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index 69483d63c3..20ec524c4d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 2d246f9e72..8fbc882b83 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -67,7 +67,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -101,7 +101,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index ed2e0b1ae4..0e29fbb5b5 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 394e39edcf..fb0393b33f 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index 129ae224cf..a81b802b1d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb index 5e6aec3068..93063b8684 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -122,7 +122,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -194,10 +194,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index 0d8806fc7c..27b5297119 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 7f50cc00e3..a642fde2e3 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index 000b85b327..b0be0344f8 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 2a70293f59..b88ccfd19a 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 1be0b73dd6..056a4e7a6e 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 4e750366b5..859273a844 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 5a16a280d5..71b07fcdf5 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index b5fc7d965a..08de9f9a8f 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index ad8c956715..a30c1c06de 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index afea2a1b01..92c34c77cc 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 35f4ceae8c..3b5682ad0e 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 24c5913a79..e12f8a013d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 72d420b53c..ae07bbc8b4 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index caaab995bd..a163e97108 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 4952eadb0a..131f13b8d8 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/events_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/events_request_builder.rb index 40d435232d..6695550410 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/events_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/events_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb index 94e2f615dc..788de957e2 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/accept/accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb index 0f9ce6366f..988cbecc12 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/attachments_request_builder.rb @@ -63,7 +63,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -97,7 +97,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 88175e657b..2f7d56f469 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb index 3622386b52..4139862c3d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/cancel/cancel_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb index cffd3fea9e..ca469f0e28 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/decline/decline_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb index ce57010990..e494fe0853 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/event_item_request_builder.rb @@ -266,7 +266,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb index 142345157e..3b95ef4d54 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb index a1e216c300..6cb3dc3f8b 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb index 30ea82760d..5f04211fed 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb index f3c65212cb..eac44d8c70 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/instances_request_builder.rb @@ -45,10 +45,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -62,7 +62,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -81,13 +81,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -100,6 +103,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb index 21f7dce910..e08f82b883 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb index d4b27dbd2e..c4023583d4 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -67,7 +67,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -101,7 +101,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -117,7 +117,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index b832da0247..d708fb954b 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb index 3d42c53f72..1723f6e702 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb index 149f18d050..c0e65eb561 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb index 90db15b41a..680828b904 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/event_item_request_builder.rb @@ -122,7 +122,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarGroups/{calendarGroup%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -194,10 +194,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb index a430fa51ba..b71c967feb 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 828b34c062..ee66afd955 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb index dff15a55f3..baf5a6af3f 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index cb47272a3f..6c0e8539c9 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 99ed39a3a4..f99e91ab35 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 7a71fc81c3..7aa03906a7 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 3d69446a12..49140f966d 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 03c40268ce..6c5a7b8eda 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index dcbbf0e97d..3afa9113d8 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 5ebe8c6129..38a2d404ae 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 237a134025..e81c4946e0 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 4a784197ba..987f2061b7 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 2e52f02f8f..6d1f688e57 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 5cbe176482..ccb4f65ceb 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 994c5a6bc7..9eeeed1ee9 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb index e8a56e96d7..b039571792 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/get_schedule/get_schedule_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 010a32aa3e..cd6fbe1429 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 8409b208a0..517f8d1332 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index d1bb94a7a3..741a918e7f 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 1b91ba9345..10b7d92865 100644 --- a/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_groups/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/accept/accept_request_builder.rb b/lib/users/item/calendar_view/item/accept/accept_request_builder.rb index 6069c90c04..535f4ca856 100644 --- a/lib/users/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_view/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_view/item/attachments/attachments_request_builder.rb index 656936d9d7..583bd4c1e8 100644 --- a/lib/users/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 4106d8d39b..33d4fbe387 100644 --- a/lib/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_view/item/cancel/cancel_request_builder.rb index 23c7a75349..edf32a262a 100644 --- a/lib/users/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/decline/decline_request_builder.rb b/lib/users/item/calendar_view/item/decline/decline_request_builder.rb index 43000c80a8..0e2a7bee9f 100644 --- a/lib/users/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_view/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_view/item/extensions/extensions_request_builder.rb index 14ae3a175c..46215f7355 100644 --- a/lib/users/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index 56b388a40a..59cf98263a 100644 --- a/lib/users/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/forward/forward_request_builder.rb b/lib/users/item/calendar_view/item/forward/forward_request_builder.rb index 38d775e8b7..d6947b07bf 100644 --- a/lib/users/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_view/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/instances_request_builder.rb b/lib/users/item/calendar_view/item/instances/instances_request_builder.rb index ef163514a1..bc909a7d4a 100644 --- a/lib/users/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index 5549f75356..39f3094e73 100644 --- a/lib/users/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 613c2e311c..7cf89a910b 100644 --- a/lib/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 67916bf277..911f84ed03 100644 --- a/lib/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index 199b731e2e..c48f130c0f 100644 --- a/lib/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index 6c00ade610..4e1b934741 100644 --- a/lib/users/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/event_item_request_builder.rb index 7565b479a8..d90fa7c8ca 100644 --- a/lib/users/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index d2dbca4b1e..806c9a88d8 100644 --- a/lib/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 806c338586..d2b8551b37 100644 --- a/lib/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index e67df1903c..279492ac14 100644 --- a/lib/users/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index ab48f72ce5..b6e2086a09 100644 --- a/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index e09a58750c..da260ca9b2 100644 --- a/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 41240c20bc..7bc9e336ed 100644 --- a/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 97bee41963..1c33e53357 100644 --- a/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 2ca962c79b..81d5f9e774 100644 --- a/lib/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 390c376938..2126e823ac 100644 --- a/lib/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 22727e581e..36b03ca39f 100644 --- a/lib/users/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 6a3606f00d..52b793a5df 100644 --- a/lib/users/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index cc3178c9b8..88bd26d6ee 100644 --- a/lib/users/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index ff854e4906..04043cf7d0 100644 --- a/lib/users/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index 380ce4d975..7a52ca0307 100644 --- a/lib/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 69666dc80a..4a10b2c43f 100644 --- a/lib/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/calendars_request_builder.rb b/lib/users/item/calendars/calendars_request_builder.rb index 2215f311bc..0242a0706c 100644 --- a/lib/users/item/calendars/calendars_request_builder.rb +++ b/lib/users/item/calendars/calendars_request_builder.rb @@ -28,7 +28,7 @@ def count() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## ## Get all the user's calendars (`/calendars` navigation property), get the calendars from the default calendar group or from a specific calendar group. @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -107,6 +107,9 @@ class CalendarsRequestBuilderGetQueryParameters # Include count of items attr_accessor :count ## + # Expand related entities + attr_accessor :expand + ## # Filter items by property values attr_accessor :filter ## @@ -131,6 +134,8 @@ def get_query_parameter(original_name) case original_name when "count" return "%24count" + when "expand" + return "%24expand" when "filter" return "%24filter" when "orderby" diff --git a/lib/users/item/calendars/item/calendar_item_request_builder.rb b/lib/users/item/calendars/item/calendar_item_request_builder.rb index ec5e3d10fa..f1d1459f9e 100644 --- a/lib/users/item/calendars/item/calendar_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_item_request_builder.rb @@ -96,7 +96,7 @@ def calendar_view_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}{?%24select,%24expand}") end ## ## Delete navigation property calendars for users @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -234,6 +234,9 @@ def to_patch_request_information(body, request_configuration=nil) # The user's calendars. Read-only. Nullable. class CalendarItemRequestBuilderGetQueryParameters + ## + # Expand related entities + attr_accessor :expand ## # Select properties to be returned attr_accessor :select @@ -245,6 +248,8 @@ class CalendarItemRequestBuilderGetQueryParameters def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name + when "expand" + return "%24expand" when "select" return "%24select" else diff --git a/lib/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb b/lib/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb index 9551653c53..27a88b88ac 100644 --- a/lib/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_permissions/calendar_permissions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb b/lib/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb index b5c843aa6e..02a6a94773 100644 --- a/lib/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_permissions/item/calendar_permission_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb index ae3ebc6f1f..c92ed7acdb 100644 --- a/lib/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb index a32bca493b..af87206b77 100644 --- a/lib/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 9886f84a63..61bfe50e27 100644 --- a/lib/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb index 76483c0549..65c18d8c8d 100644 --- a/lib/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb index ee31b43cd2..bae6f737f0 100644 --- a/lib/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb index d39cf7a784..e43eaa03c9 100644 --- a/lib/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb index cdccc7e56c..212dc61689 100644 --- a/lib/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb index 852642ba6f..7fec13e2db 100644 --- a/lib/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb index 57bb0ca29a..c89635fd53 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/instances_request_builder.rb @@ -41,10 +41,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -58,7 +58,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -77,13 +77,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -96,6 +99,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb index 60f15c8644..4046b16203 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/accept/accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb index 4fe0850c99..b35b75d815 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/attachments_request_builder.rb @@ -63,7 +63,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -97,7 +97,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 29f4c42b21..ce89737021 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb index c057a08ec6..2d7bbd7e4a 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/cancel/cancel_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb index 7ce72c914c..900f1369f3 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/decline/decline_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb index 775a4e029b..79c5eefdfa 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/event_item_request_builder.rb @@ -118,7 +118,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/calendarView/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -190,10 +190,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb index ed857bd952..950e64e3e7 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb index 49ac2eaa3c..4289e60976 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb index 8f22118141..648289da0f 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index f1a97f90f4..505a0ab2cd 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 08e0e703f7..664afaf4cf 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 171c54fdd8..8281aa1b0d 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 15c7ae603a..b7ff6b1aea 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 3cb8a7ec7f..94056acc97 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index a6f9dbad3c..370d67d7cc 100644 --- a/lib/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 358fec405b..ca52e0f425 100644 --- a/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index f5132716ad..20d16c95f5 100644 --- a/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index a9caac7f2d..d0dcd99da4 100644 --- a/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index ad928349ac..a2b4a2a3b4 100644 --- a/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb index 3b0ca8e93b..3cb086ebf4 100644 --- a/lib/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb index 6ecd7cb804..71e60e78c4 100644 --- a/lib/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendars/item/calendar_view/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/events_request_builder.rb b/lib/users/item/calendars/item/events/events_request_builder.rb index 224b279e00..f7da4a9521 100644 --- a/lib/users/item/calendars/item/events/events_request_builder.rb +++ b/lib/users/item/calendars/item/events/events_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/accept/accept_request_builder.rb b/lib/users/item/calendars/item/events/item/accept/accept_request_builder.rb index 60f63321a7..f08526e029 100644 --- a/lib/users/item/calendars/item/events/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/attachments/attachments_request_builder.rb b/lib/users/item/calendars/item/events/item/attachments/attachments_request_builder.rb index cf455d9683..896ae5d110 100644 --- a/lib/users/item/calendars/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 024a0160d3..e6327992ed 100644 --- a/lib/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/cancel/cancel_request_builder.rb b/lib/users/item/calendars/item/events/item/cancel/cancel_request_builder.rb index 5cbe2fb55c..84523c0fdf 100644 --- a/lib/users/item/calendars/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/decline/decline_request_builder.rb b/lib/users/item/calendars/item/events/item/decline/decline_request_builder.rb index e9db797c5d..fc4dab3580 100644 --- a/lib/users/item/calendars/item/events/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/event_item_request_builder.rb b/lib/users/item/calendars/item/events/item/event_item_request_builder.rb index d359c4611e..beb9b070c6 100644 --- a/lib/users/item/calendars/item/events/item/event_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/event_item_request_builder.rb @@ -262,7 +262,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/extensions/extensions_request_builder.rb b/lib/users/item/calendars/item/events/item/extensions/extensions_request_builder.rb index 4534107bda..f8fa766de9 100644 --- a/lib/users/item/calendars/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb index 6601b16cbe..92db1c9f8c 100644 --- a/lib/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/forward/forward_request_builder.rb b/lib/users/item/calendars/item/events/item/forward/forward_request_builder.rb index 6f5f9278ec..79f687b9a5 100644 --- a/lib/users/item/calendars/item/events/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/instances_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/instances_request_builder.rb index f45896f63d..6cfdd18200 100644 --- a/lib/users/item/calendars/item/events/item/instances/instances_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/instances_request_builder.rb @@ -41,10 +41,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -58,7 +58,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -77,13 +77,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -96,6 +99,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb index c670458076..b8c6350331 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/accept/accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb index e54357db86..548eff3aad 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -63,7 +63,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -97,7 +97,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 56dc297cd5..4af0b94cea 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb index 30614d67f1..3db6f303a1 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb index 9ff0bbabde..1f1d8b8073 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/decline/decline_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/event_item_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/event_item_request_builder.rb index 332971e0a0..5cbf9c777c 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/event_item_request_builder.rb @@ -118,7 +118,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/calendars/{calendar%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -190,10 +190,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb index 4552b8bdc8..d12e1132d6 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 38acf56dd1..2e21f54b5d 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb index 45a1f48385..6680a45a96 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 64fd1cc36b..b92c92030e 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index f9f6355a48..eeb453c899 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 5301fcafaf..1d6bc264ad 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 22b9d66b94..fb1b99f624 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index 0e0acbdca0..c0227a9109 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index 521eb765a3..8b7d932ff5 100644 --- a/lib/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 1a2e99ed1f..d735eccc42 100644 --- a/lib/users/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 994bc5114c..4d1c997a77 100644 --- a/lib/users/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 38ab7c819b..73030314aa 100644 --- a/lib/users/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 3fcc2ca5a8..20337b1edc 100644 --- a/lib/users/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 65550f1495..b298f4ace5 100644 --- a/lib/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index d6867e7c19..762a2e4b37 100644 --- a/lib/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/calendars/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/get_schedule/get_schedule_request_builder.rb b/lib/users/item/calendars/item/get_schedule/get_schedule_request_builder.rb index e20c1487b2..9d3a7a4604 100644 --- a/lib/users/item/calendars/item/get_schedule/get_schedule_request_builder.rb +++ b/lib/users/item/calendars/item/get_schedule/get_schedule_request_builder.rb @@ -59,7 +59,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 8a513bbff5..15b6cb798f 100644 --- a/lib/users/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index b43409c51a..3635d3342a 100644 --- a/lib/users/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 3acbd15782..72089c3eab 100644 --- a/lib/users/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/calendars/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 85d89ff955..2589bc9e45 100644 --- a/lib/users/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/calendars/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/change_password/change_password_request_builder.rb b/lib/users/item/change_password/change_password_request_builder.rb index 47c1caf327..d39f5b0bfc 100644 --- a/lib/users/item/change_password/change_password_request_builder.rb +++ b/lib/users/item/change_password/change_password_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/chats_request_builder.rb b/lib/users/item/chats/chats_request_builder.rb index 409b4a5ccd..ac64467f3c 100644 --- a/lib/users/item/chats/chats_request_builder.rb +++ b/lib/users/item/chats/chats_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/chat_item_request_builder.rb b/lib/users/item/chats/item/chat_item_request_builder.rb index f5a6ff2fe1..ac54d7dbce 100644 --- a/lib/users/item/chats/item/chat_item_request_builder.rb +++ b/lib/users/item/chats/item/chat_item_request_builder.rb @@ -246,7 +246,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/hide_for_user/hide_for_user_request_builder.rb b/lib/users/item/chats/item/hide_for_user/hide_for_user_request_builder.rb index ea5ffe5a65..412a93d475 100644 --- a/lib/users/item/chats/item/hide_for_user/hide_for_user_request_builder.rb +++ b/lib/users/item/chats/item/hide_for_user/hide_for_user_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/item/installed_apps/installed_apps_request_builder.rb b/lib/users/item/chats/item/installed_apps/installed_apps_request_builder.rb index 1d71019cd6..8aa21f0539 100644 --- a/lib/users/item/chats/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/users/item/chats/item/installed_apps/installed_apps_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb index 8ee07d00e5..3639a9a152 100644 --- a/lib/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/users/item/chats/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/last_message_preview/last_message_preview_request_builder.rb b/lib/users/item/chats/item/last_message_preview/last_message_preview_request_builder.rb index d2d3914a9c..18ca2f9563 100644 --- a/lib/users/item/chats/item/last_message_preview/last_message_preview_request_builder.rb +++ b/lib/users/item/chats/item/last_message_preview/last_message_preview_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb b/lib/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb index 55199ac8b8..7678cc77bf 100644 --- a/lib/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb +++ b/lib/users/item/chats/item/mark_chat_read_for_user/mark_chat_read_for_user_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb b/lib/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb index c25baaebd6..c5e7c1489e 100644 --- a/lib/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb +++ b/lib/users/item/chats/item/mark_chat_unread_for_user/mark_chat_unread_for_user_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/item/members/add/add_request_builder.rb b/lib/users/item/chats/item/members/add/add_request_builder.rb index 4ecacf68ba..172c8f7c75 100644 --- a/lib/users/item/chats/item/members/add/add_request_builder.rb +++ b/lib/users/item/chats/item/members/add/add_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/item/members/item/conversation_member_item_request_builder.rb b/lib/users/item/chats/item/members/item/conversation_member_item_request_builder.rb index 6780dc46f1..8cda1d1432 100644 --- a/lib/users/item/chats/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/users/item/chats/item/members/item/conversation_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/members/members_request_builder.rb b/lib/users/item/chats/item/members/members_request_builder.rb index c9067d3c38..7f8c1235d7 100644 --- a/lib/users/item/chats/item/members/members_request_builder.rb +++ b/lib/users/item/chats/item/members/members_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/chat_message_item_request_builder.rb b/lib/users/item/chats/item/messages/item/chat_message_item_request_builder.rb index 37a612e4db..cc68ae1e70 100644 --- a/lib/users/item/chats/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/chat_message_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index ffdb178fa8..a28be3f697 100644 --- a/lib/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index ffc769cd7b..0bff3a1e69 100644 --- a/lib/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -10,6 +10,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -24,6 +25,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::Chats::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -128,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..ed79c3bae0 --- /dev/null +++ b/lib/users/item/chats/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,112 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../users' +require_relative '../../../../../../../item' +require_relative '../../../../../../chats' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module Chats + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/chats/item/messages/item/hosted_contents/item/value/value.rb b/lib/users/item/chats/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb index f977190f0c..80b118aae4 100644 --- a/lib/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index f5edc92a01..75880f2f41 100644 --- a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index a7aefb4c48..5af328c246 100644 --- a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -12,6 +12,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -28,6 +29,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::Chats::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -132,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..aa54cf632c --- /dev/null +++ b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,118 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../users' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../chats' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module Chats + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/users/item/chats/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb b/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb index e4b2a01592..0663ee41f7 100644 --- a/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb +++ b/lib/users/item/chats/item/messages/item/replies/replies_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/messages/messages_request_builder.rb b/lib/users/item/chats/item/messages/messages_request_builder.rb index dbc878853b..9042de6452 100644 --- a/lib/users/item/chats/item/messages/messages_request_builder.rb +++ b/lib/users/item/chats/item/messages/messages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb b/lib/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb index 49fa4e4bae..7111bee43f 100644 --- a/lib/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb +++ b/lib/users/item/chats/item/pinned_messages/item/pinned_chat_message_info_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/pinned_messages/pinned_messages_request_builder.rb b/lib/users/item/chats/item/pinned_messages/pinned_messages_request_builder.rb index 47614fd167..d73198d01f 100644 --- a/lib/users/item/chats/item/pinned_messages/pinned_messages_request_builder.rb +++ b/lib/users/item/chats/item/pinned_messages/pinned_messages_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.rb index 6519bae3c5..e9ba80faf3 100644 --- a/lib/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/users/item/chats/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/chats/item/tabs/item/teams_tab_item_request_builder.rb b/lib/users/item/chats/item/tabs/item/teams_tab_item_request_builder.rb index 5776c94a23..25d77bba94 100644 --- a/lib/users/item/chats/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/users/item/chats/item/tabs/item/teams_tab_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/tabs/tabs_request_builder.rb b/lib/users/item/chats/item/tabs/tabs_request_builder.rb index 0a8ce0156f..611c0add65 100644 --- a/lib/users/item/chats/item/tabs/tabs_request_builder.rb +++ b/lib/users/item/chats/item/tabs/tabs_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.rb b/lib/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.rb index 2981ccb690..01f1f12c37 100644 --- a/lib/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.rb +++ b/lib/users/item/chats/item/unhide_for_user/unhide_for_user_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/check_member_groups/check_member_groups_request_builder.rb b/lib/users/item/check_member_groups/check_member_groups_request_builder.rb index c96118d652..a7c3fd9a02 100644 --- a/lib/users/item/check_member_groups/check_member_groups_request_builder.rb +++ b/lib/users/item/check_member_groups/check_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/check_member_objects/check_member_objects_request_builder.rb b/lib/users/item/check_member_objects/check_member_objects_request_builder.rb index 8e8370f7b3..87770c1bba 100644 --- a/lib/users/item/check_member_objects/check_member_objects_request_builder.rb +++ b/lib/users/item/check_member_objects/check_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/contact_folders/contact_folders_request_builder.rb b/lib/users/item/contact_folders/contact_folders_request_builder.rb index 09f4d7c031..16124455e9 100644 --- a/lib/users/item/contact_folders/contact_folders_request_builder.rb +++ b/lib/users/item/contact_folders/contact_folders_request_builder.rb @@ -34,7 +34,7 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/contactFolders{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/contactFolders{?%24top,%24skip,%24filter,%24count,%24orderby,%24select,%24expand}") end ## ## Get the contact folder collection in the default Contacts folder of the signed-in user. @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -113,6 +113,9 @@ class ContactFoldersRequestBuilderGetQueryParameters # Include count of items attr_accessor :count ## + # Expand related entities + attr_accessor :expand + ## # Filter items by property values attr_accessor :filter ## @@ -137,6 +140,8 @@ def get_query_parameter(original_name) case original_name when "count" return "%24count" + when "expand" + return "%24expand" when "filter" return "%24filter" when "orderby" diff --git a/lib/users/item/contact_folders/item/child_folders/child_folders_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/child_folders_request_builder.rb index d7cd649da3..25dd78be2a 100644 --- a/lib/users/item/contact_folders/item/child_folders/child_folders_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/child_folders_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb index 83e7197c0d..6f84a10825 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contact_folder_item_request_builder.rb @@ -178,7 +178,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb index bd58682174..e80abe6213 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/contacts_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb index 8554575f67..5b53901535 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/contact_item_request_builder.rb @@ -188,7 +188,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb index e9d2934c30..a6f69e310e 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb index e3c6addc76..736e8747a8 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 548450f9ea..60c62a5fca 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index c86e4c4700..0a0af411f8 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb index 5d38d43eaf..af84780454 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/photo_request_builder.rb @@ -106,7 +106,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb index e96426ec98..ba6019b404 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/photo/value/content_request_builder.rb @@ -54,7 +54,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +64,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from users @@ -98,7 +98,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 3d9d8f257e..0e044069ba 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index a3f18291d7..d95f7877fd 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 0a234c75fb..daad32423f 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 6624f8caa2..0bc8929b1b 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 929a100e9d..a0e48eb5d7 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 05983a315a..5f957a3fbb 100644 --- a/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contact_folder_item_request_builder.rb b/lib/users/item/contact_folders/item/contact_folder_item_request_builder.rb index 2de1fdbdc0..34dd284c27 100644 --- a/lib/users/item/contact_folders/item/contact_folder_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/contact_folder_item_request_builder.rb @@ -62,7 +62,7 @@ def child_folders_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/contactFolders/{contactFolder%2Did}{?%24select,%24expand}") end ## ## Provides operations to manage the contacts property of the microsoft.graph.contactFolder entity. @@ -192,7 +192,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end @@ -200,6 +200,9 @@ def to_patch_request_information(body, request_configuration=nil) # The user's contacts folders. Read-only. Nullable. class ContactFolderItemRequestBuilderGetQueryParameters + ## + # Expand related entities + attr_accessor :expand ## # Select properties to be returned attr_accessor :select @@ -211,6 +214,8 @@ class ContactFolderItemRequestBuilderGetQueryParameters def get_query_parameter(original_name) raise StandardError, 'original_name cannot be null' if original_name.nil? case original_name + when "expand" + return "%24expand" when "select" return "%24select" else diff --git a/lib/users/item/contact_folders/item/contacts/contacts_request_builder.rb b/lib/users/item/contact_folders/item/contacts/contacts_request_builder.rb index 4d8b4babe4..a3f3744086 100644 --- a/lib/users/item/contact_folders/item/contacts/contacts_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/contacts_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/contact_item_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/contact_item_request_builder.rb index e4c41bee7c..62b3ebf8db 100644 --- a/lib/users/item/contact_folders/item/contacts/item/contact_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/contact_item_request_builder.rb @@ -184,7 +184,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb index 00797d2d87..c64d5019cf 100644 --- a/lib/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb index abf655ce3a..e0b75dd30a 100644 --- a/lib/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 11dc40afe7..c9c61d44d2 100644 --- a/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index cf434a41ac..546e638f51 100644 --- a/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.rb index db7afc2c71..60d76267f5 100644 --- a/lib/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/photo/photo_request_builder.rb @@ -102,7 +102,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.rb index 74caa6b5ca..20fd441ee5 100644 --- a/lib/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/photo/value/content_request_builder.rb @@ -50,7 +50,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +60,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from users @@ -94,7 +94,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b569cd520b..1bd6a01428 100644 --- a/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 9b6f5b2108..a4eabbabaf 100644 --- a/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 48032d8464..48df8ab8ca 100644 --- a/lib/users/item/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 6f7de582f7..b469f15adb 100644 --- a/lib/users/item/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index b7f01bb22a..dab0b39ee1 100644 --- a/lib/users/item/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contact_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index b0dd2f26f9..5da4ed21ec 100644 --- a/lib/users/item/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/contact_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/contacts_request_builder.rb b/lib/users/item/contacts/contacts_request_builder.rb index 7dd49bf5bf..0cec6a4f04 100644 --- a/lib/users/item/contacts/contacts_request_builder.rb +++ b/lib/users/item/contacts/contacts_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/contact_item_request_builder.rb b/lib/users/item/contacts/item/contact_item_request_builder.rb index edb8a77c24..7f6e737e83 100644 --- a/lib/users/item/contacts/item/contact_item_request_builder.rb +++ b/lib/users/item/contacts/item/contact_item_request_builder.rb @@ -180,7 +180,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/extensions/extensions_request_builder.rb b/lib/users/item/contacts/item/extensions/extensions_request_builder.rb index f2cb8e354c..72fb6b586b 100644 --- a/lib/users/item/contacts/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/contacts/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/contacts/item/extensions/item/extension_item_request_builder.rb index 185961a3b2..174a12a8af 100644 --- a/lib/users/item/contacts/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/contacts/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index e95b3ab764..933d26dc31 100644 --- a/lib/users/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contacts/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 7f538fcc97..27a5fce97d 100644 --- a/lib/users/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/contacts/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/photo/photo_request_builder.rb b/lib/users/item/contacts/item/photo/photo_request_builder.rb index 02eb8adb98..83bf8947c5 100644 --- a/lib/users/item/contacts/item/photo/photo_request_builder.rb +++ b/lib/users/item/contacts/item/photo/photo_request_builder.rb @@ -98,7 +98,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/photo/value/content_request_builder.rb b/lib/users/item/contacts/item/photo/value/content_request_builder.rb index bf88bbe552..a2cc0d7d26 100644 --- a/lib/users/item/contacts/item/photo/value/content_request_builder.rb +++ b/lib/users/item/contacts/item/photo/value/content_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from users @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 45ed5c8573..df1539457c 100644 --- a/lib/users/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/contacts/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 39f6dd7302..bc890ffd7c 100644 --- a/lib/users/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/contacts/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb b/lib/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb index d02eb3fbc0..a4711c2c0a 100644 --- a/lib/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb +++ b/lib/users/item/device_management_troubleshooting_events/device_management_troubleshooting_events_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb b/lib/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb index fff202a7c6..15a18cd367 100644 --- a/lib/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb +++ b/lib/users/item/device_management_troubleshooting_events/item/device_management_troubleshooting_event_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/events_request_builder.rb b/lib/users/item/events/events_request_builder.rb index 30e4470f40..8a41b70f56 100644 --- a/lib/users/item/events/events_request_builder.rb +++ b/lib/users/item/events/events_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/accept/accept_request_builder.rb b/lib/users/item/events/item/accept/accept_request_builder.rb index 8e30da8a0a..d961a42ce5 100644 --- a/lib/users/item/events/item/accept/accept_request_builder.rb +++ b/lib/users/item/events/item/accept/accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/attachments/attachments_request_builder.rb b/lib/users/item/events/item/attachments/attachments_request_builder.rb index 73397fc578..ad9eca7c43 100644 --- a/lib/users/item/events/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/events/item/attachments/attachments_request_builder.rb @@ -55,7 +55,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -89,7 +89,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 5d20f5c2ed..8766a5a94c 100644 --- a/lib/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/events/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/cancel/cancel_request_builder.rb b/lib/users/item/events/item/cancel/cancel_request_builder.rb index 792a78ad82..c122b14adc 100644 --- a/lib/users/item/events/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/events/item/cancel/cancel_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/decline/decline_request_builder.rb b/lib/users/item/events/item/decline/decline_request_builder.rb index 04e35ba3f0..e8e4fe686c 100644 --- a/lib/users/item/events/item/decline/decline_request_builder.rb +++ b/lib/users/item/events/item/decline/decline_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/event_item_request_builder.rb b/lib/users/item/events/item/event_item_request_builder.rb index c11b20b36d..336bc3121d 100644 --- a/lib/users/item/events/item/event_item_request_builder.rb +++ b/lib/users/item/events/item/event_item_request_builder.rb @@ -258,7 +258,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/extensions/extensions_request_builder.rb b/lib/users/item/events/item/extensions/extensions_request_builder.rb index 3107923ea9..2d42d9b513 100644 --- a/lib/users/item/events/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/events/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/events/item/extensions/item/extension_item_request_builder.rb index d0d48160ba..e7a3a8c728 100644 --- a/lib/users/item/events/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/events/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/forward/forward_request_builder.rb b/lib/users/item/events/item/forward/forward_request_builder.rb index 1f7ef5ec9b..c4bd32b235 100644 --- a/lib/users/item/events/item/forward/forward_request_builder.rb +++ b/lib/users/item/events/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/instances_request_builder.rb b/lib/users/item/events/item/instances/instances_request_builder.rb index 457ce0f7ac..b7e78638b6 100644 --- a/lib/users/item/events/item/instances/instances_request_builder.rb +++ b/lib/users/item/events/item/instances/instances_request_builder.rb @@ -37,10 +37,10 @@ def delta() ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances{?%24top,%24skip,%24filter,%24count,%24orderby,%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances{?startDateTime*,endDateTime*,%24top,%24skip,%24filter,%24count,%24orderby,%24select}") end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of event_collection_response ## @@ -54,7 +54,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::EventCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + ## The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -73,13 +73,16 @@ def to_get_request_information(request_configuration=nil) end ## - # Get the instances (occurrences) of an event for a specified time range. If the event is a `seriesMaster` type, this returns the occurrences and exceptions of the event in the specified time range. + # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class InstancesRequestBuilderGetQueryParameters ## # Include count of items attr_accessor :count ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time + ## # Filter items by property values attr_accessor :filter ## @@ -92,6 +95,9 @@ class InstancesRequestBuilderGetQueryParameters # Skip the first n items attr_accessor :skip ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## # Show only the first n items attr_accessor :top ## diff --git a/lib/users/item/events/item/instances/item/accept/accept_request_builder.rb b/lib/users/item/events/item/instances/item/accept/accept_request_builder.rb index e1e58daa57..1c886516a3 100644 --- a/lib/users/item/events/item/instances/item/accept/accept_request_builder.rb +++ b/lib/users/item/events/item/instances/item/accept/accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/attachments/attachments_request_builder.rb b/lib/users/item/events/item/instances/item/attachments/attachments_request_builder.rb index 08c1f11a10..7de97a3faa 100644 --- a/lib/users/item/events/item/instances/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/events/item/instances/item/attachments/attachments_request_builder.rb @@ -59,7 +59,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of attachment @@ -93,7 +93,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Use this API to create a new Attachment. An attachment can be one of the following types: All these types of attachment resources are derived from the attachmentresource. + ## Use this API to add an attachment to an existing event. This operation limits the size of the attachment you can add to under 3 MB. If an organizer adds an attachment to a meeting event, the organizer can subsequently update the event to send the attachment and update the event for each attendee as well. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 51339222dc..29c88314cf 100644 --- a/lib/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/events/item/instances/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/cancel/cancel_request_builder.rb b/lib/users/item/events/item/instances/item/cancel/cancel_request_builder.rb index c5a2ce2b42..d69d3fd196 100644 --- a/lib/users/item/events/item/instances/item/cancel/cancel_request_builder.rb +++ b/lib/users/item/events/item/instances/item/cancel/cancel_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/decline/decline_request_builder.rb b/lib/users/item/events/item/instances/item/decline/decline_request_builder.rb index 5e122cbc0a..686f1cfb64 100644 --- a/lib/users/item/events/item/instances/item/decline/decline_request_builder.rb +++ b/lib/users/item/events/item/instances/item/decline/decline_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/event_item_request_builder.rb b/lib/users/item/events/item/instances/item/event_item_request_builder.rb index 2562b6f117..6bb592356e 100644 --- a/lib/users/item/events/item/instances/item/event_item_request_builder.rb +++ b/lib/users/item/events/item/instances/item/event_item_request_builder.rb @@ -114,7 +114,7 @@ def attachments_by_id(id) ## @return a void ## def initialize(path_parameters, request_adapter) - super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}{?%24select}") + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/events/{event%2Did}/instances/{event%2Did1}{?startDateTime*,endDateTime*,%24select}") end ## ## Provides operations to manage the extensions property of the microsoft.graph.event entity. @@ -186,10 +186,16 @@ def to_get_request_information(request_configuration=nil) # The occurrences of a recurring series, if the event is a series master. This property includes occurrences that are part of the recurrence pattern, and exceptions that have been modified, but does not include occurrences that have been cancelled from the series. Navigation property. Read-only. Nullable. class EventItemRequestBuilderGetQueryParameters + ## + # The end date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T20:00:00-08:00 + attr_accessor :end_date_time ## # Select properties to be returned attr_accessor :select ## + # The start date and time of the time range, represented in ISO 8601 format. For example, 2019-11-08T19:00:00-08:00 + attr_accessor :start_date_time + ## ## Maps the query parameters names to their encoded names for the URI template parsing. ## @param original_name The original query parameter name in the class. ## @return a string diff --git a/lib/users/item/events/item/instances/item/extensions/extensions_request_builder.rb b/lib/users/item/events/item/instances/item/extensions/extensions_request_builder.rb index 3dd1c89768..53317de224 100644 --- a/lib/users/item/events/item/instances/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/events/item/instances/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb index 2e639772ec..7b60013f0e 100644 --- a/lib/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/events/item/instances/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/forward/forward_request_builder.rb b/lib/users/item/events/item/instances/item/forward/forward_request_builder.rb index 0d25d98f84..099232ccb9 100644 --- a/lib/users/item/events/item/instances/item/forward/forward_request_builder.rb +++ b/lib/users/item/events/item/instances/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 2ec6ae45f8..1e8581878b 100644 --- a/lib/users/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/events/item/instances/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 4c2de637ad..f84c8d4527 100644 --- a/lib/users/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/events/item/instances/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 0cb4553d53..58a6adc341 100644 --- a/lib/users/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/events/item/instances/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 4a5814e762..0f23bae49b 100644 --- a/lib/users/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/events/item/instances/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb index a49ded1d72..f79dae7019 100644 --- a/lib/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/events/item/instances/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb index c8ea787bda..da9219bc9d 100644 --- a/lib/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/events/item/instances/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 6bc1f5fbd7..f8b5164831 100644 --- a/lib/users/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/events/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 840e4ec870..cde1266842 100644 --- a/lib/users/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/events/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 409a6ab564..9dcbfaa729 100644 --- a/lib/users/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/events/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index adb579f615..e5d9e4a28d 100644 --- a/lib/users/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/events/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb b/lib/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb index 70a4a96a5c..dae8070962 100644 --- a/lib/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb +++ b/lib/users/item/events/item/snooze_reminder/snooze_reminder_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb b/lib/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb index 58e61fcd8f..c5d3e0eb36 100644 --- a/lib/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb +++ b/lib/users/item/events/item/tentatively_accept/tentatively_accept_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/export_personal_data/export_personal_data_request_builder.rb b/lib/users/item/export_personal_data/export_personal_data_request_builder.rb index 2333336d3a..162fa82c7a 100644 --- a/lib/users/item/export_personal_data/export_personal_data_request_builder.rb +++ b/lib/users/item/export_personal_data/export_personal_data_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/extensions/extensions_request_builder.rb b/lib/users/item/extensions/extensions_request_builder.rb index a0baaa4e46..e4a8dfa117 100644 --- a/lib/users/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/extensions/extensions_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/extensions/item/extension_item_request_builder.rb index 037b080a5c..f1bccc023a 100644 --- a/lib/users/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/extensions/item/extension_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/find_meeting_times/find_meeting_times_request_builder.rb b/lib/users/item/find_meeting_times/find_meeting_times_request_builder.rb index 6f869e8fb2..5ce34749da 100644 --- a/lib/users/item/find_meeting_times/find_meeting_times_request_builder.rb +++ b/lib/users/item/find_meeting_times/find_meeting_times_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/get_mail_tips/get_mail_tips_request_builder.rb b/lib/users/item/get_mail_tips/get_mail_tips_request_builder.rb index 2d52497a7d..72d8375575 100644 --- a/lib/users/item/get_mail_tips/get_mail_tips_request_builder.rb +++ b/lib/users/item/get_mail_tips/get_mail_tips_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/get_member_groups/get_member_groups_request_builder.rb b/lib/users/item/get_member_groups/get_member_groups_request_builder.rb index 30ffe66daa..0e34dc4b8c 100644 --- a/lib/users/item/get_member_groups/get_member_groups_request_builder.rb +++ b/lib/users/item/get_member_groups/get_member_groups_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/get_member_objects/get_member_objects_request_builder.rb b/lib/users/item/get_member_objects/get_member_objects_request_builder.rb index 31d417daf0..ec6396d47d 100644 --- a/lib/users/item/get_member_objects/get_member_objects_request_builder.rb +++ b/lib/users/item/get_member_objects/get_member_objects_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/inference_classification/inference_classification_request_builder.rb b/lib/users/item/inference_classification/inference_classification_request_builder.rb index 4a488c70ed..5d07a5606d 100644 --- a/lib/users/item/inference_classification/inference_classification_request_builder.rb +++ b/lib/users/item/inference_classification/inference_classification_request_builder.rb @@ -106,7 +106,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb b/lib/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb index 37685dc593..7ee3a764b7 100644 --- a/lib/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb +++ b/lib/users/item/inference_classification/overrides/item/inference_classification_override_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/inference_classification/overrides/overrides_request_builder.rb b/lib/users/item/inference_classification/overrides/overrides_request_builder.rb index 3f6041fea4..d15d03cf0a 100644 --- a/lib/users/item/inference_classification/overrides/overrides_request_builder.rb +++ b/lib/users/item/inference_classification/overrides/overrides_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/insights_request_builder.rb b/lib/users/item/insights/insights_request_builder.rb index a39729cf40..d0fa90bee0 100644 --- a/lib/users/item/insights/insights_request_builder.rb +++ b/lib/users/item/insights/insights_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/users/item/insights/shared/item/shared_insight_item_request_builder.rb b/lib/users/item/insights/shared/item/shared_insight_item_request_builder.rb index 0f0fa8ffd1..c74cf400f4 100644 --- a/lib/users/item/insights/shared/item/shared_insight_item_request_builder.rb +++ b/lib/users/item/insights/shared/item/shared_insight_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/shared/shared_request_builder.rb b/lib/users/item/insights/shared/shared_request_builder.rb index 0903343e9f..bf897839ba 100644 --- a/lib/users/item/insights/shared/shared_request_builder.rb +++ b/lib/users/item/insights/shared/shared_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/trending/item/trending_item_request_builder.rb b/lib/users/item/insights/trending/item/trending_item_request_builder.rb index 574edeecff..fc2bd1cbc2 100644 --- a/lib/users/item/insights/trending/item/trending_item_request_builder.rb +++ b/lib/users/item/insights/trending/item/trending_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/trending/trending_request_builder.rb b/lib/users/item/insights/trending/trending_request_builder.rb index a8144b9e38..4097fc4cb5 100644 --- a/lib/users/item/insights/trending/trending_request_builder.rb +++ b/lib/users/item/insights/trending/trending_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/used/item/used_insight_item_request_builder.rb b/lib/users/item/insights/used/item/used_insight_item_request_builder.rb index a2ef4e0fc3..eb4aaab714 100644 --- a/lib/users/item/insights/used/item/used_insight_item_request_builder.rb +++ b/lib/users/item/insights/used/item/used_insight_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/insights/used/used_request_builder.rb b/lib/users/item/insights/used/used_request_builder.rb index d7ee839e40..90ad04301c 100644 --- a/lib/users/item/insights/used/used_request_builder.rb +++ b/lib/users/item/insights/used/used_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/archive/archive_request_builder.rb b/lib/users/item/joined_teams/item/archive/archive_request_builder.rb index ac32a61c10..81c8b1149e 100644 --- a/lib/users/item/joined_teams/item/archive/archive_request_builder.rb +++ b/lib/users/item/joined_teams/item/archive/archive_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/channels/channels_request_builder.rb b/lib/users/item/joined_teams/item/channels/channels_request_builder.rb index 4d448e35d1..fad3256538 100644 --- a/lib/users/item/joined_teams/item/channels/channels_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/channels_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/channel_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/channel_item_request_builder.rb index 2c5e12566e..1c7d7fc691 100644 --- a/lib/users/item/joined_teams/item/channels/item/channel_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/channel_item_request_builder.rb @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb index f13bb2f9c7..94a809c6d0 100644 --- a/lib/users/item/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../models/drive_item' require_relative '../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../users' require_relative '../../../../../../item' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/channels/item/members/add/add_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/members/add/add_request_builder.rb index 3a97237507..54b4b59b99 100644 --- a/lib/users/item/joined_teams/item/channels/item/members/add/add_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/members/add/add_request_builder.rb @@ -65,7 +65,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb index 8c8540deed..f7dad8552e 100644 --- a/lib/users/item/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/members/item/conversation_member_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb index 4d81db4789..99237b96b1 100644 --- a/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/members/members_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb index 956d8b30f2..f77f5914f0 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/chat_message_item_request_builder.rb @@ -176,7 +176,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb index f8ecad7c16..f086b7828d 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 4c02ca6962..2eb921381c 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -12,6 +12,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -28,6 +29,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::JoinedTeams::Item::Channels::Item::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -132,7 +138,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..28f33caef8 --- /dev/null +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,118 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../users' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../joined_teams' +require_relative '../../../../../../../item' +require_relative '../../../../../../channels' +require_relative '../../../../../item' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module JoinedTeams + module Item + module Channels + module Item + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb index 520e85b7f1..23159a2380 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/chat_message_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index e6eff94eb2..86737007aa 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 3be568f23e..05c73f7030 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -14,6 +14,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -32,6 +33,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::JoinedTeams::Item::Channels::Item::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -136,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..4f1df70a0c --- /dev/null +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,124 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../users' +require_relative '../../../../../../../../../../../item' +require_relative '../../../../../../../../../../joined_teams' +require_relative '../../../../../../../../../item' +require_relative '../../../../../../../../channels' +require_relative '../../../../../../../item' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module JoinedTeams + module Item + module Channels + module Item + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/channels/{channel%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb index 6db7979bce..9067b7794f 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/item/replies/replies_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb index e55e888323..d8808bf5b8 100644 --- a/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/messages/messages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 08f8004942..3ad9bf285f 100644 --- a/lib/users/item/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb index 450a41585f..6688e1da81 100644 --- a/lib/users/item/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/shared_with_teams/shared_with_teams_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb index 0f0ef8bdd7..b34804a804 100644 --- a/lib/users/item/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/tabs/item/teams_tab_item_request_builder.rb @@ -134,7 +134,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/channels/item/tabs/tabs_request_builder.rb b/lib/users/item/joined_teams/item/channels/item/tabs/tabs_request_builder.rb index 561336146d..ac2644f1a8 100644 --- a/lib/users/item/joined_teams/item/channels/item/tabs/tabs_request_builder.rb +++ b/lib/users/item/joined_teams/item/channels/item/tabs/tabs_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/clone/clone_request_builder.rb b/lib/users/item/joined_teams/item/clone/clone_request_builder.rb index d34f768488..b87f6f1425 100644 --- a/lib/users/item/joined_teams/item/clone/clone_request_builder.rb +++ b/lib/users/item/joined_teams/item/clone/clone_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/installed_apps/installed_apps_request_builder.rb b/lib/users/item/joined_teams/item/installed_apps/installed_apps_request_builder.rb index baffb88c2e..4181378110 100644 --- a/lib/users/item/joined_teams/item/installed_apps/installed_apps_request_builder.rb +++ b/lib/users/item/joined_teams/item/installed_apps/installed_apps_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb b/lib/users/item/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb index d7d694edd3..1ac3b06a4b 100644 --- a/lib/users/item/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/installed_apps/item/teams_app_installation_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/members/add/add_request_builder.rb b/lib/users/item/joined_teams/item/members/add/add_request_builder.rb index eb2a97663c..ca9ec64c71 100644 --- a/lib/users/item/joined_teams/item/members/add/add_request_builder.rb +++ b/lib/users/item/joined_teams/item/members/add/add_request_builder.rb @@ -61,7 +61,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/members/item/conversation_member_item_request_builder.rb b/lib/users/item/joined_teams/item/members/item/conversation_member_item_request_builder.rb index 5953e426c6..d36aa7cb64 100644 --- a/lib/users/item/joined_teams/item/members/item/conversation_member_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/members/item/conversation_member_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/members/members_request_builder.rb b/lib/users/item/joined_teams/item/members/members_request_builder.rb index 592f3d900c..3fed43db66 100644 --- a/lib/users/item/joined_teams/item/members/members_request_builder.rb +++ b/lib/users/item/joined_teams/item/members/members_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb b/lib/users/item/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb index 4d5953ec97..a703ef8d0c 100644 --- a/lib/users/item/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/operations/item/teams_async_operation_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/operations/operations_request_builder.rb b/lib/users/item/joined_teams/item/operations/operations_request_builder.rb index f0a0c2d686..24ba4ff05c 100644 --- a/lib/users/item/joined_teams/item/operations/operations_request_builder.rb +++ b/lib/users/item/joined_teams/item/operations/operations_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/photo/photo_request_builder.rb b/lib/users/item/joined_teams/item/photo/photo_request_builder.rb index 9f7719e375..fe871f5530 100644 --- a/lib/users/item/joined_teams/item/photo/photo_request_builder.rb +++ b/lib/users/item/joined_teams/item/photo/photo_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/photo/value/content_request_builder.rb b/lib/users/item/joined_teams/item/photo/value/content_request_builder.rb index 81bd4784b1..af0d1a1846 100644 --- a/lib/users/item/joined_teams/item/photo/value/content_request_builder.rb +++ b/lib/users/item/joined_teams/item/photo/value/content_request_builder.rb @@ -46,7 +46,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +56,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from users @@ -90,7 +90,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb index 771a06d1f1..c3c68d869e 100644 --- a/lib/users/item/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/files_folder/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../microsoft_graph' +require_relative '../../../../../../../models/drive_item' require_relative '../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../users' require_relative '../../../../../item' @@ -48,7 +49,7 @@ def get(request_configuration=nil) ## The content stream, if the item represents a file. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of drive_item ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +59,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::DriveItem.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream, if the item represents a file. @@ -88,11 +89,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/primary_channel/members/add/add_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/members/add/add_request_builder.rb index 401570722e..fcdb08df7b 100644 --- a/lib/users/item/joined_teams/item/primary_channel/members/add/add_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/members/add/add_request_builder.rb @@ -63,7 +63,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb index 2532d22ce7..e1de6aafa2 100644 --- a/lib/users/item/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/members/item/conversation_member_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb index 8c186f7199..24a6d0859b 100644 --- a/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/members/members_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb index 3bb9a84cc4..86c87bed6a 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/chat_message_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb index e5da1953f0..9da0f6965d 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/hosted_contents_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index 5e6aea0db6..ca3f31ffd7 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -11,6 +11,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -26,6 +27,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::JoinedTeams::Item::PrimaryChannel::Messages::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -130,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..d0dbbb0f96 --- /dev/null +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,115 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../users' +require_relative '../../../../../../../../item' +require_relative '../../../../../../../joined_teams' +require_relative '../../../../../../item' +require_relative '../../../../../primary_channel' +require_relative '../../../../messages' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module JoinedTeams + module Item + module PrimaryChannel + module Messages + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb index aa38251fb0..df9f6ef7eb 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/chat_message_item_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb index 8bc17bc97e..1fe880fbae 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/hosted_contents_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb index b94e69b7dd..c76c689b89 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/chat_message_hosted_content_item_request_builder.rb @@ -13,6 +13,7 @@ require_relative '../../item' require_relative '../hosted_contents' require_relative './item' +require_relative './value/content_request_builder' module MicrosoftGraph module Users @@ -30,6 +31,11 @@ module Item # Provides operations to manage the hostedContents property of the microsoft.graph.chatMessage entity. class ChatMessageHostedContentItemRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + ## + # Provides operations to manage the media for the user entity. + def content() + return MicrosoftGraph::Users::Item::JoinedTeams::Item::PrimaryChannel::Messages::Item::Replies::Item::HostedContents::Item::Value::ContentRequestBuilder.new(@path_parameters, @request_adapter) + end ## ## Instantiates a new ChatMessageHostedContentItemRequestBuilder and sets the default values. ## @param path_parameters Path parameters for the request @@ -134,7 +140,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb new file mode 100644 index 0000000000..9e56c8c9b3 --- /dev/null +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/content_request_builder.rb @@ -0,0 +1,121 @@ +require 'microsoft_kiota_abstractions' +require_relative '../../../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../users' +require_relative '../../../../../../../../../../item' +require_relative '../../../../../../../../../joined_teams' +require_relative '../../../../../../../../item' +require_relative '../../../../../../../primary_channel' +require_relative '../../../../../../messages' +require_relative '../../../../../item' +require_relative '../../../../replies' +require_relative '../../../item' +require_relative '../../hosted_contents' +require_relative '../item' +require_relative './value' + +module MicrosoftGraph + module Users + module Item + module JoinedTeams + module Item + module PrimaryChannel + module Messages + module Item + module Replies + module Item + module HostedContents + module Item + module Value + ## + # Provides operations to manage the media for the user entity. + class ContentRequestBuilder < MicrosoftKiotaAbstractions::BaseRequestBuilder + + ## + ## Instantiates a new ContentRequestBuilder and sets the default values. + ## @param path_parameters Path parameters for the request + ## @param request_adapter The request adapter to use to execute the requests. + ## @return a void + ## + def initialize(path_parameters, request_adapter) + super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/joinedTeams/{team%2Did}/primaryChannel/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents/{chatMessageHostedContent%2Did}/$value") + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def get(request_configuration=nil) + request_info = self.to_get_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of binary + ## + def put(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = self.to_put_request_information( + body, request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, Binary, error_mapping) + end + ## + ## Get media content for the navigation property hostedContents from users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_get_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :GET + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## + ## Update media content for the navigation property hostedContents in users + ## @param body Binary request body + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_put_request_information(body, request_configuration=nil) + raise StandardError, 'body cannot be null' if body.nil? + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :PUT + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + request_info.set_content_from_parsable(@request_adapter, "", body) + return request_info + end + end + end + end + end + end + end + end + end + end + end + end + end + end +end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/item/hosted_contents/item/value/value.rb new file mode 100644 index 0000000000..e69de29bb2 diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb index aa50b93623..81b16402c6 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/item/replies/replies_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb index 3aff83a692..7ccaa368f1 100644 --- a/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/messages/messages_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.rb index ab55b63e1b..0e55c9d05f 100644 --- a/lib/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/primary_channel_request_builder.rb @@ -224,7 +224,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb index 954ed34d8f..4bcbc47098 100644 --- a/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/item/shared_with_channel_team_info_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb index 032cb71f58..09940734e5 100644 --- a/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/shared_with_teams/shared_with_teams_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb index 9b4d7819b5..813ed7eec7 100644 --- a/lib/users/item/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/tabs/item/teams_tab_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb b/lib/users/item/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb index f74df843c7..00c75b1001 100644 --- a/lib/users/item/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb +++ b/lib/users/item/joined_teams/item/primary_channel/tabs/tabs_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb index e1ca44a846..73337b8243 100644 --- a/lib/users/item/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/offer_shift_requests/item/offer_shift_request_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb b/lib/users/item/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb index e3021eebeb..d161651794 100644 --- a/lib/users/item/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/offer_shift_requests/offer_shift_requests_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb index 0668678231..174a548964 100644 --- a/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/item/open_shift_change_request_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb b/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb index 9a7dba582f..7978290aa3 100644 --- a/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/open_shift_change_requests/open_shift_change_requests_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb index ac334073c8..e344db5854 100644 --- a/lib/users/item/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/open_shifts/item/open_shift_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb b/lib/users/item/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb index 9e1c67880d..e1604e3471 100644 --- a/lib/users/item/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/open_shifts/open_shifts_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/schedule_request_builder.rb b/lib/users/item/joined_teams/item/schedule/schedule_request_builder.rb index 1cea5f8b0f..5a891363bf 100644 --- a/lib/users/item/joined_teams/item/schedule/schedule_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/schedule_request_builder.rb @@ -290,7 +290,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb index b1f834c288..a9dedf5c98 100644 --- a/lib/users/item/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/scheduling_groups/item/scheduling_group_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb b/lib/users/item/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb index d5a0005bb0..77bb6adb3d 100644 --- a/lib/users/item/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/scheduling_groups/scheduling_groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/share/share_request_builder.rb b/lib/users/item/joined_teams/item/schedule/share/share_request_builder.rb index cc7499e478..bf9380eb99 100644 --- a/lib/users/item/joined_teams/item/schedule/share/share_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/share/share_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb index 95bb0791b0..5a2e950314 100644 --- a/lib/users/item/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/shifts/item/shift_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/shifts/shifts_request_builder.rb b/lib/users/item/joined_teams/item/schedule/shifts/shifts_request_builder.rb index 9688638758..11fe891b99 100644 --- a/lib/users/item/joined_teams/item/schedule/shifts/shifts_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/shifts/shifts_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb index e15f2922c4..468aa858ef 100644 --- a/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/item/swap_shifts_change_request_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb b/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb index 5a245af141..e3d4b67abe 100644 --- a/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/swap_shifts_change_requests/swap_shifts_change_requests_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb index 9bf46b9050..759c3313d1 100644 --- a/lib/users/item/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/time_off_reasons/item/time_off_reason_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb b/lib/users/item/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb index 2fabf3b36f..bbb79bfbe0 100644 --- a/lib/users/item/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/time_off_reasons/time_off_reasons_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb index 39101bce55..839c884849 100644 --- a/lib/users/item/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/time_off_requests/item/time_off_request_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb b/lib/users/item/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb index 373ced861a..5ed0b2a1ca 100644 --- a/lib/users/item/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/time_off_requests/time_off_requests_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb b/lib/users/item/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb index 3934d9020d..7e81ea10de 100644 --- a/lib/users/item/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/times_off/item/time_off_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/schedule/times_off/times_off_request_builder.rb b/lib/users/item/joined_teams/item/schedule/times_off/times_off_request_builder.rb index b97976306f..c75ac73811 100644 --- a/lib/users/item/joined_teams/item/schedule/times_off/times_off_request_builder.rb +++ b/lib/users/item/joined_teams/item/schedule/times_off/times_off_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb b/lib/users/item/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb index 1ca16e1a4e..17203f7e93 100644 --- a/lib/users/item/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/users/item/joined_teams/item/send_activity_notification/send_activity_notification_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb b/lib/users/item/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb index 4f38ada524..1797604b8d 100644 --- a/lib/users/item/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/tags/item/members/item/teamwork_tag_member_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/tags/item/members/members_request_builder.rb b/lib/users/item/joined_teams/item/tags/item/members/members_request_builder.rb index 3947b779a9..2499dc1ea6 100644 --- a/lib/users/item/joined_teams/item/tags/item/members/members_request_builder.rb +++ b/lib/users/item/joined_teams/item/tags/item/members/members_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb b/lib/users/item/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb index 5d9315f48f..abb7119aeb 100644 --- a/lib/users/item/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/tags/item/teamwork_tag_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/tags/tags_request_builder.rb b/lib/users/item/joined_teams/item/tags/tags_request_builder.rb index b2be761800..4f1d1f2322 100644 --- a/lib/users/item/joined_teams/item/tags/tags_request_builder.rb +++ b/lib/users/item/joined_teams/item/tags/tags_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/item/team_item_request_builder.rb b/lib/users/item/joined_teams/item/team_item_request_builder.rb index ca72c4e9e4..f443ab23bd 100644 --- a/lib/users/item/joined_teams/item/team_item_request_builder.rb +++ b/lib/users/item/joined_teams/item/team_item_request_builder.rb @@ -306,7 +306,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/joined_teams/joined_teams_request_builder.rb b/lib/users/item/joined_teams/joined_teams_request_builder.rb index d83ea35182..748ef9e53d 100644 --- a/lib/users/item/joined_teams/joined_teams_request_builder.rb +++ b/lib/users/item/joined_teams/joined_teams_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/license_details/item/license_details_item_request_builder.rb b/lib/users/item/license_details/item/license_details_item_request_builder.rb index 44534da3d6..c8216dbaa0 100644 --- a/lib/users/item/license_details/item/license_details_item_request_builder.rb +++ b/lib/users/item/license_details/item/license_details_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/license_details/license_details_request_builder.rb b/lib/users/item/license_details/license_details_request_builder.rb index 4a68a9575e..7d98b2e471 100644 --- a/lib/users/item/license_details/license_details_request_builder.rb +++ b/lib/users/item/license_details/license_details_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/child_folders_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/child_folders_request_builder.rb index af311c200e..d105b084d5 100644 --- a/lib/users/item/mail_folders/item/child_folders/child_folders_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/child_folders_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.rb index 8c13e8761f..ae687c54d5 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/copy/copy_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb index fda1c40e64..50c5f31d16 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/mail_folder_item_request_builder.rb @@ -208,7 +208,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb index cd4215f1ed..bafee05a4b 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/message_rules/item/message_rule_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb index abbe826da8..d5ad736872 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/message_rules/message_rules_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb index 1394674c63..c65f21e1cf 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/attachments_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index ad6db5e495..9b2c0a96e9 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb index 350b3770ff..fd2ed86cb3 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/copy/copy_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb index b4b272dcb2..6c7b5b18fe 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_forward/create_forward_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb index 4a212bf00f..57866086fd 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply/create_reply_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb index f4ca63738f..9a3d3bf0fa 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb index 6aae079af3..1da99794de 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/extensions_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb index 5faf094bc0..1306b9715c 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/extensions/item/extension_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb index 5818dc0334..b08fbee4b9 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/forward/forward_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb index 81277bc484..d5f453aa2f 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/message_item_request_builder.rb @@ -260,7 +260,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb index ab28c4c766..1e6eb149fc 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/move/move_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 265eb78402..f9a9f76cce 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 67226507e7..fb12c89742 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb index 8b7f1b1d53..5dd816df3e 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply/reply_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb index 1dc12c7cb7..1a8532452d 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/reply_all/reply_all_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 20199d6dff..3190d7c583 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 06b52b9861..dd3a2c370d 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb index a62f3fc59c..ddcc9885fb 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/item/value/content_request_builder.rb @@ -52,7 +52,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -62,7 +62,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from users @@ -96,7 +96,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.rb index cc2c1b935c..e85301a33c 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/messages/messages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/move/move_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/move/move_request_builder.rb index 912493b168..9d5d151904 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/move/move_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/move/move_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 1a03a03aa0..83e649a596 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index e891eb0067..919adb5c29 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 85166c7f22..2237d4e1da 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 3195c52011..0534cc4f0b 100644 --- a/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/child_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/copy/copy_request_builder.rb b/lib/users/item/mail_folders/item/copy/copy_request_builder.rb index e4e750039d..cc39e997e6 100644 --- a/lib/users/item/mail_folders/item/copy/copy_request_builder.rb +++ b/lib/users/item/mail_folders/item/copy/copy_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/mail_folder_item_request_builder.rb b/lib/users/item/mail_folders/item/mail_folder_item_request_builder.rb index ef705dd26c..736868321e 100644 --- a/lib/users/item/mail_folders/item/mail_folder_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/mail_folder_item_request_builder.rb @@ -222,7 +222,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb b/lib/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb index f4740458e0..2e8d2b18b5 100644 --- a/lib/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/message_rules/item/message_rule_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/message_rules/message_rules_request_builder.rb b/lib/users/item/mail_folders/item/message_rules/message_rules_request_builder.rb index 512ab2c800..475624d465 100644 --- a/lib/users/item/mail_folders/item/message_rules/message_rules_request_builder.rb +++ b/lib/users/item/mail_folders/item/message_rules/message_rules_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb index 52ad979e4b..f46a374bd5 100644 --- a/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/attachments/attachments_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index ab54389fee..a3366b03cb 100644 --- a/lib/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/copy/copy_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/copy/copy_request_builder.rb index 5f27241fd5..af1ab4942c 100644 --- a/lib/users/item/mail_folders/item/messages/item/copy/copy_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/copy/copy_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb index d1ce39e209..dbec16f7a3 100644 --- a/lib/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/create_forward/create_forward_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb index 8277f855a9..5188479176 100644 --- a/lib/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/create_reply/create_reply_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb index e2adb8ac58..2b8067e6e5 100644 --- a/lib/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.rb index b6d18fb635..a5e05229da 100644 --- a/lib/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/extensions/extensions_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb index a66fd138c8..a456e5bed3 100644 --- a/lib/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/extensions/item/extension_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/forward/forward_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/forward/forward_request_builder.rb index 8b861dabb2..edec619d54 100644 --- a/lib/users/item/mail_folders/item/messages/item/forward/forward_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/forward/forward_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/message_item_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/message_item_request_builder.rb index 56627f1275..2cafdef70f 100644 --- a/lib/users/item/mail_folders/item/messages/item/message_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/message_item_request_builder.rb @@ -256,7 +256,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/move/move_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/move/move_request_builder.rb index 00392ac5bf..b72a8e2e5c 100644 --- a/lib/users/item/mail_folders/item/messages/item/move/move_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/move/move_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 910fbd132c..4e8f541fdd 100644 --- a/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 8a4eca4371..974750c226 100644 --- a/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/reply/reply_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/reply/reply_request_builder.rb index 313c1e8b1c..0f767b05c0 100644 --- a/lib/users/item/mail_folders/item/messages/item/reply/reply_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/reply/reply_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb index f5918d5af8..fc37948189 100644 --- a/lib/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/reply_all/reply_all_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 7a12d20040..79a8775e3f 100644 --- a/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index c2458ec1a3..0d06ebc356 100644 --- a/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/messages/item/value/content_request_builder.rb b/lib/users/item/mail_folders/item/messages/item/value/content_request_builder.rb index 935893df89..283915dcf0 100644 --- a/lib/users/item/mail_folders/item/messages/item/value/content_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/item/value/content_request_builder.rb @@ -48,7 +48,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -58,7 +58,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from users @@ -92,7 +92,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/messages/messages_request_builder.rb b/lib/users/item/mail_folders/item/messages/messages_request_builder.rb index 9552bc59c5..324496acf1 100644 --- a/lib/users/item/mail_folders/item/messages/messages_request_builder.rb +++ b/lib/users/item/mail_folders/item/messages/messages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/move/move_request_builder.rb b/lib/users/item/mail_folders/item/move/move_request_builder.rb index b9ac041940..fefbc859b8 100644 --- a/lib/users/item/mail_folders/item/move/move_request_builder.rb +++ b/lib/users/item/mail_folders/item/move/move_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index bf69e247cd..49b83a3cfb 100644 --- a/lib/users/item/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index 69cc7e007c..58ebbcd568 100644 --- a/lib/users/item/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index 9eb84995d1..ae1c3404b1 100644 --- a/lib/users/item/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/mail_folders/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 18cb6c3395..900c8d7177 100644 --- a/lib/users/item/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/mail_folders/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/mail_folders/mail_folders_request_builder.rb b/lib/users/item/mail_folders/mail_folders_request_builder.rb index 94e1c8789c..e02adf6909 100644 --- a/lib/users/item/mail_folders/mail_folders_request_builder.rb +++ b/lib/users/item/mail_folders/mail_folders_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb b/lib/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb index 5ce231806c..0ed91b1260 100644 --- a/lib/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb +++ b/lib/users/item/managed_devices/item/clean_windows_device/clean_windows_device_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb b/lib/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb index 85a7259685..d8a21f19d9 100644 --- a/lib/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb +++ b/lib/users/item/managed_devices/item/delete_user_from_shared_apple_device/delete_user_from_shared_apple_device_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/managed_devices/item/device_category/device_category_request_builder.rb b/lib/users/item/managed_devices/item/device_category/device_category_request_builder.rb index 042a03b778..793e922e8b 100644 --- a/lib/users/item/managed_devices/item/device_category/device_category_request_builder.rb +++ b/lib/users/item/managed_devices/item/device_category/device_category_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb b/lib/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb index 5d41a88d99..370992362b 100644 --- a/lib/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb +++ b/lib/users/item/managed_devices/item/device_compliance_policy_states/device_compliance_policy_states_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb b/lib/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb index a5ff7d5469..66eb7afb25 100644 --- a/lib/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb +++ b/lib/users/item/managed_devices/item/device_compliance_policy_states/item/device_compliance_policy_state_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb b/lib/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb index 52e09b7d7a..b7f63a7c6e 100644 --- a/lib/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb +++ b/lib/users/item/managed_devices/item/device_configuration_states/device_configuration_states_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb b/lib/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb index 2b0d836850..f48f429416 100644 --- a/lib/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb +++ b/lib/users/item/managed_devices/item/device_configuration_states/item/device_configuration_state_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/managed_device_item_request_builder.rb b/lib/users/item/managed_devices/item/managed_device_item_request_builder.rb index 81c288b6ee..1d3bd2bf06 100644 --- a/lib/users/item/managed_devices/item/managed_device_item_request_builder.rb +++ b/lib/users/item/managed_devices/item/managed_device_item_request_builder.rb @@ -276,7 +276,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb b/lib/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb index 5e4e9962cf..b03f69d53c 100644 --- a/lib/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb +++ b/lib/users/item/managed_devices/item/update_windows_device_account/update_windows_device_account_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb b/lib/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb index f35109e148..0f776ae10d 100644 --- a/lib/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb +++ b/lib/users/item/managed_devices/item/windows_defender_scan/windows_defender_scan_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/managed_devices/item/wipe/wipe_request_builder.rb b/lib/users/item/managed_devices/item/wipe/wipe_request_builder.rb index effa62b267..5b70737f77 100644 --- a/lib/users/item/managed_devices/item/wipe/wipe_request_builder.rb +++ b/lib/users/item/managed_devices/item/wipe/wipe_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/managed_devices/managed_devices_request_builder.rb b/lib/users/item/managed_devices/managed_devices_request_builder.rb index f2e6f6e17f..7663dfec4c 100644 --- a/lib/users/item/managed_devices/managed_devices_request_builder.rb +++ b/lib/users/item/managed_devices/managed_devices_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/manager/ref/ref_request_builder.rb b/lib/users/item/manager/ref/ref_request_builder.rb index 7518dc3abf..f73a4cd14b 100644 --- a/lib/users/item/manager/ref/ref_request_builder.rb +++ b/lib/users/item/manager/ref/ref_request_builder.rb @@ -118,7 +118,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/attachments/attachments_request_builder.rb b/lib/users/item/messages/item/attachments/attachments_request_builder.rb index 1f07ebf921..1236237c49 100644 --- a/lib/users/item/messages/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/messages/item/attachments/attachments_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 20bd7c4c5e..782a52b0fa 100644 --- a/lib/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/messages/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/copy/copy_request_builder.rb b/lib/users/item/messages/item/copy/copy_request_builder.rb index 149868b273..d84643869e 100644 --- a/lib/users/item/messages/item/copy/copy_request_builder.rb +++ b/lib/users/item/messages/item/copy/copy_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/create_forward/create_forward_request_builder.rb b/lib/users/item/messages/item/create_forward/create_forward_request_builder.rb index 7e7d209cab..55f5263d05 100644 --- a/lib/users/item/messages/item/create_forward/create_forward_request_builder.rb +++ b/lib/users/item/messages/item/create_forward/create_forward_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/create_reply/create_reply_request_builder.rb b/lib/users/item/messages/item/create_reply/create_reply_request_builder.rb index 68b7d41026..5820747678 100644 --- a/lib/users/item/messages/item/create_reply/create_reply_request_builder.rb +++ b/lib/users/item/messages/item/create_reply/create_reply_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/create_reply_all/create_reply_all_request_builder.rb b/lib/users/item/messages/item/create_reply_all/create_reply_all_request_builder.rb index e2662d49a5..de9032d911 100644 --- a/lib/users/item/messages/item/create_reply_all/create_reply_all_request_builder.rb +++ b/lib/users/item/messages/item/create_reply_all/create_reply_all_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/extensions/extensions_request_builder.rb b/lib/users/item/messages/item/extensions/extensions_request_builder.rb index 1977978e0b..a90e09fb5a 100644 --- a/lib/users/item/messages/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/messages/item/extensions/extensions_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/messages/item/extensions/item/extension_item_request_builder.rb index 424c94c190..89261fe807 100644 --- a/lib/users/item/messages/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/messages/item/extensions/item/extension_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/forward/forward_request_builder.rb b/lib/users/item/messages/item/forward/forward_request_builder.rb index e7f2fbdebd..09b027187c 100644 --- a/lib/users/item/messages/item/forward/forward_request_builder.rb +++ b/lib/users/item/messages/item/forward/forward_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/message_item_request_builder.rb b/lib/users/item/messages/item/message_item_request_builder.rb index 239980387f..ba0f6a6377 100644 --- a/lib/users/item/messages/item/message_item_request_builder.rb +++ b/lib/users/item/messages/item/message_item_request_builder.rb @@ -252,7 +252,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/move/move_request_builder.rb b/lib/users/item/messages/item/move/move_request_builder.rb index 23d903f7c5..6b021d19e9 100644 --- a/lib/users/item/messages/item/move/move_request_builder.rb +++ b/lib/users/item/messages/item/move/move_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb index 9a4f88b5b2..8070bb413f 100644 --- a/lib/users/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/messages/item/multi_value_extended_properties/item/multi_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb b/lib/users/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb index fe969c57c9..de1dd5ae84 100644 --- a/lib/users/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb +++ b/lib/users/item/messages/item/multi_value_extended_properties/multi_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/reply/reply_request_builder.rb b/lib/users/item/messages/item/reply/reply_request_builder.rb index 54149b44ce..70195f596c 100644 --- a/lib/users/item/messages/item/reply/reply_request_builder.rb +++ b/lib/users/item/messages/item/reply/reply_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/reply_all/reply_all_request_builder.rb b/lib/users/item/messages/item/reply_all/reply_all_request_builder.rb index 29c8950940..62edd4e577 100644 --- a/lib/users/item/messages/item/reply_all/reply_all_request_builder.rb +++ b/lib/users/item/messages/item/reply_all/reply_all_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb b/lib/users/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb index e14846a0cd..08b4efb25d 100644 --- a/lib/users/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb +++ b/lib/users/item/messages/item/single_value_extended_properties/item/single_value_legacy_extended_property_item_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb b/lib/users/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb index 3846787d77..a0d5f2f27e 100644 --- a/lib/users/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb +++ b/lib/users/item/messages/item/single_value_extended_properties/single_value_extended_properties_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/messages/item/value/content_request_builder.rb b/lib/users/item/messages/item/value/content_request_builder.rb index b6dbff6fd2..0bd057896d 100644 --- a/lib/users/item/messages/item/value/content_request_builder.rb +++ b/lib/users/item/messages/item/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property messages in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property messages from users @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/messages/messages_request_builder.rb b/lib/users/item/messages/messages_request_builder.rb index c50cf5cac4..e1f8dbf0fe 100644 --- a/lib/users/item/messages/messages_request_builder.rb +++ b/lib/users/item/messages/messages_request_builder.rb @@ -37,7 +37,7 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/messages{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}") end ## - ## Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + ## Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of message_collection_response ## @@ -51,7 +51,7 @@ def get(request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::MessageCollectionResponse.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the **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 operation, or create a draft to forward, reply and reply-all to an existing message. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of message @@ -67,7 +67,7 @@ def post(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::Message.create_from_discriminator_value(pn) }, error_mapping) end ## - ## Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + ## Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information ## @@ -85,7 +85,7 @@ def to_get_request_information(request_configuration=nil) return request_info end ## - ## Create an open extension (openTypeExtension object) and add custom properties in a new or existing instance of a resource. You can create an open extension in a resource instance and store custom data to it all in the same operation, except for specific resources. See known limitations of open extensions for more information. The table in the Permissions section lists the resources that support open extensions. + ## Create a draft of a new message in either JSON or MIME format. When using JSON format, you can:- Include an attachment to the **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 operation, or create a draft to forward, reply and reply-all to an existing message. ## @param body The request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -101,12 +101,12 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## - # Get the messages in the signed-in user's mailbox (including the Deleted Items and Clutter folders). Depending on the page size and mailbox data, getting messages from a mailbox can incur multiple requests. The default page size is 10 messages. Use `$top` to customize the page size, within the range of 1 and 1000. To improve the operation response time, use `$select` to specify the exact properties you need; see example 1 below. Fine-tune the values for `$select` and `$top`, especially when you must use a larger page size, as returning a page with hundreds of messages each with a full response payload may trigger the gateway timeout (HTTP 504). To get the next page of messages, simply apply the entire URL returned in `@odata.nextLink` to the next get-messages request. This URL includes any query parameters you may have specified in the initial request. Do not try to extract the `$skip` value from the `@odata.nextLink` URL to manipulate responses. This API uses the `$skip` value to keep count of all the items it has gone through in the user's mailbox to return a page of message-type items. It's therefore possible that even in the initial response, the `$skip` value is larger than the page size. For more information, see Paging Microsoft Graph data in your app. Currently, this operation returns message bodies in only HTML format. There are two scenarios where an app can get messages in another user's mail folder: + # Get an open extension (openTypeExtension object) identified by name or fully qualified name. The table in the Permissions section lists the resources that support open extensions. The following table lists the three scenarios where you can get an open extension from a supported resource instance. class MessagesRequestBuilderGetQueryParameters ## diff --git a/lib/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb b/lib/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb index d3e0ebee1f..c5a24a64f8 100644 --- a/lib/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb +++ b/lib/users/item/onenote/notebooks/get_notebook_from_web_url/get_notebook_from_web_url_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb b/lib/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb index c91b15f379..4b588b0a6e 100644 --- a/lib/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/copy_notebook/copy_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/notebook_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/notebook_item_request_builder.rb index 76d91884f9..ffbfe31f07 100644 --- a/lib/users/item/onenote/notebooks/item/notebook_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/notebook_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb index d03ca00690..aa856d8e24 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/section_group_item_request_builder.rb @@ -174,7 +174,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 4057b3acd7..fe21b542aa 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 1fa46f6746..04b9d80a88 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb index d2e404343f..274a28680f 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -172,7 +172,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index 84afc50fc8..cd48df33d0 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../../../users' require_relative '../../../../../../../../../../item' require_relative '../../../../../../../../../onenote' @@ -58,7 +59,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -68,7 +69,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -98,11 +99,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 874fc86914..9efb8d3b3d 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -74,7 +74,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index de4a0adfc1..a58d775e43 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 86a19db646..047a9a418c 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -72,7 +72,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb index 102fba2344..61539be1c0 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -109,7 +109,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb index 006b238f32..f64be665d2 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/item/sections/sections_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb b/lib/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb index 6936106da4..84417cf082 100644 --- a/lib/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/section_groups/section_groups_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index ece0116a24..a98ffd11c9 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index dbd648568f..4eef252d17 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb index 3b4fcb9510..b1b82f8936 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb index 9b0658422b..c770887355 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../users' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 91b205e07c..26941dfc4f 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb index cf2ad1a83b..a7ec9255ff 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 2395787efb..7ead9be09c 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb index b85924bef3..3ca39cd504 100644 --- a/lib/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/item/sections/sections_request_builder.rb b/lib/users/item/onenote/notebooks/item/sections/sections_request_builder.rb index a054003d30..94f29d5449 100644 --- a/lib/users/item/onenote/notebooks/item/sections/sections_request_builder.rb +++ b/lib/users/item/onenote/notebooks/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/notebooks/notebooks_request_builder.rb b/lib/users/item/onenote/notebooks/notebooks_request_builder.rb index 0cade0b969..e379ad1676 100644 --- a/lib/users/item/onenote/notebooks/notebooks_request_builder.rb +++ b/lib/users/item/onenote/notebooks/notebooks_request_builder.rb @@ -113,7 +113,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/onenote_request_builder.rb b/lib/users/item/onenote/onenote_request_builder.rb index 53979df626..9e0f89f53a 100644 --- a/lib/users/item/onenote/onenote_request_builder.rb +++ b/lib/users/item/onenote/onenote_request_builder.rb @@ -226,7 +226,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/operations/item/onenote_operation_item_request_builder.rb b/lib/users/item/onenote/operations/item/onenote_operation_item_request_builder.rb index e7f449eb52..21c044d528 100644 --- a/lib/users/item/onenote/operations/item/onenote_operation_item_request_builder.rb +++ b/lib/users/item/onenote/operations/item/onenote_operation_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/operations/operations_request_builder.rb b/lib/users/item/onenote/operations/operations_request_builder.rb index 827699fdd5..b7f1c9b389 100644 --- a/lib/users/item/onenote/operations/operations_request_builder.rb +++ b/lib/users/item/onenote/operations/operations_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/pages/item/content/content_request_builder.rb b/lib/users/item/onenote/pages/item/content/content_request_builder.rb index af23e8ba09..bb3e8294fb 100644 --- a/lib/users/item/onenote/pages/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_page' require_relative '../../../../../users' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb index 1220bd78ec..e075088d51 100644 --- a/lib/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/users/item/onenote/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/pages/item/onenote_page_item_request_builder.rb b/lib/users/item/onenote/pages/item/onenote_page_item_request_builder.rb index fe235322ff..55ea07c55b 100644 --- a/lib/users/item/onenote/pages/item/onenote_page_item_request_builder.rb +++ b/lib/users/item/onenote/pages/item/onenote_page_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 33d721c7b9..6173d7b848 100644 --- a/lib/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/users/item/onenote/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -60,7 +60,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/pages/pages_request_builder.rb b/lib/users/item/onenote/pages/pages_request_builder.rb index de971ca438..025254dbe1 100644 --- a/lib/users/item/onenote/pages/pages_request_builder.rb +++ b/lib/users/item/onenote/pages/pages_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/resources/item/content/content_request_builder.rb b/lib/users/item/onenote/resources/item/content/content_request_builder.rb index 41338a3eb1..32202439b6 100644 --- a/lib/users/item/onenote/resources/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/resources/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../microsoft_graph' require_relative '../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../models/onenote_resource' require_relative '../../../../../users' require_relative '../../../../item' require_relative '../../../onenote' @@ -46,7 +47,7 @@ def get(request_configuration=nil) ## The content stream ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_resource ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -56,7 +57,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenoteResource.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content stream @@ -86,11 +87,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/resources/item/onenote_resource_item_request_builder.rb b/lib/users/item/onenote/resources/item/onenote_resource_item_request_builder.rb index d2b529c0ec..90750e4831 100644 --- a/lib/users/item/onenote/resources/item/onenote_resource_item_request_builder.rb +++ b/lib/users/item/onenote/resources/item/onenote_resource_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/resources/resources_request_builder.rb b/lib/users/item/onenote/resources/resources_request_builder.rb index 775564d16d..b1032d81ce 100644 --- a/lib/users/item/onenote/resources/resources_request_builder.rb +++ b/lib/users/item/onenote/resources/resources_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/item/section_group_item_request_builder.rb b/lib/users/item/onenote/section_groups/item/section_group_item_request_builder.rb index 5c354df8e5..fb0d031d05 100644 --- a/lib/users/item/onenote/section_groups/item/section_group_item_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/section_group_item_request_builder.rb @@ -170,7 +170,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index f2516369cc..b74f3c4925 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 2cc7c887cd..8078e84a54 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb index 01784e46cc..0d997dab14 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/onenote_section_item_request_builder.rb @@ -168,7 +168,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb index bd94a5c06e..0feb64d36d 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../../../models/onenote_page' require_relative '../../../../../../../../../users' require_relative '../../../../../../../../item' require_relative '../../../../../../../onenote' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index 29626ebad5..953e86a00e 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -70,7 +70,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb index 521ad1a0cd..0b5f482857 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -166,7 +166,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 0b1a20d111..736774f52c 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb index d2abd6312c..fc498af5fa 100644 --- a/lib/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/item/pages/pages_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/item/sections/sections_request_builder.rb b/lib/users/item/onenote/section_groups/item/sections/sections_request_builder.rb index c6fa9f56fb..0532b7b455 100644 --- a/lib/users/item/onenote/section_groups/item/sections/sections_request_builder.rb +++ b/lib/users/item/onenote/section_groups/item/sections/sections_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/section_groups/section_groups_request_builder.rb b/lib/users/item/onenote/section_groups/section_groups_request_builder.rb index c3d482acbe..d436244f92 100644 --- a/lib/users/item/onenote/section_groups/section_groups_request_builder.rb +++ b/lib/users/item/onenote/section_groups/section_groups_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb b/lib/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb index 0161ed766b..38f4dc84d9 100644 --- a/lib/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb +++ b/lib/users/item/onenote/sections/item/copy_to_notebook/copy_to_notebook_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb b/lib/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb index 242797f428..1fcce99d26 100644 --- a/lib/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb +++ b/lib/users/item/onenote/sections/item/copy_to_section_group/copy_to_section_group_request_builder.rb @@ -62,7 +62,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/sections/item/onenote_section_item_request_builder.rb b/lib/users/item/onenote/sections/item/onenote_section_item_request_builder.rb index 01824dddf5..ac45352d8f 100644 --- a/lib/users/item/onenote/sections/item/onenote_section_item_request_builder.rb +++ b/lib/users/item/onenote/sections/item/onenote_section_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/sections/item/pages/item/content/content_request_builder.rb b/lib/users/item/onenote/sections/item/pages/item/content/content_request_builder.rb index bb54f71f59..8cb138af32 100644 --- a/lib/users/item/onenote/sections/item/pages/item/content/content_request_builder.rb +++ b/lib/users/item/onenote/sections/item/pages/item/content/content_request_builder.rb @@ -1,6 +1,7 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../microsoft_graph' require_relative '../../../../../../../../models/o_data_errors/o_data_error' +require_relative '../../../../../../../../models/onenote_page' require_relative '../../../../../../../users' require_relative '../../../../../../item' require_relative '../../../../../onenote' @@ -50,7 +51,7 @@ def get(request_configuration=nil) ## The page's HTML content. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of onenote_page ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -60,7 +61,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::OnenotePage.create_from_discriminator_value(pn) }, error_mapping) end ## ## The page's HTML content. @@ -90,11 +91,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb b/lib/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb index c784fc9f39..08851509d7 100644 --- a/lib/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb +++ b/lib/users/item/onenote/sections/item/pages/item/copy_to_section/copy_to_section_request_builder.rb @@ -66,7 +66,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb b/lib/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb index f8e59673b5..55b0d3b7c5 100644 --- a/lib/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb +++ b/lib/users/item/onenote/sections/item/pages/item/onenote_page_item_request_builder.rb @@ -162,7 +162,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb b/lib/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb index 29ac8758a4..8defecf14d 100644 --- a/lib/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb +++ b/lib/users/item/onenote/sections/item/pages/item/onenote_patch_content/onenote_patch_content_request_builder.rb @@ -64,7 +64,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/onenote/sections/item/pages/pages_request_builder.rb b/lib/users/item/onenote/sections/item/pages/pages_request_builder.rb index 71c8e6f90b..2cb6768b73 100644 --- a/lib/users/item/onenote/sections/item/pages/pages_request_builder.rb +++ b/lib/users/item/onenote/sections/item/pages/pages_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/onenote/sections/sections_request_builder.rb b/lib/users/item/onenote/sections/sections_request_builder.rb index 864c670a5c..db23898274 100644 --- a/lib/users/item/onenote/sections/sections_request_builder.rb +++ b/lib/users/item/onenote/sections/sections_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/create_or_get/create_or_get_request_builder.rb b/lib/users/item/online_meetings/create_or_get/create_or_get_request_builder.rb index 1d9ffa9d9a..3023cc512f 100644 --- a/lib/users/item/online_meetings/create_or_get/create_or_get_request_builder.rb +++ b/lib/users/item/online_meetings/create_or_get/create_or_get_request_builder.rb @@ -58,7 +58,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb b/lib/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb index 181fd37f79..949825549d 100644 --- a/lib/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb +++ b/lib/users/item/online_meetings/item/attendance_reports/attendance_reports_request_builder.rb @@ -99,7 +99,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb b/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb index 4fa89c9c61..10e17bd601 100644 --- a/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb +++ b/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/attendance_records_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb b/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb index 667a23e61b..34a50e37e7 100644 --- a/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb +++ b/lib/users/item/online_meetings/item/attendance_reports/item/attendance_records/item/attendance_record_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb b/lib/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb index d589139b9c..d27c292226 100644 --- a/lib/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb +++ b/lib/users/item/online_meetings/item/attendance_reports/item/meeting_attendance_report_item_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.rb b/lib/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.rb index 250424433a..3e4d403016 100644 --- a/lib/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.rb +++ b/lib/users/item/online_meetings/item/attendee_report/attendee_report_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## The content stream of the attendee report of a Microsoft Teams live event. Read-only. @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/online_meetings/item/online_meeting_item_request_builder.rb b/lib/users/item/online_meetings/item/online_meeting_item_request_builder.rb index 5ce4a0e006..8a207e342d 100644 --- a/lib/users/item/online_meetings/item/online_meeting_item_request_builder.rb +++ b/lib/users/item/online_meetings/item/online_meeting_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/online_meetings/online_meetings_request_builder.rb b/lib/users/item/online_meetings/online_meetings_request_builder.rb index f527e31ad7..6278c04b27 100644 --- a/lib/users/item/online_meetings/online_meetings_request_builder.rb +++ b/lib/users/item/online_meetings/online_meetings_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/outlook/master_categories/item/outlook_category_item_request_builder.rb b/lib/users/item/outlook/master_categories/item/outlook_category_item_request_builder.rb index 1582c7bfae..4ff5263d88 100644 --- a/lib/users/item/outlook/master_categories/item/outlook_category_item_request_builder.rb +++ b/lib/users/item/outlook/master_categories/item/outlook_category_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/outlook/master_categories/master_categories_request_builder.rb b/lib/users/item/outlook/master_categories/master_categories_request_builder.rb index c4ec095d96..3e100d8370 100644 --- a/lib/users/item/outlook/master_categories/master_categories_request_builder.rb +++ b/lib/users/item/outlook/master_categories/master_categories_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/photo/photo_request_builder.rb b/lib/users/item/photo/photo_request_builder.rb index 0ee67a4d6d..24105a60b1 100644 --- a/lib/users/item/photo/photo_request_builder.rb +++ b/lib/users/item/photo/photo_request_builder.rb @@ -30,6 +30,20 @@ def initialize(path_parameters, request_adapter) super(path_parameters, request_adapter, "{+baseurl}/users/{user%2Did}/photo{?%24select}") end ## + ## Delete navigation property photo for users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a Fiber of void + ## + def delete(request_configuration=nil) + request_info = self.to_delete_request_information( + request_configuration + ) + error_mapping = Hash.new + error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } + return @request_adapter.send_async(request_info, nil, error_mapping) + end + ## ## The user's profile photo. Read-only. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a Fiber of profile_photo @@ -60,6 +74,22 @@ def patch(body, request_configuration=nil) return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::ProfilePhoto.create_from_discriminator_value(pn) }, error_mapping) end ## + ## Delete navigation property photo for users + ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. + ## @return a request_information + ## + def to_delete_request_information(request_configuration=nil) + request_info = MicrosoftKiotaAbstractions::RequestInformation.new() + request_info.url_template = @url_template + request_info.path_parameters = @path_parameters + request_info.http_method = :DELETE + unless request_configuration.nil? + request_info.add_headers_from_raw_object(request_configuration.headers) + request_info.add_request_options(request_configuration.options) + end + return request_info + end + ## ## The user's profile photo. Read-only. ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. ## @return a request_information @@ -94,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/photo/value/content_request_builder.rb b/lib/users/item/photo/value/content_request_builder.rb index 244ea489f7..270263ff08 100644 --- a/lib/users/item/photo/value/content_request_builder.rb +++ b/lib/users/item/photo/value/content_request_builder.rb @@ -42,7 +42,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photo in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -52,7 +52,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photo from users @@ -86,7 +86,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/photos/item/value/content_request_builder.rb b/lib/users/item/photos/item/value/content_request_builder.rb index b37bd8e4c5..2c9b655ed2 100644 --- a/lib/users/item/photos/item/value/content_request_builder.rb +++ b/lib/users/item/photos/item/value/content_request_builder.rb @@ -44,7 +44,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property photos in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -54,7 +54,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property photos from users @@ -88,7 +88,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/planner/planner_request_builder.rb b/lib/users/item/planner/planner_request_builder.rb index 4b692715ac..3443d70e74 100644 --- a/lib/users/item/planner/planner_request_builder.rb +++ b/lib/users/item/planner/planner_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/buckets_request_builder.rb b/lib/users/item/planner/plans/item/buckets/buckets_request_builder.rb index 141965ac83..0d84ed07ff 100644 --- a/lib/users/item/planner/plans/item/buckets/buckets_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/buckets_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb index d49aa1e49f..35545db208 100644 --- a/lib/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/planner_bucket_item_request_builder.rb @@ -144,7 +144,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index fe1c80df8c..06d17b9b3b 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index de0e309bec..94a51a0d58 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb index 58d449492d..6f5615a338 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/item/details/details_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb index cf26c355db..e85b1c2d55 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/item/planner_task_item_request_builder.rb @@ -154,7 +154,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index 2b0e9eec73..e22caa2bf1 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -132,7 +132,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb b/lib/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb index 835d0115a9..96daf36e5e 100644 --- a/lib/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb +++ b/lib/users/item/planner/plans/item/buckets/item/tasks/tasks_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/details/details_request_builder.rb b/lib/users/item/planner/plans/item/details/details_request_builder.rb index 2017a83389..672dc93072 100644 --- a/lib/users/item/planner/plans/item/details/details_request_builder.rb +++ b/lib/users/item/planner/plans/item/details/details_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/planner_plan_item_request_builder.rb b/lib/users/item/planner/plans/item/planner_plan_item_request_builder.rb index 964275297b..7feb978d27 100644 --- a/lib/users/item/planner/plans/item/planner_plan_item_request_builder.rb +++ b/lib/users/item/planner/plans/item/planner_plan_item_request_builder.rb @@ -164,7 +164,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index e574145f3c..3f3b184d04 100644 --- a/lib/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index b40f40cf38..4cbf1fb130 100644 --- a/lib/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/item/details/details_request_builder.rb b/lib/users/item/planner/plans/item/tasks/item/details/details_request_builder.rb index d740e19101..e643bed003 100644 --- a/lib/users/item/planner/plans/item/tasks/item/details/details_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/item/details/details_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb b/lib/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb index bd8fb2c727..2b191e0afb 100644 --- a/lib/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/item/planner_task_item_request_builder.rb @@ -150,7 +150,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index d555151db8..58595def4c 100644 --- a/lib/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/item/tasks/tasks_request_builder.rb b/lib/users/item/planner/plans/item/tasks/tasks_request_builder.rb index f7c815e9c2..063ab0a8e3 100644 --- a/lib/users/item/planner/plans/item/tasks/tasks_request_builder.rb +++ b/lib/users/item/planner/plans/item/tasks/tasks_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/plans/plans_request_builder.rb b/lib/users/item/planner/plans/plans_request_builder.rb index cc1d7139c5..e8ebb05c22 100644 --- a/lib/users/item/planner/plans/plans_request_builder.rb +++ b/lib/users/item/planner/plans/plans_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb b/lib/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb index 05ce79f5ce..7a76e54602 100644 --- a/lib/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb +++ b/lib/users/item/planner/tasks/item/assigned_to_task_board_format/assigned_to_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb b/lib/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb index db00c761bb..5ce590bab8 100644 --- a/lib/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb +++ b/lib/users/item/planner/tasks/item/bucket_task_board_format/bucket_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/item/details/details_request_builder.rb b/lib/users/item/planner/tasks/item/details/details_request_builder.rb index 42b02e01f5..4313989dfa 100644 --- a/lib/users/item/planner/tasks/item/details/details_request_builder.rb +++ b/lib/users/item/planner/tasks/item/details/details_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/item/planner_task_item_request_builder.rb b/lib/users/item/planner/tasks/item/planner_task_item_request_builder.rb index f5de65e706..cea8340f1f 100644 --- a/lib/users/item/planner/tasks/item/planner_task_item_request_builder.rb +++ b/lib/users/item/planner/tasks/item/planner_task_item_request_builder.rb @@ -146,7 +146,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb b/lib/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb index c9ab8e7ff0..ec22848bdc 100644 --- a/lib/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb +++ b/lib/users/item/planner/tasks/item/progress_task_board_format/progress_task_board_format_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/planner/tasks/tasks_request_builder.rb b/lib/users/item/planner/tasks/tasks_request_builder.rb index 6082066901..f1507cf16d 100644 --- a/lib/users/item/planner/tasks/tasks_request_builder.rb +++ b/lib/users/item/planner/tasks/tasks_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/presence/clear_presence/clear_presence_request_builder.rb b/lib/users/item/presence/clear_presence/clear_presence_request_builder.rb index b6c8c00e81..c853decd6e 100644 --- a/lib/users/item/presence/clear_presence/clear_presence_request_builder.rb +++ b/lib/users/item/presence/clear_presence/clear_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/presence/presence_request_builder.rb b/lib/users/item/presence/presence_request_builder.rb index b909095f87..a04a53f550 100644 --- a/lib/users/item/presence/presence_request_builder.rb +++ b/lib/users/item/presence/presence_request_builder.rb @@ -142,7 +142,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/presence/set_presence/set_presence_request_builder.rb b/lib/users/item/presence/set_presence/set_presence_request_builder.rb index 1c74606c50..9aff72c953 100644 --- a/lib/users/item/presence/set_presence/set_presence_request_builder.rb +++ b/lib/users/item/presence/set_presence/set_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb b/lib/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb index f9984d5f6f..b4f20a5ca1 100644 --- a/lib/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb +++ b/lib/users/item/presence/set_user_preferred_presence/set_user_preferred_presence_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb b/lib/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb index ce1343ee73..e6e2780724 100644 --- a/lib/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb +++ b/lib/users/item/scoped_role_member_of/item/scoped_role_membership_item_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.rb b/lib/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.rb index c030083ad7..4f9a629eca 100644 --- a/lib/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.rb +++ b/lib/users/item/scoped_role_member_of/scoped_role_member_of_request_builder.rb @@ -95,7 +95,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/send_mail/send_mail_request_builder.rb b/lib/users/item/send_mail/send_mail_request_builder.rb index 4fc8708eb8..5ad0a7826e 100644 --- a/lib/users/item/send_mail/send_mail_request_builder.rb +++ b/lib/users/item/send_mail/send_mail_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/settings/settings_request_builder.rb b/lib/users/item/settings/settings_request_builder.rb index d6c7ce7d05..98eb25898c 100644 --- a/lib/users/item/settings/settings_request_builder.rb +++ b/lib/users/item/settings/settings_request_builder.rb @@ -124,7 +124,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/settings/shift_preferences/shift_preferences_request_builder.rb b/lib/users/item/settings/shift_preferences/shift_preferences_request_builder.rb index 2819b8f356..efde74143a 100644 --- a/lib/users/item/settings/shift_preferences/shift_preferences_request_builder.rb +++ b/lib/users/item/settings/shift_preferences/shift_preferences_request_builder.rb @@ -120,7 +120,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/teamwork/associated_teams/associated_teams_request_builder.rb b/lib/users/item/teamwork/associated_teams/associated_teams_request_builder.rb index 9ea911b372..4c7efb4da1 100644 --- a/lib/users/item/teamwork/associated_teams/associated_teams_request_builder.rb +++ b/lib/users/item/teamwork/associated_teams/associated_teams_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb b/lib/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb index 4b3aca8e99..36d7daaf85 100644 --- a/lib/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb +++ b/lib/users/item/teamwork/associated_teams/item/associated_team_info_item_request_builder.rb @@ -122,7 +122,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/teamwork/installed_apps/installed_apps_request_builder.rb b/lib/users/item/teamwork/installed_apps/installed_apps_request_builder.rb index 0e10ca86ea..1fb558590e 100644 --- a/lib/users/item/teamwork/installed_apps/installed_apps_request_builder.rb +++ b/lib/users/item/teamwork/installed_apps/installed_apps_request_builder.rb @@ -97,7 +97,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb b/lib/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb index f98cfed971..5abf553c38 100644 --- a/lib/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb +++ b/lib/users/item/teamwork/installed_apps/item/user_scope_teams_app_installation_item_request_builder.rb @@ -128,7 +128,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.rb b/lib/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.rb index f56d12edde..6cc1660dc8 100644 --- a/lib/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.rb +++ b/lib/users/item/teamwork/send_activity_notification/send_activity_notification_request_builder.rb @@ -56,7 +56,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/teamwork/teamwork_request_builder.rb b/lib/users/item/teamwork/teamwork_request_builder.rb index 249e3e07e5..e523bd402d 100644 --- a/lib/users/item/teamwork/teamwork_request_builder.rb +++ b/lib/users/item/teamwork/teamwork_request_builder.rb @@ -160,7 +160,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/extensions/extensions_request_builder.rb b/lib/users/item/todo/lists/item/extensions/extensions_request_builder.rb index 51e5c1e3db..090b26d56b 100644 --- a/lib/users/item/todo/lists/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/todo/lists/item/extensions/extensions_request_builder.rb @@ -101,7 +101,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/todo/lists/item/extensions/item/extension_item_request_builder.rb index b740863190..9ed45b6b04 100644 --- a/lib/users/item/todo/lists/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/extensions/item/extension_item_request_builder.rb @@ -126,7 +126,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb index 54aefdefae..eb507dc8ed 100644 --- a/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/attachment_session_item_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb index 35183d7a20..d7e242aa77 100644 --- a/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/attachment_sessions/item/content/content_request_builder.rb @@ -1,5 +1,6 @@ require 'microsoft_kiota_abstractions' require_relative '../../../../../../../../../../microsoft_graph' +require_relative '../../../../../../../../../../models/attachment_session' require_relative '../../../../../../../../../../models/o_data_errors/o_data_error' require_relative '../../../../../../../../../users' require_relative '../../../../../../../../item' @@ -54,7 +55,7 @@ def get(request_configuration=nil) ## The content streams that are uploaded. ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of attachment_session ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +65,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, lambda {|pn| MicrosoftGraph::Models::AttachmentSession.create_from_discriminator_value(pn) }, error_mapping) end ## ## The content streams that are uploaded. @@ -94,11 +95,12 @@ def to_put_request_information(body, request_configuration=nil) request_info.url_template = @url_template request_info.path_parameters = @path_parameters request_info.http_method = :PUT + request_info.headers.add('Accept', 'application/json') unless request_configuration.nil? request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb index 572480cab4..fcc265cd95 100644 --- a/lib/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/attachments/attachments_request_builder.rb @@ -111,7 +111,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb index 219d78af27..50f3af3bc2 100644 --- a/lib/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/attachments/create_upload_session/create_upload_session_request_builder.rb @@ -68,7 +68,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb index 744c34085e..aa898fe7c3 100644 --- a/lib/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/attachments/item/value/content_request_builder.rb @@ -54,7 +54,7 @@ def get(request_configuration=nil) ## Update media content for the navigation property attachments in users ## @param body Binary request body ## @param request_configuration Configuration for the request such as headers, query parameters, and middleware options. - ## @return a Fiber of void + ## @return a Fiber of binary ## def put(body, request_configuration=nil) raise StandardError, 'body cannot be null' if body.nil? @@ -64,7 +64,7 @@ def put(body, request_configuration=nil) error_mapping = Hash.new error_mapping["4XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } error_mapping["5XX"] = lambda {|pn| MicrosoftGraph::Models::ODataErrors::ODataError.create_from_discriminator_value(pn) } - return @request_adapter.send_async(request_info, nil, error_mapping) + return @request_adapter.send_async(request_info, Binary, error_mapping) end ## ## Get media content for the navigation property attachments from users @@ -98,7 +98,7 @@ def to_put_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "", body) + request_info.set_content_from_parsable(@request_adapter, "", body) return request_info end end diff --git a/lib/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb index 4ac0dc53b1..975c526916 100644 --- a/lib/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/checklist_items/checklist_items_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb index 199163bd34..2c906bcc07 100644 --- a/lib/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/checklist_items/item/checklist_item_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb index 02fa192fcd..2b9aa5c6cf 100644 --- a/lib/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/extensions/extensions_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb index 6dcb12dcc2..286d6b23a7 100644 --- a/lib/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/extensions/item/extension_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb index 6f171d7f72..3f872e938c 100644 --- a/lib/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/linked_resources/item/linked_resource_item_request_builder.rb @@ -130,7 +130,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb index dcd795bad8..246f7d1f9e 100644 --- a/lib/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/linked_resources/linked_resources_request_builder.rb @@ -105,7 +105,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.rb b/lib/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.rb index a632d4890b..ac15ecda45 100644 --- a/lib/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/item/todo_task_item_request_builder.rb @@ -216,7 +216,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/tasks/tasks_request_builder.rb b/lib/users/item/todo/lists/item/tasks/tasks_request_builder.rb index 71d7748e90..311137c26c 100644 --- a/lib/users/item/todo/lists/item/tasks/tasks_request_builder.rb +++ b/lib/users/item/todo/lists/item/tasks/tasks_request_builder.rb @@ -107,7 +107,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/item/todo_task_list_item_request_builder.rb b/lib/users/item/todo/lists/item/todo_task_list_item_request_builder.rb index 39da653769..91f6e4a936 100644 --- a/lib/users/item/todo/lists/item/todo_task_list_item_request_builder.rb +++ b/lib/users/item/todo/lists/item/todo_task_list_item_request_builder.rb @@ -158,7 +158,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/lists/lists_request_builder.rb b/lib/users/item/todo/lists/lists_request_builder.rb index 2ab8195960..a7b09a37d4 100644 --- a/lib/users/item/todo/lists/lists_request_builder.rb +++ b/lib/users/item/todo/lists/lists_request_builder.rb @@ -103,7 +103,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/todo/todo_request_builder.rb b/lib/users/item/todo/todo_request_builder.rb index 89ecf70f5f..ddde90d657 100644 --- a/lib/users/item/todo/todo_request_builder.rb +++ b/lib/users/item/todo/todo_request_builder.rb @@ -136,7 +136,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.rb b/lib/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.rb index 9874fb4081..1bd45522f9 100644 --- a/lib/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.rb +++ b/lib/users/item/translate_exchange_ids/translate_exchange_ids_request_builder.rb @@ -55,7 +55,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/item/user_item_request_builder.rb b/lib/users/item/user_item_request_builder.rb index 9e0d9c4490..87f2e7ee4c 100644 --- a/lib/users/item/user_item_request_builder.rb +++ b/lib/users/item/user_item_request_builder.rb @@ -909,7 +909,7 @@ def to_patch_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end ## diff --git a/lib/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb b/lib/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb index 7380afa038..24fb40d664 100644 --- a/lib/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb +++ b/lib/users/item/wipe_managed_app_registrations_by_device_tag/wipe_managed_app_registrations_by_device_tag_request_builder.rb @@ -54,7 +54,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/users/users_request_builder.rb b/lib/users/users_request_builder.rb index d868b79f77..0948d91828 100644 --- a/lib/users/users_request_builder.rb +++ b/lib/users/users_request_builder.rb @@ -115,7 +115,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end diff --git a/lib/users/validate_properties/validate_properties_request_builder.rb b/lib/users/validate_properties/validate_properties_request_builder.rb index b0a3a87b6b..2da3b75abc 100644 --- a/lib/users/validate_properties/validate_properties_request_builder.rb +++ b/lib/users/validate_properties/validate_properties_request_builder.rb @@ -52,7 +52,7 @@ def to_post_request_information(body, request_configuration=nil) request_info.add_headers_from_raw_object(request_configuration.headers) request_info.add_request_options(request_configuration.options) end - request_info.set_content_from_parsable(self.request_adapter, "application/json", body) + request_info.set_content_from_parsable(@request_adapter, "application/json", body) return request_info end end diff --git a/lib/version_information.rb b/lib/version_information.rb index 0acb1f71de..bf14322459 100644 --- a/lib/version_information.rb +++ b/lib/version_information.rb @@ -1,6 +1,6 @@ module MicrosoftGraph class VersionInformation - VERSION = "0.20.0" + VERSION = "0.21.0" end end @@ -13,3 +13,4 @@ class VersionInformation + From dbe42a49a2444b8916720d68db8f4e10a9344897 Mon Sep 17 00:00:00 2001 From: Vincent Biret Date: Thu, 6 Apr 2023 09:31:09 -0400 Subject: [PATCH 2/2] - adds changelog entry for weekly generation --- CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 64e70ab786..6122a60a60 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +## [0.21.0] - 2023-04-06 + +### Changed + +- Weekly generation. + ## [0.20.0] - 2023-03-28 ### Changed