algolia 3.0.0.alpha.5 → 3.0.0.alpha.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Gemfile.lock +12 -12
- data/algolia.gemspec +2 -1
- data/lib/algolia/api/abtesting_client.rb +9 -9
- data/lib/algolia/api/analytics_client.rb +21 -21
- data/lib/algolia/api/ingestion_client.rb +37 -37
- data/lib/algolia/api/insights_client.rb +5 -5
- data/lib/algolia/api/monitoring_client.rb +14 -20
- data/lib/algolia/api/personalization_client.rb +8 -8
- data/lib/algolia/api/query_suggestions_client.rb +11 -11
- data/lib/algolia/api/recommend_client.rb +11 -12
- data/lib/algolia/api/search_client.rb +175 -118
- data/lib/algolia/api_client.rb +2 -1
- data/lib/algolia/models/abtesting/ab_test.rb +7 -3
- data/lib/algolia/models/abtesting/ab_test_response.rb +7 -3
- data/lib/algolia/models/abtesting/ab_tests_variant.rb +7 -3
- data/lib/algolia/models/abtesting/ab_tests_variant_search_params.rb +7 -3
- data/lib/algolia/models/abtesting/add_ab_tests_request.rb +7 -3
- data/lib/algolia/models/abtesting/add_ab_tests_variant.rb +1 -1
- data/lib/algolia/models/abtesting/currencies_value.rb +7 -3
- data/lib/algolia/models/abtesting/custom_search_params.rb +7 -3
- data/lib/algolia/models/abtesting/error_base.rb +13 -4
- data/lib/algolia/models/abtesting/filter_effects.rb +7 -3
- data/lib/algolia/models/abtesting/filter_effects_empty_search.rb +7 -3
- data/lib/algolia/models/abtesting/filter_effects_outliers.rb +7 -3
- data/lib/algolia/models/abtesting/list_ab_tests_response.rb +7 -3
- data/lib/algolia/models/abtesting/variant.rb +23 -7
- data/lib/algolia/models/analytics/average_click_event.rb +7 -3
- data/lib/algolia/models/analytics/click_position.rb +7 -3
- data/lib/algolia/models/analytics/click_through_rate_event.rb +7 -3
- data/lib/algolia/models/analytics/conversion_rate_event.rb +7 -3
- data/lib/algolia/models/analytics/error_base.rb +13 -4
- data/lib/algolia/models/analytics/get_average_click_position_response.rb +7 -3
- data/lib/algolia/models/analytics/get_click_positions_response.rb +7 -3
- data/lib/algolia/models/analytics/get_click_through_rate_response.rb +7 -3
- data/lib/algolia/models/analytics/get_conversation_rate_response.rb +7 -3
- data/lib/algolia/models/analytics/get_no_click_rate_response.rb +7 -3
- data/lib/algolia/models/analytics/get_no_results_rate_response.rb +7 -3
- data/lib/algolia/models/analytics/get_searches_count_response.rb +7 -3
- data/lib/algolia/models/analytics/get_searches_no_clicks_response.rb +7 -3
- data/lib/algolia/models/analytics/get_searches_no_results_response.rb +7 -3
- data/lib/algolia/models/analytics/get_status_response.rb +7 -3
- data/lib/algolia/models/analytics/get_top_countries_response.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filter_attribute.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filter_attributes_response.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filter_for_attribute.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filter_for_attribute_response.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filters_no_results_response.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filters_no_results_value.rb +7 -3
- data/lib/algolia/models/analytics/get_top_filters_no_results_values.rb +7 -3
- data/lib/algolia/models/analytics/get_top_hits_response.rb +1 -1
- data/lib/algolia/models/analytics/get_top_searches_response.rb +1 -1
- data/lib/algolia/models/analytics/get_users_count_response.rb +7 -3
- data/lib/algolia/models/analytics/no_click_rate_event.rb +7 -3
- data/lib/algolia/models/analytics/no_results_rate_event.rb +7 -3
- data/lib/algolia/models/analytics/search_event.rb +7 -3
- data/lib/algolia/models/analytics/search_no_click_event.rb +7 -3
- data/lib/algolia/models/analytics/search_no_result_event.rb +7 -3
- data/lib/algolia/models/analytics/top_country.rb +7 -3
- data/lib/algolia/models/analytics/top_hit.rb +7 -3
- data/lib/algolia/models/analytics/top_hit_with_analytics.rb +7 -3
- data/lib/algolia/models/analytics/top_hits_response.rb +7 -3
- data/lib/algolia/models/analytics/top_hits_response_with_analytics.rb +7 -3
- data/lib/algolia/models/analytics/top_search.rb +7 -3
- data/lib/algolia/models/analytics/top_search_with_analytics.rb +7 -3
- data/lib/algolia/models/analytics/top_searches_response.rb +7 -3
- data/lib/algolia/models/analytics/top_searches_response_with_analytics.rb +7 -3
- data/lib/algolia/models/analytics/user_with_date.rb +7 -3
- data/lib/algolia/models/ingestion/auth_algolia.rb +7 -3
- data/lib/algolia/models/ingestion/auth_algolia_partial.rb +7 -3
- data/lib/algolia/models/ingestion/auth_api_key.rb +7 -3
- data/lib/algolia/models/ingestion/auth_api_key_partial.rb +7 -3
- data/lib/algolia/models/ingestion/auth_basic.rb +7 -3
- data/lib/algolia/models/ingestion/auth_basic_partial.rb +7 -3
- data/lib/algolia/models/ingestion/auth_google_service_account.rb +7 -3
- data/lib/algolia/models/ingestion/auth_google_service_account_partial.rb +7 -3
- data/lib/algolia/models/ingestion/auth_input.rb +1 -1
- data/lib/algolia/models/ingestion/auth_input_partial.rb +1 -1
- data/lib/algolia/models/ingestion/auth_o_auth.rb +7 -3
- data/lib/algolia/models/ingestion/auth_o_auth_partial.rb +7 -3
- data/lib/algolia/models/ingestion/authentication.rb +7 -3
- data/lib/algolia/models/ingestion/authentication_create.rb +7 -3
- data/lib/algolia/models/ingestion/authentication_create_response.rb +7 -3
- data/lib/algolia/models/ingestion/authentication_search.rb +7 -3
- data/lib/algolia/models/ingestion/authentication_update.rb +7 -3
- data/lib/algolia/models/ingestion/authentication_update_response.rb +7 -3
- data/lib/algolia/models/ingestion/big_commerce_channel.rb +7 -3
- data/lib/algolia/models/ingestion/big_commerce_metafield.rb +7 -3
- data/lib/algolia/models/ingestion/delete_response.rb +7 -3
- data/lib/algolia/models/ingestion/destination.rb +7 -3
- data/lib/algolia/models/ingestion/destination_create.rb +7 -3
- data/lib/algolia/models/ingestion/destination_create_response.rb +7 -3
- data/lib/algolia/models/ingestion/destination_index_name.rb +7 -3
- data/lib/algolia/models/ingestion/destination_index_prefix.rb +7 -3
- data/lib/algolia/models/ingestion/destination_input.rb +1 -1
- data/lib/algolia/models/ingestion/destination_search.rb +7 -3
- data/lib/algolia/models/ingestion/destination_update.rb +7 -3
- data/lib/algolia/models/ingestion/destination_update_response.rb +7 -3
- data/lib/algolia/models/ingestion/docker_source_discover.rb +7 -3
- data/lib/algolia/models/ingestion/docker_source_streams.rb +7 -3
- data/lib/algolia/models/ingestion/error_base.rb +13 -4
- data/lib/algolia/models/ingestion/event.rb +7 -3
- data/lib/algolia/models/ingestion/list_authentications_response.rb +7 -3
- data/lib/algolia/models/ingestion/list_destinations_response.rb +7 -3
- data/lib/algolia/models/ingestion/list_events_response.rb +7 -3
- data/lib/algolia/models/ingestion/list_sources_response.rb +7 -3
- data/lib/algolia/models/ingestion/list_tasks_response.rb +7 -3
- data/lib/algolia/models/ingestion/on_demand_date_utils_input.rb +7 -3
- data/lib/algolia/models/ingestion/on_demand_trigger.rb +7 -3
- data/lib/algolia/models/ingestion/on_demand_trigger_input.rb +7 -3
- data/lib/algolia/models/ingestion/pagination.rb +7 -3
- data/lib/algolia/models/ingestion/platform_with_none.rb +1 -1
- data/lib/algolia/models/ingestion/run.rb +7 -3
- data/lib/algolia/models/ingestion/run_list_response.rb +7 -3
- data/lib/algolia/models/ingestion/run_progress.rb +7 -3
- data/lib/algolia/models/ingestion/run_response.rb +7 -3
- data/lib/algolia/models/ingestion/schedule_date_utils_input.rb +7 -3
- data/lib/algolia/models/ingestion/schedule_trigger.rb +7 -3
- data/lib/algolia/models/ingestion/schedule_trigger_input.rb +7 -3
- data/lib/algolia/models/ingestion/source.rb +7 -3
- data/lib/algolia/models/ingestion/source_big_commerce.rb +7 -3
- data/lib/algolia/models/ingestion/source_big_query.rb +7 -3
- data/lib/algolia/models/ingestion/source_commercetools.rb +7 -3
- data/lib/algolia/models/ingestion/source_create.rb +7 -3
- data/lib/algolia/models/ingestion/source_create_response.rb +7 -3
- data/lib/algolia/models/ingestion/source_csv.rb +7 -3
- data/lib/algolia/models/ingestion/source_docker.rb +7 -3
- data/lib/algolia/models/ingestion/source_input.rb +1 -1
- data/lib/algolia/models/ingestion/source_json.rb +7 -3
- data/lib/algolia/models/ingestion/source_search.rb +7 -3
- data/lib/algolia/models/ingestion/source_update.rb +7 -3
- data/lib/algolia/models/ingestion/source_update_commercetools.rb +7 -3
- data/lib/algolia/models/ingestion/source_update_docker.rb +7 -3
- data/lib/algolia/models/ingestion/source_update_input.rb +1 -1
- data/lib/algolia/models/ingestion/source_update_response.rb +7 -3
- data/lib/algolia/models/ingestion/subscription_trigger.rb +7 -3
- data/lib/algolia/models/ingestion/task.rb +7 -3
- data/lib/algolia/models/ingestion/task_create.rb +7 -3
- data/lib/algolia/models/ingestion/task_create_response.rb +7 -3
- data/lib/algolia/models/ingestion/task_create_trigger.rb +1 -1
- data/lib/algolia/models/ingestion/task_input.rb +1 -1
- data/lib/algolia/models/ingestion/task_search.rb +7 -3
- data/lib/algolia/models/ingestion/task_update.rb +7 -3
- data/lib/algolia/models/ingestion/task_update_response.rb +7 -3
- data/lib/algolia/models/ingestion/trigger.rb +1 -1
- data/lib/algolia/models/ingestion/trigger_update_input.rb +7 -3
- data/lib/algolia/models/ingestion/window.rb +7 -3
- data/lib/algolia/models/insights/added_to_cart_object_ids.rb +7 -3
- data/lib/algolia/models/insights/added_to_cart_object_ids_after_search.rb +7 -3
- data/lib/algolia/models/insights/clicked_filters.rb +7 -3
- data/lib/algolia/models/insights/clicked_object_ids.rb +7 -3
- data/lib/algolia/models/insights/clicked_object_ids_after_search.rb +7 -3
- data/lib/algolia/models/insights/converted_filters.rb +7 -3
- data/lib/algolia/models/insights/converted_object_ids.rb +7 -3
- data/lib/algolia/models/insights/converted_object_ids_after_search.rb +7 -3
- data/lib/algolia/models/insights/discount.rb +1 -1
- data/lib/algolia/models/insights/error_base.rb +13 -4
- data/lib/algolia/models/insights/events_items.rb +1 -1
- data/lib/algolia/models/insights/events_response.rb +7 -3
- data/lib/algolia/models/insights/insights_events.rb +7 -3
- data/lib/algolia/models/insights/object_data.rb +7 -3
- data/lib/algolia/models/insights/object_data_after_search.rb +7 -3
- data/lib/algolia/models/insights/price.rb +1 -1
- data/lib/algolia/models/insights/purchased_object_ids.rb +7 -3
- data/lib/algolia/models/insights/purchased_object_ids_after_search.rb +7 -3
- data/lib/algolia/models/insights/value.rb +1 -1
- data/lib/algolia/models/insights/viewed_filters.rb +7 -3
- data/lib/algolia/models/insights/viewed_object_ids.rb +7 -3
- data/lib/algolia/models/monitoring/error_base.rb +13 -4
- data/lib/algolia/models/monitoring/get_inventory403_response.rb +7 -3
- data/lib/algolia/models/monitoring/incident.rb +7 -3
- data/lib/algolia/models/monitoring/incidents_inner.rb +7 -3
- data/lib/algolia/models/monitoring/incidents_response.rb +7 -3
- data/lib/algolia/models/monitoring/indexing_time_response.rb +7 -3
- data/lib/algolia/models/monitoring/indexing_time_response_metrics.rb +7 -3
- data/lib/algolia/models/monitoring/infrastructure_response.rb +7 -3
- data/lib/algolia/models/monitoring/infrastructure_response_metrics.rb +7 -3
- data/lib/algolia/models/monitoring/inventory_response.rb +7 -3
- data/lib/algolia/models/monitoring/latency_response.rb +7 -3
- data/lib/algolia/models/monitoring/latency_response_metrics.rb +7 -3
- data/lib/algolia/models/monitoring/probes_metric.rb +7 -3
- data/lib/algolia/models/monitoring/server.rb +7 -3
- data/lib/algolia/models/monitoring/status_response.rb +7 -3
- data/lib/algolia/models/monitoring/time_inner.rb +7 -3
- data/lib/algolia/models/personalization/delete_user_profile_response.rb +7 -3
- data/lib/algolia/models/personalization/error_base.rb +13 -4
- data/lib/algolia/models/personalization/event_scoring.rb +7 -3
- data/lib/algolia/models/personalization/facet_scoring.rb +7 -3
- data/lib/algolia/models/personalization/get_user_token_response.rb +7 -3
- data/lib/algolia/models/personalization/personalization_strategy_params.rb +7 -3
- data/lib/algolia/models/personalization/set_personalization_strategy_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/base_query_suggestions_configuration_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/base_query_suggestions_configuration_with_index.rb +7 -3
- data/lib/algolia/models/query-suggestions/base_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/error_base.rb +13 -4
- data/lib/algolia/models/query-suggestions/facet.rb +7 -3
- data/lib/algolia/models/query-suggestions/get_config_status200_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/get_log_file200_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/languages.rb +1 -1
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration.rb +7 -3
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration_response.rb +7 -3
- data/lib/algolia/models/query-suggestions/query_suggestions_configuration_with_index.rb +7 -3
- data/lib/algolia/models/query-suggestions/source_index.rb +7 -3
- data/lib/algolia/models/recommend/around_precision.rb +1 -1
- data/lib/algolia/models/recommend/around_precision_from_value_inner.rb +7 -3
- data/lib/algolia/models/recommend/around_radius.rb +1 -1
- data/lib/algolia/models/recommend/automatic_facet_filter.rb +7 -3
- data/lib/algolia/models/recommend/automatic_facet_filters.rb +1 -1
- data/lib/algolia/models/recommend/base_recommend_request.rb +7 -3
- data/lib/algolia/models/recommend/base_recommendations_query.rb +7 -3
- data/lib/algolia/models/recommend/base_recommended_for_you_query.rb +7 -3
- data/lib/algolia/models/recommend/base_recommended_for_you_query_parameters.rb +7 -3
- data/lib/algolia/models/recommend/base_search_params.rb +7 -3
- data/lib/algolia/models/recommend/base_search_params_without_query.rb +7 -3
- data/lib/algolia/models/recommend/base_search_response.rb +13 -4
- data/lib/algolia/models/recommend/base_trending_facets_query.rb +7 -3
- data/lib/algolia/models/recommend/base_trending_items_query.rb +7 -3
- data/lib/algolia/models/recommend/condition.rb +7 -3
- data/lib/algolia/models/recommend/consequence.rb +7 -3
- data/lib/algolia/models/recommend/consequence_hide.rb +7 -3
- data/lib/algolia/models/recommend/consequence_params.rb +7 -3
- data/lib/algolia/models/recommend/consequence_query.rb +1 -1
- data/lib/algolia/models/recommend/consequence_query_object.rb +7 -3
- data/lib/algolia/models/recommend/deleted_at_response.rb +7 -3
- data/lib/algolia/models/recommend/distinct.rb +1 -1
- data/lib/algolia/models/recommend/edit.rb +7 -3
- data/lib/algolia/models/recommend/error_base.rb +13 -4
- data/lib/algolia/models/recommend/exhaustive.rb +7 -3
- data/lib/algolia/models/recommend/facet_filters.rb +1 -1
- data/lib/algolia/models/recommend/facet_ordering.rb +7 -3
- data/lib/algolia/models/recommend/facets.rb +7 -3
- data/lib/algolia/models/recommend/facets_stats.rb +7 -3
- data/lib/algolia/models/recommend/get_recommend_task_response.rb +7 -3
- data/lib/algolia/models/recommend/get_recommendations_params.rb +7 -3
- data/lib/algolia/models/recommend/get_recommendations_response.rb +7 -3
- data/lib/algolia/models/recommend/highlight_result.rb +1 -1
- data/lib/algolia/models/recommend/highlight_result_option.rb +7 -3
- data/lib/algolia/models/recommend/ignore_plurals.rb +1 -1
- data/lib/algolia/models/recommend/index_settings_as_search_params.rb +7 -3
- data/lib/algolia/models/recommend/matched_geo_location.rb +7 -3
- data/lib/algolia/models/recommend/mixed_search_filters.rb +1 -1
- data/lib/algolia/models/recommend/numeric_filters.rb +1 -1
- data/lib/algolia/models/recommend/optional_filters.rb +1 -1
- data/lib/algolia/models/recommend/params.rb +7 -3
- data/lib/algolia/models/recommend/personalization.rb +7 -3
- data/lib/algolia/models/recommend/promote.rb +1 -1
- data/lib/algolia/models/recommend/promote_object_id.rb +7 -3
- data/lib/algolia/models/recommend/promote_object_ids.rb +7 -3
- data/lib/algolia/models/recommend/ranking_info.rb +7 -3
- data/lib/algolia/models/recommend/re_ranking_apply_filter.rb +1 -1
- data/lib/algolia/models/recommend/recommend_hit.rb +13 -4
- data/lib/algolia/models/recommend/recommendations_hit.rb +1 -1
- data/lib/algolia/models/recommend/recommendations_hits.rb +7 -3
- data/lib/algolia/models/recommend/recommendations_query.rb +7 -3
- data/lib/algolia/models/recommend/recommendations_request.rb +1 -1
- data/lib/algolia/models/recommend/recommendations_results.rb +7 -3
- data/lib/algolia/models/recommend/recommended_for_you_query.rb +7 -3
- data/lib/algolia/models/recommend/recommended_for_you_query_parameters.rb +7 -3
- data/lib/algolia/models/recommend/redirect.rb +7 -3
- data/lib/algolia/models/recommend/redirect_rule_index_metadata.rb +7 -3
- data/lib/algolia/models/recommend/redirect_rule_index_metadata_data.rb +7 -3
- data/lib/algolia/models/recommend/remove_stop_words.rb +1 -1
- data/lib/algolia/models/recommend/rendering_content.rb +7 -3
- data/lib/algolia/models/recommend/rule_response.rb +7 -3
- data/lib/algolia/models/recommend/rule_response_metadata.rb +7 -3
- data/lib/algolia/models/recommend/search_params_object.rb +7 -3
- data/lib/algolia/models/recommend/search_params_query.rb +7 -3
- data/lib/algolia/models/recommend/search_recommend_rules_params.rb +7 -3
- data/lib/algolia/models/recommend/search_recommend_rules_response.rb +7 -3
- data/lib/algolia/models/recommend/semantic_search.rb +7 -3
- data/lib/algolia/models/recommend/snippet_result.rb +1 -1
- data/lib/algolia/models/recommend/snippet_result_option.rb +7 -3
- data/lib/algolia/models/recommend/tag_filters.rb +1 -1
- data/lib/algolia/models/recommend/trending_facet_hit.rb +7 -3
- data/lib/algolia/models/recommend/trending_facets_query.rb +7 -3
- data/lib/algolia/models/recommend/trending_items_query.rb +7 -3
- data/lib/algolia/models/recommend/typo_tolerance.rb +1 -1
- data/lib/algolia/models/recommend/value.rb +7 -3
- data/lib/algolia/models/search/add_api_key_response.rb +7 -3
- data/lib/algolia/models/search/api_key.rb +7 -3
- data/lib/algolia/models/search/around_precision.rb +1 -1
- data/lib/algolia/models/search/around_precision_from_value_inner.rb +7 -3
- data/lib/algolia/models/search/around_radius.rb +1 -1
- data/lib/algolia/models/search/assign_user_id_params.rb +7 -3
- data/lib/algolia/models/search/attribute_to_update.rb +1 -1
- data/lib/algolia/models/search/automatic_facet_filter.rb +7 -3
- data/lib/algolia/models/search/automatic_facet_filters.rb +1 -1
- data/lib/algolia/models/search/base_get_api_key_response.rb +7 -3
- data/lib/algolia/models/search/base_index_settings.rb +7 -3
- data/lib/algolia/models/search/base_search_params.rb +7 -3
- data/lib/algolia/models/search/base_search_params_without_query.rb +7 -3
- data/lib/algolia/models/search/base_search_response.rb +13 -4
- data/lib/algolia/models/search/batch_assign_user_ids_params.rb +7 -3
- data/lib/algolia/models/search/batch_dictionary_entries_params.rb +7 -3
- data/lib/algolia/models/search/batch_dictionary_entries_request.rb +7 -3
- data/lib/algolia/models/search/batch_params.rb +7 -3
- data/lib/algolia/models/search/batch_request.rb +7 -3
- data/lib/algolia/models/search/batch_response.rb +7 -3
- data/lib/algolia/models/search/batch_write_params.rb +7 -3
- data/lib/algolia/models/search/browse_params.rb +1 -1
- data/lib/algolia/models/search/browse_params_object.rb +7 -3
- data/lib/algolia/models/search/browse_response.rb +7 -3
- data/lib/algolia/models/search/built_in_operation.rb +7 -3
- data/lib/algolia/models/search/condition.rb +7 -3
- data/lib/algolia/models/search/consequence.rb +7 -3
- data/lib/algolia/models/search/consequence_hide.rb +7 -3
- data/lib/algolia/models/search/consequence_params.rb +7 -3
- data/lib/algolia/models/search/consequence_query.rb +1 -1
- data/lib/algolia/models/search/consequence_query_object.rb +7 -3
- data/lib/algolia/models/search/created_at_response.rb +7 -3
- data/lib/algolia/models/search/cursor.rb +7 -3
- data/lib/algolia/models/search/delete_api_key_response.rb +7 -3
- data/lib/algolia/models/search/delete_by_params.rb +7 -3
- data/lib/algolia/models/search/delete_source_response.rb +7 -3
- data/lib/algolia/models/search/deleted_at_response.rb +7 -3
- data/lib/algolia/models/search/dictionary_entry.rb +13 -4
- data/lib/algolia/models/search/dictionary_language.rb +7 -3
- data/lib/algolia/models/search/dictionary_settings_params.rb +7 -3
- data/lib/algolia/models/search/distinct.rb +1 -1
- data/lib/algolia/models/search/edit.rb +7 -3
- data/lib/algolia/models/search/error_base.rb +13 -4
- data/lib/algolia/models/search/exhaustive.rb +7 -3
- data/lib/algolia/models/search/facet_filters.rb +1 -1
- data/lib/algolia/models/search/facet_hits.rb +7 -3
- data/lib/algolia/models/search/facet_ordering.rb +7 -3
- data/lib/algolia/models/search/facets.rb +7 -3
- data/lib/algolia/models/search/facets_stats.rb +7 -3
- data/lib/algolia/models/search/fetched_index.rb +7 -3
- data/lib/algolia/models/search/get_api_key_response.rb +7 -3
- data/lib/algolia/models/search/get_dictionary_settings_response.rb +7 -3
- data/lib/algolia/models/search/get_logs_response.rb +7 -3
- data/lib/algolia/models/search/get_objects_params.rb +7 -3
- data/lib/algolia/models/search/get_objects_request.rb +7 -3
- data/lib/algolia/models/search/get_objects_response.rb +7 -3
- data/lib/algolia/models/search/get_task_response.rb +7 -3
- data/lib/algolia/models/search/get_top_user_ids_response.rb +7 -3
- data/lib/algolia/models/search/has_pending_mappings_response.rb +7 -3
- data/lib/algolia/models/search/highlight_result.rb +1 -1
- data/lib/algolia/models/search/highlight_result_option.rb +7 -3
- data/lib/algolia/models/search/hit.rb +13 -4
- data/lib/algolia/models/search/ignore_plurals.rb +1 -1
- data/lib/algolia/models/search/index_settings.rb +7 -3
- data/lib/algolia/models/search/index_settings_as_search_params.rb +7 -3
- data/lib/algolia/models/search/languages.rb +7 -3
- data/lib/algolia/models/search/list_api_keys_response.rb +7 -3
- data/lib/algolia/models/search/list_clusters_response.rb +7 -3
- data/lib/algolia/models/search/list_indices_response.rb +7 -3
- data/lib/algolia/models/search/list_user_ids_response.rb +7 -3
- data/lib/algolia/models/search/log.rb +7 -3
- data/lib/algolia/models/search/log_query.rb +7 -3
- data/lib/algolia/models/search/matched_geo_location.rb +7 -3
- data/lib/algolia/models/search/mixed_search_filters.rb +1 -1
- data/lib/algolia/models/search/multiple_batch_request.rb +7 -3
- data/lib/algolia/models/search/multiple_batch_response.rb +7 -3
- data/lib/algolia/models/search/numeric_filters.rb +1 -1
- data/lib/algolia/models/search/operation_index_params.rb +7 -3
- data/lib/algolia/models/search/optional_filters.rb +1 -1
- data/lib/algolia/models/search/params.rb +7 -3
- data/lib/algolia/models/search/personalization.rb +7 -3
- data/lib/algolia/models/search/promote.rb +1 -1
- data/lib/algolia/models/search/promote_object_id.rb +7 -3
- data/lib/algolia/models/search/promote_object_ids.rb +7 -3
- data/lib/algolia/models/search/ranking_info.rb +7 -3
- data/lib/algolia/models/search/re_ranking_apply_filter.rb +1 -1
- data/lib/algolia/models/search/redirect.rb +7 -3
- data/lib/algolia/models/search/redirect_rule_index_metadata.rb +7 -3
- data/lib/algolia/models/search/redirect_rule_index_metadata_data.rb +7 -3
- data/lib/algolia/models/search/remove_stop_words.rb +1 -1
- data/lib/algolia/models/search/remove_user_id_response.rb +7 -3
- data/lib/algolia/models/search/rendering_content.rb +7 -3
- data/lib/algolia/models/search/replace_source_response.rb +7 -3
- data/lib/algolia/models/search/rule.rb +7 -3
- data/lib/algolia/models/search/save_object_response.rb +7 -3
- data/lib/algolia/models/search/save_synonym_response.rb +7 -3
- data/lib/algolia/models/search/search_dictionary_entries_params.rb +7 -3
- data/lib/algolia/models/search/search_for_facet_values_request.rb +7 -3
- data/lib/algolia/models/search/search_for_facet_values_response.rb +7 -3
- data/lib/algolia/models/search/search_for_facets.rb +7 -3
- data/lib/algolia/models/search/search_for_facets_options.rb +7 -3
- data/lib/algolia/models/search/search_for_hits.rb +7 -3
- data/lib/algolia/models/search/search_for_hits_options.rb +7 -3
- data/lib/algolia/models/search/search_hits.rb +13 -4
- data/lib/algolia/models/search/search_method_params.rb +7 -3
- data/lib/algolia/models/search/search_params.rb +1 -1
- data/lib/algolia/models/search/search_params_object.rb +7 -3
- data/lib/algolia/models/search/search_params_query.rb +7 -3
- data/lib/algolia/models/search/search_params_string.rb +7 -3
- data/lib/algolia/models/search/search_query.rb +1 -1
- data/lib/algolia/models/search/search_response.rb +13 -4
- data/lib/algolia/models/search/search_responses.rb +7 -3
- data/lib/algolia/models/search/search_result.rb +1 -1
- data/lib/algolia/models/search/search_rules_params.rb +7 -3
- data/lib/algolia/models/search/search_rules_response.rb +7 -3
- data/lib/algolia/models/search/search_synonyms_params.rb +80 -7
- data/lib/algolia/models/search/search_synonyms_response.rb +13 -4
- data/lib/algolia/models/search/search_user_ids_params.rb +7 -3
- data/lib/algolia/models/search/search_user_ids_response.rb +7 -3
- data/lib/algolia/models/search/semantic_search.rb +7 -3
- data/lib/algolia/models/search/snippet_result.rb +1 -1
- data/lib/algolia/models/search/snippet_result_option.rb +7 -3
- data/lib/algolia/models/search/source.rb +7 -3
- data/lib/algolia/models/search/standard_entries.rb +7 -3
- data/lib/algolia/models/search/synonym_hit.rb +7 -3
- data/lib/algolia/models/search/tag_filters.rb +1 -1
- data/lib/algolia/models/search/time_range.rb +7 -3
- data/lib/algolia/models/search/typo_tolerance.rb +1 -1
- data/lib/algolia/models/search/update_api_key_response.rb +7 -3
- data/lib/algolia/models/search/updated_at_response.rb +7 -3
- data/lib/algolia/models/search/updated_at_with_object_id_response.rb +7 -3
- data/lib/algolia/models/search/updated_rule_response.rb +7 -3
- data/lib/algolia/models/search/user_highlight_result.rb +7 -3
- data/lib/algolia/models/search/user_hit.rb +7 -3
- data/lib/algolia/models/search/user_id.rb +7 -3
- data/lib/algolia/models/search/value.rb +7 -3
- data/lib/algolia/transport/transport.rb +3 -3
- data/lib/algolia/version.rb +1 -1
- metadata +2 -2
@@ -70,7 +70,7 @@ module Algolia
|
|
70
70
|
# @return [AuthenticationCreateResponse]
|
71
71
|
def create_authentication(authentication_create, request_options = {})
|
72
72
|
response = create_authentication_with_http_info(authentication_create, request_options)
|
73
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::AuthenticationCreateResponse')
|
73
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::AuthenticationCreateResponse')
|
74
74
|
end
|
75
75
|
|
76
76
|
# Create a destination.
|
@@ -110,7 +110,7 @@ module Algolia
|
|
110
110
|
# @return [DestinationCreateResponse]
|
111
111
|
def create_destination(destination_create, request_options = {})
|
112
112
|
response = create_destination_with_http_info(destination_create, request_options)
|
113
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DestinationCreateResponse')
|
113
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DestinationCreateResponse')
|
114
114
|
end
|
115
115
|
|
116
116
|
# Create a source.
|
@@ -150,7 +150,7 @@ module Algolia
|
|
150
150
|
# @return [SourceCreateResponse]
|
151
151
|
def create_source(source_create, request_options = {})
|
152
152
|
response = create_source_with_http_info(source_create, request_options)
|
153
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::SourceCreateResponse')
|
153
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::SourceCreateResponse')
|
154
154
|
end
|
155
155
|
|
156
156
|
# Create a task.
|
@@ -190,7 +190,7 @@ module Algolia
|
|
190
190
|
# @return [TaskCreateResponse]
|
191
191
|
def create_task(task_create, request_options = {})
|
192
192
|
response = create_task_with_http_info(task_create, request_options)
|
193
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskCreateResponse')
|
193
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskCreateResponse')
|
194
194
|
end
|
195
195
|
|
196
196
|
# Send requests to the Algolia REST API.
|
@@ -233,7 +233,7 @@ module Algolia
|
|
233
233
|
# @return [Object]
|
234
234
|
def custom_delete(path, parameters = nil, request_options = {})
|
235
235
|
response = custom_delete_with_http_info(path, parameters, request_options)
|
236
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
236
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
237
237
|
end
|
238
238
|
|
239
239
|
# Send requests to the Algolia REST API.
|
@@ -276,7 +276,7 @@ module Algolia
|
|
276
276
|
# @return [Object]
|
277
277
|
def custom_get(path, parameters = nil, request_options = {})
|
278
278
|
response = custom_get_with_http_info(path, parameters, request_options)
|
279
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
279
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
280
280
|
end
|
281
281
|
|
282
282
|
# Send requests to the Algolia REST API.
|
@@ -321,7 +321,7 @@ module Algolia
|
|
321
321
|
# @return [Object]
|
322
322
|
def custom_post(path, parameters = nil, body = nil, request_options = {})
|
323
323
|
response = custom_post_with_http_info(path, parameters, body, request_options)
|
324
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
324
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
325
325
|
end
|
326
326
|
|
327
327
|
# Send requests to the Algolia REST API.
|
@@ -366,7 +366,7 @@ module Algolia
|
|
366
366
|
# @return [Object]
|
367
367
|
def custom_put(path, parameters = nil, body = nil, request_options = {})
|
368
368
|
response = custom_put_with_http_info(path, parameters, body, request_options)
|
369
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
369
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
370
370
|
end
|
371
371
|
|
372
372
|
# Delete a authentication.
|
@@ -406,7 +406,7 @@ module Algolia
|
|
406
406
|
# @return [DeleteResponse]
|
407
407
|
def delete_authentication(authentication_id, request_options = {})
|
408
408
|
response = delete_authentication_with_http_info(authentication_id, request_options)
|
409
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
409
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
410
410
|
end
|
411
411
|
|
412
412
|
# Delete a destination.
|
@@ -446,7 +446,7 @@ module Algolia
|
|
446
446
|
# @return [DeleteResponse]
|
447
447
|
def delete_destination(destination_id, request_options = {})
|
448
448
|
response = delete_destination_with_http_info(destination_id, request_options)
|
449
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
449
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
450
450
|
end
|
451
451
|
|
452
452
|
# Delete a source.
|
@@ -486,7 +486,7 @@ module Algolia
|
|
486
486
|
# @return [DeleteResponse]
|
487
487
|
def delete_source(source_id, request_options = {})
|
488
488
|
response = delete_source_with_http_info(source_id, request_options)
|
489
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
489
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
490
490
|
end
|
491
491
|
|
492
492
|
# Delete a task.
|
@@ -526,7 +526,7 @@ module Algolia
|
|
526
526
|
# @return [DeleteResponse]
|
527
527
|
def delete_task(task_id, request_options = {})
|
528
528
|
response = delete_task_with_http_info(task_id, request_options)
|
529
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
529
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DeleteResponse')
|
530
530
|
end
|
531
531
|
|
532
532
|
# Disable a task.
|
@@ -566,7 +566,7 @@ module Algolia
|
|
566
566
|
# @return [TaskUpdateResponse]
|
567
567
|
def disable_task(task_id, request_options = {})
|
568
568
|
response = disable_task_with_http_info(task_id, request_options)
|
569
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
569
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
570
570
|
end
|
571
571
|
|
572
572
|
# Enable a task.
|
@@ -606,7 +606,7 @@ module Algolia
|
|
606
606
|
# @return [TaskUpdateResponse]
|
607
607
|
def enable_task(task_id, request_options = {})
|
608
608
|
response = enable_task_with_http_info(task_id, request_options)
|
609
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
609
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
610
610
|
end
|
611
611
|
|
612
612
|
# Get a authentication.
|
@@ -646,7 +646,7 @@ module Algolia
|
|
646
646
|
# @return [Authentication]
|
647
647
|
def get_authentication(authentication_id, request_options = {})
|
648
648
|
response = get_authentication_with_http_info(authentication_id, request_options)
|
649
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Authentication')
|
649
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Authentication')
|
650
650
|
end
|
651
651
|
|
652
652
|
# Get a list of authentications.
|
@@ -697,7 +697,7 @@ module Algolia
|
|
697
697
|
# @return [ListAuthenticationsResponse]
|
698
698
|
def get_authentications(items_per_page = nil, page = nil, type = nil, platform = nil, sort = nil, order = nil, request_options = {})
|
699
699
|
response = get_authentications_with_http_info(items_per_page, page, type, platform, sort, order, request_options)
|
700
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListAuthenticationsResponse')
|
700
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListAuthenticationsResponse')
|
701
701
|
end
|
702
702
|
|
703
703
|
# Get a destination.
|
@@ -737,7 +737,7 @@ module Algolia
|
|
737
737
|
# @return [Destination]
|
738
738
|
def get_destination(destination_id, request_options = {})
|
739
739
|
response = get_destination_with_http_info(destination_id, request_options)
|
740
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Destination')
|
740
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Destination')
|
741
741
|
end
|
742
742
|
|
743
743
|
# Get a list of destinations.
|
@@ -788,7 +788,7 @@ module Algolia
|
|
788
788
|
# @return [ListDestinationsResponse]
|
789
789
|
def get_destinations(items_per_page = nil, page = nil, type = nil, authentication_id = nil, sort = nil, order = nil, request_options = {})
|
790
790
|
response = get_destinations_with_http_info(items_per_page, page, type, authentication_id, sort, order, request_options)
|
791
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListDestinationsResponse')
|
791
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListDestinationsResponse')
|
792
792
|
end
|
793
793
|
|
794
794
|
# Retrieve a stream listing.
|
@@ -828,7 +828,7 @@ module Algolia
|
|
828
828
|
# @return [DockerSourceStreams]
|
829
829
|
def get_docker_source_streams(source_id, request_options = {})
|
830
830
|
response = get_docker_source_streams_with_http_info(source_id, request_options)
|
831
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DockerSourceStreams')
|
831
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DockerSourceStreams')
|
832
832
|
end
|
833
833
|
|
834
834
|
# Get an event.
|
@@ -874,7 +874,7 @@ module Algolia
|
|
874
874
|
# @return [Event]
|
875
875
|
def get_event(run_id, event_id, request_options = {})
|
876
876
|
response = get_event_with_http_info(run_id, event_id, request_options)
|
877
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Event')
|
877
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Event')
|
878
878
|
end
|
879
879
|
|
880
880
|
# Get a list of events.
|
@@ -939,7 +939,7 @@ module Algolia
|
|
939
939
|
# @return [ListEventsResponse]
|
940
940
|
def get_events(run_id, items_per_page = nil, page = nil, status = nil, type = nil, sort = nil, order = nil, start_date = nil, end_date = nil, request_options = {})
|
941
941
|
response = get_events_with_http_info(run_id, items_per_page, page, status, type, sort, order, start_date, end_date, request_options)
|
942
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListEventsResponse')
|
942
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListEventsResponse')
|
943
943
|
end
|
944
944
|
|
945
945
|
# Get a run.
|
@@ -979,7 +979,7 @@ module Algolia
|
|
979
979
|
# @return [Run]
|
980
980
|
def get_run(run_id, request_options = {})
|
981
981
|
response = get_run_with_http_info(run_id, request_options)
|
982
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Run')
|
982
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Run')
|
983
983
|
end
|
984
984
|
|
985
985
|
# Get a list of runs.
|
@@ -1036,7 +1036,7 @@ module Algolia
|
|
1036
1036
|
# @return [RunListResponse]
|
1037
1037
|
def get_runs(items_per_page = nil, page = nil, status = nil, task_id = nil, sort = nil, order = nil, start_date = nil, end_date = nil, request_options = {})
|
1038
1038
|
response = get_runs_with_http_info(items_per_page, page, status, task_id, sort, order, start_date, end_date, request_options)
|
1039
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::RunListResponse')
|
1039
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::RunListResponse')
|
1040
1040
|
end
|
1041
1041
|
|
1042
1042
|
# Get a source.
|
@@ -1076,7 +1076,7 @@ module Algolia
|
|
1076
1076
|
# @return [Source]
|
1077
1077
|
def get_source(source_id, request_options = {})
|
1078
1078
|
response = get_source_with_http_info(source_id, request_options)
|
1079
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Source')
|
1079
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Source')
|
1080
1080
|
end
|
1081
1081
|
|
1082
1082
|
# Get a list of sources.
|
@@ -1127,7 +1127,7 @@ module Algolia
|
|
1127
1127
|
# @return [ListSourcesResponse]
|
1128
1128
|
def get_sources(items_per_page = nil, page = nil, type = nil, authentication_id = nil, sort = nil, order = nil, request_options = {})
|
1129
1129
|
response = get_sources_with_http_info(items_per_page, page, type, authentication_id, sort, order, request_options)
|
1130
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListSourcesResponse')
|
1130
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListSourcesResponse')
|
1131
1131
|
end
|
1132
1132
|
|
1133
1133
|
# Get a task.
|
@@ -1167,7 +1167,7 @@ module Algolia
|
|
1167
1167
|
# @return [Task]
|
1168
1168
|
def get_task(task_id, request_options = {})
|
1169
1169
|
response = get_task_with_http_info(task_id, request_options)
|
1170
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Task')
|
1170
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::Task')
|
1171
1171
|
end
|
1172
1172
|
|
1173
1173
|
# Get a list of tasks.
|
@@ -1229,7 +1229,7 @@ module Algolia
|
|
1229
1229
|
def get_tasks(items_per_page = nil, page = nil, action = nil, enabled = nil, source_id = nil, destination_id = nil, trigger_type = nil, sort = nil, order = nil,
|
1230
1230
|
request_options = {})
|
1231
1231
|
response = get_tasks_with_http_info(items_per_page, page, action, enabled, source_id, destination_id, trigger_type, sort, order, request_options)
|
1232
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListTasksResponse')
|
1232
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::ListTasksResponse')
|
1233
1233
|
end
|
1234
1234
|
|
1235
1235
|
# Run a task.
|
@@ -1269,7 +1269,7 @@ module Algolia
|
|
1269
1269
|
# @return [RunResponse]
|
1270
1270
|
def run_task(task_id, request_options = {})
|
1271
1271
|
response = run_task_with_http_info(task_id, request_options)
|
1272
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::RunResponse')
|
1272
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::RunResponse')
|
1273
1273
|
end
|
1274
1274
|
|
1275
1275
|
# Search among authentications.
|
@@ -1309,7 +1309,7 @@ module Algolia
|
|
1309
1309
|
# @return [Array<Authentication>]
|
1310
1310
|
def search_authentications(authentication_search, request_options = {})
|
1311
1311
|
response = search_authentications_with_http_info(authentication_search, request_options)
|
1312
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Authentication>')
|
1312
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Authentication>')
|
1313
1313
|
end
|
1314
1314
|
|
1315
1315
|
# Search among destinations.
|
@@ -1349,7 +1349,7 @@ module Algolia
|
|
1349
1349
|
# @return [Array<Destination>]
|
1350
1350
|
def search_destinations(destination_search, request_options = {})
|
1351
1351
|
response = search_destinations_with_http_info(destination_search, request_options)
|
1352
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Destination>')
|
1352
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Destination>')
|
1353
1353
|
end
|
1354
1354
|
|
1355
1355
|
# Search among sources.
|
@@ -1389,7 +1389,7 @@ module Algolia
|
|
1389
1389
|
# @return [Array<Source>]
|
1390
1390
|
def search_sources(source_search, request_options = {})
|
1391
1391
|
response = search_sources_with_http_info(source_search, request_options)
|
1392
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Source>')
|
1392
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Source>')
|
1393
1393
|
end
|
1394
1394
|
|
1395
1395
|
# Search among tasks.
|
@@ -1429,7 +1429,7 @@ module Algolia
|
|
1429
1429
|
# @return [Array<Task>]
|
1430
1430
|
def search_tasks(task_search, request_options = {})
|
1431
1431
|
response = search_tasks_with_http_info(task_search, request_options)
|
1432
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Task>')
|
1432
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Array<Ingestion::Task>')
|
1433
1433
|
end
|
1434
1434
|
|
1435
1435
|
# Trigger a stream listing request.
|
@@ -1469,7 +1469,7 @@ module Algolia
|
|
1469
1469
|
# @return [DockerSourceDiscover]
|
1470
1470
|
def trigger_docker_source_discover(source_id, request_options = {})
|
1471
1471
|
response = trigger_docker_source_discover_with_http_info(source_id, request_options)
|
1472
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DockerSourceDiscover')
|
1472
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DockerSourceDiscover')
|
1473
1473
|
end
|
1474
1474
|
|
1475
1475
|
# Update a authentication.
|
@@ -1515,7 +1515,7 @@ module Algolia
|
|
1515
1515
|
# @return [AuthenticationUpdateResponse]
|
1516
1516
|
def update_authentication(authentication_id, authentication_update, request_options = {})
|
1517
1517
|
response = update_authentication_with_http_info(authentication_id, authentication_update, request_options)
|
1518
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::AuthenticationUpdateResponse')
|
1518
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::AuthenticationUpdateResponse')
|
1519
1519
|
end
|
1520
1520
|
|
1521
1521
|
# Update a destination.
|
@@ -1561,7 +1561,7 @@ module Algolia
|
|
1561
1561
|
# @return [DestinationUpdateResponse]
|
1562
1562
|
def update_destination(destination_id, destination_update, request_options = {})
|
1563
1563
|
response = update_destination_with_http_info(destination_id, destination_update, request_options)
|
1564
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DestinationUpdateResponse')
|
1564
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::DestinationUpdateResponse')
|
1565
1565
|
end
|
1566
1566
|
|
1567
1567
|
# Update a source.
|
@@ -1607,7 +1607,7 @@ module Algolia
|
|
1607
1607
|
# @return [SourceUpdateResponse]
|
1608
1608
|
def update_source(source_id, source_update, request_options = {})
|
1609
1609
|
response = update_source_with_http_info(source_id, source_update, request_options)
|
1610
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::SourceUpdateResponse')
|
1610
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::SourceUpdateResponse')
|
1611
1611
|
end
|
1612
1612
|
|
1613
1613
|
# Update a task.
|
@@ -1653,7 +1653,7 @@ module Algolia
|
|
1653
1653
|
# @return [TaskUpdateResponse]
|
1654
1654
|
def update_task(task_id, task_update, request_options = {})
|
1655
1655
|
response = update_task_with_http_info(task_id, task_update, request_options)
|
1656
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
1656
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Ingestion::TaskUpdateResponse')
|
1657
1657
|
end
|
1658
1658
|
end
|
1659
1659
|
end
|
@@ -73,7 +73,7 @@ module Algolia
|
|
73
73
|
# @return [Object]
|
74
74
|
def custom_delete(path, parameters = nil, request_options = {})
|
75
75
|
response = custom_delete_with_http_info(path, parameters, request_options)
|
76
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
76
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
77
77
|
end
|
78
78
|
|
79
79
|
# Send requests to the Algolia REST API.
|
@@ -116,7 +116,7 @@ module Algolia
|
|
116
116
|
# @return [Object]
|
117
117
|
def custom_get(path, parameters = nil, request_options = {})
|
118
118
|
response = custom_get_with_http_info(path, parameters, request_options)
|
119
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
119
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
120
120
|
end
|
121
121
|
|
122
122
|
# Send requests to the Algolia REST API.
|
@@ -161,7 +161,7 @@ module Algolia
|
|
161
161
|
# @return [Object]
|
162
162
|
def custom_post(path, parameters = nil, body = nil, request_options = {})
|
163
163
|
response = custom_post_with_http_info(path, parameters, body, request_options)
|
164
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
164
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
165
165
|
end
|
166
166
|
|
167
167
|
# Send requests to the Algolia REST API.
|
@@ -206,7 +206,7 @@ module Algolia
|
|
206
206
|
# @return [Object]
|
207
207
|
def custom_put(path, parameters = nil, body = nil, request_options = {})
|
208
208
|
response = custom_put_with_http_info(path, parameters, body, request_options)
|
209
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
209
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
210
210
|
end
|
211
211
|
|
212
212
|
# Delete user token.
|
@@ -298,7 +298,7 @@ module Algolia
|
|
298
298
|
# @return [EventsResponse]
|
299
299
|
def push_events(insights_events, request_options = {})
|
300
300
|
response = push_events_with_http_info(insights_events, request_options)
|
301
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Insights::EventsResponse')
|
301
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Insights::EventsResponse')
|
302
302
|
end
|
303
303
|
end
|
304
304
|
end
|
@@ -14,13 +14,7 @@ module Algolia
|
|
14
14
|
|
15
15
|
def self.create(app_id, api_key, opts = {})
|
16
16
|
hosts = []
|
17
|
-
|
18
|
-
hosts << Transport::StatefulHost.new("#{app_id}-dsn.algolia.net", accept: CallType::READ)
|
19
|
-
hosts << Transport::StatefulHost.new("#{app_id}.algolia.net", accept: CallType::WRITE)
|
20
|
-
|
21
|
-
hosts += 1.upto(3).map do |i|
|
22
|
-
Transport::StatefulHost.new("#{app_id}-#{i}.algolianet.com", accept: CallType::READ | CallType::WRITE)
|
23
|
-
end.shuffle
|
17
|
+
hosts << Transport::StatefulHost.new('status.algolia.com', accept: CallType::READ | CallType::WRITE)
|
24
18
|
|
25
19
|
config = Algolia::Configuration.new(app_id, api_key, hosts, 'Monitoring', opts)
|
26
20
|
create_with_config(config)
|
@@ -70,7 +64,7 @@ module Algolia
|
|
70
64
|
# @return [Object]
|
71
65
|
def custom_delete(path, parameters = nil, request_options = {})
|
72
66
|
response = custom_delete_with_http_info(path, parameters, request_options)
|
73
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
67
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
74
68
|
end
|
75
69
|
|
76
70
|
# Send requests to the Algolia REST API.
|
@@ -113,7 +107,7 @@ module Algolia
|
|
113
107
|
# @return [Object]
|
114
108
|
def custom_get(path, parameters = nil, request_options = {})
|
115
109
|
response = custom_get_with_http_info(path, parameters, request_options)
|
116
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
110
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
117
111
|
end
|
118
112
|
|
119
113
|
# Send requests to the Algolia REST API.
|
@@ -158,7 +152,7 @@ module Algolia
|
|
158
152
|
# @return [Object]
|
159
153
|
def custom_post(path, parameters = nil, body = nil, request_options = {})
|
160
154
|
response = custom_post_with_http_info(path, parameters, body, request_options)
|
161
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
155
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
162
156
|
end
|
163
157
|
|
164
158
|
# Send requests to the Algolia REST API.
|
@@ -203,7 +197,7 @@ module Algolia
|
|
203
197
|
# @return [Object]
|
204
198
|
def custom_put(path, parameters = nil, body = nil, request_options = {})
|
205
199
|
response = custom_put_with_http_info(path, parameters, body, request_options)
|
206
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
200
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
207
201
|
end
|
208
202
|
|
209
203
|
# List incidents for selected clusters.
|
@@ -243,7 +237,7 @@ module Algolia
|
|
243
237
|
# @return [IncidentsResponse]
|
244
238
|
def get_cluster_incidents(clusters, request_options = {})
|
245
239
|
response = get_cluster_incidents_with_http_info(clusters, request_options)
|
246
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IncidentsResponse')
|
240
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IncidentsResponse')
|
247
241
|
end
|
248
242
|
|
249
243
|
# List statuses of selected clusters.
|
@@ -283,7 +277,7 @@ module Algolia
|
|
283
277
|
# @return [StatusResponse]
|
284
278
|
def get_cluster_status(clusters, request_options = {})
|
285
279
|
response = get_cluster_status_with_http_info(clusters, request_options)
|
286
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::StatusResponse')
|
280
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::StatusResponse')
|
287
281
|
end
|
288
282
|
|
289
283
|
# List incidents.
|
@@ -316,7 +310,7 @@ module Algolia
|
|
316
310
|
# @return [IncidentsResponse]
|
317
311
|
def get_incidents(request_options = {})
|
318
312
|
response = get_incidents_with_http_info(request_options)
|
319
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IncidentsResponse')
|
313
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IncidentsResponse')
|
320
314
|
end
|
321
315
|
|
322
316
|
# Get indexing times.
|
@@ -356,7 +350,7 @@ module Algolia
|
|
356
350
|
# @return [IndexingTimeResponse]
|
357
351
|
def get_indexing_time(clusters, request_options = {})
|
358
352
|
response = get_indexing_time_with_http_info(clusters, request_options)
|
359
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IndexingTimeResponse')
|
353
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::IndexingTimeResponse')
|
360
354
|
end
|
361
355
|
|
362
356
|
# List servers.
|
@@ -389,7 +383,7 @@ module Algolia
|
|
389
383
|
# @return [InventoryResponse]
|
390
384
|
def get_inventory(request_options = {})
|
391
385
|
response = get_inventory_with_http_info(request_options)
|
392
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::InventoryResponse')
|
386
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::InventoryResponse')
|
393
387
|
end
|
394
388
|
|
395
389
|
# Get search latency times.
|
@@ -429,7 +423,7 @@ module Algolia
|
|
429
423
|
# @return [LatencyResponse]
|
430
424
|
def get_latency(clusters, request_options = {})
|
431
425
|
response = get_latency_with_http_info(clusters, request_options)
|
432
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::LatencyResponse')
|
426
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::LatencyResponse')
|
433
427
|
end
|
434
428
|
|
435
429
|
# Get metrics for a given period.
|
@@ -476,7 +470,7 @@ module Algolia
|
|
476
470
|
# @return [InfrastructureResponse]
|
477
471
|
def get_metrics(metric, period, request_options = {})
|
478
472
|
response = get_metrics_with_http_info(metric, period, request_options)
|
479
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::InfrastructureResponse')
|
473
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::InfrastructureResponse')
|
480
474
|
end
|
481
475
|
|
482
476
|
# Test the reachability of clusters.
|
@@ -516,7 +510,7 @@ module Algolia
|
|
516
510
|
# @return [Hash<String, Hash>]
|
517
511
|
def get_reachability(clusters, request_options = {})
|
518
512
|
response = get_reachability_with_http_info(clusters, request_options)
|
519
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::Hash<String, Hash>')
|
513
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::Hash<String, Hash>')
|
520
514
|
end
|
521
515
|
|
522
516
|
# List cluster statuses.
|
@@ -549,7 +543,7 @@ module Algolia
|
|
549
543
|
# @return [StatusResponse]
|
550
544
|
def get_status(request_options = {})
|
551
545
|
response = get_status_with_http_info(request_options)
|
552
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::StatusResponse')
|
546
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Monitoring::StatusResponse')
|
553
547
|
end
|
554
548
|
end
|
555
549
|
end
|
@@ -73,7 +73,7 @@ module Algolia
|
|
73
73
|
# @return [Object]
|
74
74
|
def custom_delete(path, parameters = nil, request_options = {})
|
75
75
|
response = custom_delete_with_http_info(path, parameters, request_options)
|
76
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
76
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
77
77
|
end
|
78
78
|
|
79
79
|
# Send requests to the Algolia REST API.
|
@@ -116,7 +116,7 @@ module Algolia
|
|
116
116
|
# @return [Object]
|
117
117
|
def custom_get(path, parameters = nil, request_options = {})
|
118
118
|
response = custom_get_with_http_info(path, parameters, request_options)
|
119
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
119
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
120
120
|
end
|
121
121
|
|
122
122
|
# Send requests to the Algolia REST API.
|
@@ -161,7 +161,7 @@ module Algolia
|
|
161
161
|
# @return [Object]
|
162
162
|
def custom_post(path, parameters = nil, body = nil, request_options = {})
|
163
163
|
response = custom_post_with_http_info(path, parameters, body, request_options)
|
164
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
164
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
165
165
|
end
|
166
166
|
|
167
167
|
# Send requests to the Algolia REST API.
|
@@ -206,7 +206,7 @@ module Algolia
|
|
206
206
|
# @return [Object]
|
207
207
|
def custom_put(path, parameters = nil, body = nil, request_options = {})
|
208
208
|
response = custom_put_with_http_info(path, parameters, body, request_options)
|
209
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
209
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
210
210
|
end
|
211
211
|
|
212
212
|
# Delete a user profile.
|
@@ -246,7 +246,7 @@ module Algolia
|
|
246
246
|
# @return [DeleteUserProfileResponse]
|
247
247
|
def delete_user_profile(user_token, request_options = {})
|
248
248
|
response = delete_user_profile_with_http_info(user_token, request_options)
|
249
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Personalization::DeleteUserProfileResponse')
|
249
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::DeleteUserProfileResponse')
|
250
250
|
end
|
251
251
|
|
252
252
|
# Get the current strategy.
|
@@ -279,7 +279,7 @@ module Algolia
|
|
279
279
|
# @return [PersonalizationStrategyParams]
|
280
280
|
def get_personalization_strategy(request_options = {})
|
281
281
|
response = get_personalization_strategy_with_http_info(request_options)
|
282
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Personalization::PersonalizationStrategyParams')
|
282
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::PersonalizationStrategyParams')
|
283
283
|
end
|
284
284
|
|
285
285
|
# Get a user profile.
|
@@ -319,7 +319,7 @@ module Algolia
|
|
319
319
|
# @return [GetUserTokenResponse]
|
320
320
|
def get_user_token_profile(user_token, request_options = {})
|
321
321
|
response = get_user_token_profile_with_http_info(user_token, request_options)
|
322
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Personalization::GetUserTokenResponse')
|
322
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::GetUserTokenResponse')
|
323
323
|
end
|
324
324
|
|
325
325
|
# Set a new strategy.
|
@@ -359,7 +359,7 @@ module Algolia
|
|
359
359
|
# @return [SetPersonalizationStrategyResponse]
|
360
360
|
def set_personalization_strategy(personalization_strategy_params, request_options = {})
|
361
361
|
response = set_personalization_strategy_with_http_info(personalization_strategy_params, request_options)
|
362
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Personalization::SetPersonalizationStrategyResponse')
|
362
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Personalization::SetPersonalizationStrategyResponse')
|
363
363
|
end
|
364
364
|
end
|
365
365
|
end
|
@@ -70,7 +70,7 @@ module Algolia
|
|
70
70
|
# @return [BaseResponse]
|
71
71
|
def create_config(query_suggestions_configuration_with_index, request_options = {})
|
72
72
|
response = create_config_with_http_info(query_suggestions_configuration_with_index, request_options)
|
73
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
73
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
74
74
|
end
|
75
75
|
|
76
76
|
# Send requests to the Algolia REST API.
|
@@ -113,7 +113,7 @@ module Algolia
|
|
113
113
|
# @return [Object]
|
114
114
|
def custom_delete(path, parameters = nil, request_options = {})
|
115
115
|
response = custom_delete_with_http_info(path, parameters, request_options)
|
116
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
116
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
117
117
|
end
|
118
118
|
|
119
119
|
# Send requests to the Algolia REST API.
|
@@ -156,7 +156,7 @@ module Algolia
|
|
156
156
|
# @return [Object]
|
157
157
|
def custom_get(path, parameters = nil, request_options = {})
|
158
158
|
response = custom_get_with_http_info(path, parameters, request_options)
|
159
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
159
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
160
160
|
end
|
161
161
|
|
162
162
|
# Send requests to the Algolia REST API.
|
@@ -201,7 +201,7 @@ module Algolia
|
|
201
201
|
# @return [Object]
|
202
202
|
def custom_post(path, parameters = nil, body = nil, request_options = {})
|
203
203
|
response = custom_post_with_http_info(path, parameters, body, request_options)
|
204
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
204
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
205
205
|
end
|
206
206
|
|
207
207
|
# Send requests to the Algolia REST API.
|
@@ -246,7 +246,7 @@ module Algolia
|
|
246
246
|
# @return [Object]
|
247
247
|
def custom_put(path, parameters = nil, body = nil, request_options = {})
|
248
248
|
response = custom_put_with_http_info(path, parameters, body, request_options)
|
249
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
249
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Object')
|
250
250
|
end
|
251
251
|
|
252
252
|
# Delete a configuration.
|
@@ -286,7 +286,7 @@ module Algolia
|
|
286
286
|
# @return [BaseResponse]
|
287
287
|
def delete_config(index_name, request_options = {})
|
288
288
|
response = delete_config_with_http_info(index_name, request_options)
|
289
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
289
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
290
290
|
end
|
291
291
|
|
292
292
|
# List configurations.
|
@@ -319,7 +319,7 @@ module Algolia
|
|
319
319
|
# @return [Array<QuerySuggestionsConfigurationResponse>]
|
320
320
|
def get_all_configs(request_options = {})
|
321
321
|
response = get_all_configs_with_http_info(request_options)
|
322
|
-
deserialize(response.body, request_options[:debug_return_type] || 'Array<QuerySuggestions::QuerySuggestionsConfigurationResponse>')
|
322
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'Array<QuerySuggestions::QuerySuggestionsConfigurationResponse>')
|
323
323
|
end
|
324
324
|
|
325
325
|
# Get a configuration.
|
@@ -359,7 +359,7 @@ module Algolia
|
|
359
359
|
# @return [QuerySuggestionsConfigurationResponse]
|
360
360
|
def get_config(index_name, request_options = {})
|
361
361
|
response = get_config_with_http_info(index_name, request_options)
|
362
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::QuerySuggestionsConfigurationResponse')
|
362
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::QuerySuggestionsConfigurationResponse')
|
363
363
|
end
|
364
364
|
|
365
365
|
# Get configuration status.
|
@@ -399,7 +399,7 @@ module Algolia
|
|
399
399
|
# @return [GetConfigStatus200Response]
|
400
400
|
def get_config_status(index_name, request_options = {})
|
401
401
|
response = get_config_status_with_http_info(index_name, request_options)
|
402
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::GetConfigStatus200Response')
|
402
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::GetConfigStatus200Response')
|
403
403
|
end
|
404
404
|
|
405
405
|
# Get logs.
|
@@ -439,7 +439,7 @@ module Algolia
|
|
439
439
|
# @return [GetLogFile200Response]
|
440
440
|
def get_log_file(index_name, request_options = {})
|
441
441
|
response = get_log_file_with_http_info(index_name, request_options)
|
442
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::GetLogFile200Response')
|
442
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::GetLogFile200Response')
|
443
443
|
end
|
444
444
|
|
445
445
|
# Update a configuration.
|
@@ -485,7 +485,7 @@ module Algolia
|
|
485
485
|
# @return [BaseResponse]
|
486
486
|
def update_config(index_name, query_suggestions_configuration, request_options = {})
|
487
487
|
response = update_config_with_http_info(index_name, query_suggestions_configuration, request_options)
|
488
|
-
deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
488
|
+
@api_client.deserialize(response.body, request_options[:debug_return_type] || 'QuerySuggestions::BaseResponse')
|
489
489
|
end
|
490
490
|
end
|
491
491
|
end
|