Skip to content

Commit 5917bc4

Browse files
chore: generated code for commit 072c38b. [skip ci]
Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 072c38b commit 5917bc4

File tree

136 files changed

+332
-4941
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+332
-4941
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Recommend/RankingInfo.cs

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,26 @@ public RankingInfo() { }
2424
/// <summary>
2525
/// Initializes a new instance of the RankingInfo class.
2626
/// </summary>
27-
/// <param name="filters">Whether a filter matched the query. (required).</param>
2827
/// <param name="firstMatchedWord">Position of the first matched word in the best matching attribute of the record. (required).</param>
2928
/// <param name="geoDistance">Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters). (required).</param>
3029
/// <param name="nbExactWords">Number of exactly matched words. (required).</param>
3130
/// <param name="nbTypos">Number of typos encountered when matching the record. (required).</param>
32-
/// <param name="promoted">Whether the record was promoted by a rule. (required).</param>
3331
/// <param name="userScore">Overall ranking of the record, expressed as a single integer. This attribute is internal. (required).</param>
34-
/// <param name="words">Number of matched words. (required).</param>
35-
public RankingInfo(int filters, int firstMatchedWord, int geoDistance, int nbExactWords, int nbTypos, bool promoted, int userScore, int words)
32+
public RankingInfo(int firstMatchedWord, int geoDistance, int nbExactWords, int nbTypos, int userScore)
3633
{
37-
Filters = filters;
3834
FirstMatchedWord = firstMatchedWord;
3935
GeoDistance = geoDistance;
4036
NbExactWords = nbExactWords;
4137
NbTypos = nbTypos;
42-
Promoted = promoted;
4338
UserScore = userScore;
44-
Words = words;
4539
}
4640

4741
/// <summary>
4842
/// Whether a filter matched the query.
4943
/// </summary>
5044
/// <value>Whether a filter matched the query.</value>
5145
[JsonPropertyName("filters")]
52-
public int Filters { get; set; }
46+
public int? Filters { get; set; }
5347

5448
/// <summary>
5549
/// Position of the first matched word in the best matching attribute of the record.
@@ -103,7 +97,7 @@ public RankingInfo(int filters, int firstMatchedWord, int geoDistance, int nbExa
10397
/// </summary>
10498
/// <value>Whether the record was promoted by a rule.</value>
10599
[JsonPropertyName("promoted")]
106-
public bool Promoted { get; set; }
100+
public bool? Promoted { get; set; }
107101

108102
/// <summary>
109103
/// Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
@@ -124,7 +118,7 @@ public RankingInfo(int filters, int firstMatchedWord, int geoDistance, int nbExa
124118
/// </summary>
125119
/// <value>Number of matched words.</value>
126120
[JsonPropertyName("words")]
127-
public int Words { get; set; }
121+
public int? Words { get; set; }
128122

129123
/// <summary>
130124
/// Whether the record is re-ranked.

clients/algoliasearch-client-dart/packages/algoliasearch/lib/algoliasearch_lite.dart

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,9 @@ export 'package:algolia_client_core/algolia_client_core.dart';
66
export 'src/api/search_client.dart';
77

88
export 'src/model/acl.dart';
9-
export 'src/model/action.dart';
10-
export 'src/model/add_api_key_response.dart';
119
export 'src/model/advanced_syntax_features.dart';
1210
export 'src/model/alternatives_as_exact.dart';
13-
export 'src/model/anchoring.dart';
1411
export 'src/model/api_key.dart';
15-
export 'src/model/api_key_operation.dart';
1612
export 'src/model/around_precision_from_value_inner.dart';
1713
export 'src/model/around_radius_all.dart';
1814
export 'src/model/automatic_facet_filter.dart';
@@ -21,23 +17,11 @@ export 'src/model/base_index_settings.dart';
2117
export 'src/model/base_search_params.dart';
2218
export 'src/model/base_search_params_without_query.dart';
2319
export 'src/model/base_search_response.dart';
24-
export 'src/model/batch_response.dart';
2520
export 'src/model/browse_params_object.dart';
2621
export 'src/model/browse_response.dart';
27-
export 'src/model/built_in_operation.dart';
28-
export 'src/model/built_in_operation_type.dart';
29-
export 'src/model/condition.dart';
30-
export 'src/model/consequence.dart';
31-
export 'src/model/consequence_hide.dart';
3222
export 'src/model/consequence_params.dart';
3323
export 'src/model/consequence_query_object.dart';
3424
export 'src/model/cursor.dart';
35-
export 'src/model/delete_by_params.dart';
36-
export 'src/model/dictionary_action.dart';
37-
export 'src/model/dictionary_entry.dart';
38-
export 'src/model/dictionary_entry_state.dart';
39-
export 'src/model/dictionary_language.dart';
40-
export 'src/model/dictionary_type.dart';
4125
export 'src/model/edit.dart';
4226
export 'src/model/edit_type.dart';
4327
export 'src/model/error_base.dart';
@@ -47,34 +31,23 @@ export 'src/model/facet_hits.dart';
4731
export 'src/model/facet_ordering.dart';
4832
export 'src/model/facets.dart';
4933
export 'src/model/facets_stats.dart';
50-
export 'src/model/fetched_index.dart';
5134
export 'src/model/get_api_key_response.dart';
5235
export 'src/model/highlight_result_option.dart';
5336
export 'src/model/hit.dart';
5437
export 'src/model/index_settings.dart';
5538
export 'src/model/index_settings_as_search_params.dart';
56-
export 'src/model/languages.dart';
57-
export 'src/model/list_indices_response.dart';
58-
export 'src/model/log_type.dart';
5939
export 'src/model/match_level.dart';
6040
export 'src/model/matched_geo_location.dart';
6141
export 'src/model/mode.dart';
62-
export 'src/model/operation_type.dart';
6342
export 'src/model/params.dart';
6443
export 'src/model/personalization.dart';
65-
export 'src/model/promote_object_id.dart';
66-
export 'src/model/promote_object_ids.dart';
6744
export 'src/model/query_type.dart';
6845
export 'src/model/ranking_info.dart';
6946
export 'src/model/redirect.dart';
7047
export 'src/model/redirect_rule_index_metadata.dart';
7148
export 'src/model/redirect_rule_index_metadata_data.dart';
7249
export 'src/model/remove_words_if_no_results.dart';
7350
export 'src/model/rendering_content.dart';
74-
export 'src/model/replace_all_objects_response.dart';
75-
export 'src/model/rule.dart';
76-
export 'src/model/scope_type.dart';
77-
export 'src/model/search_dictionary_entries_response.dart';
7851
export 'src/model/search_for_facet_values_response.dart';
7952
export 'src/model/search_for_facets.dart';
8053
export 'src/model/search_for_facets_options.dart';
@@ -88,24 +61,13 @@ export 'src/model/search_params_string.dart';
8861
export 'src/model/search_response.dart';
8962
export 'src/model/search_responses.dart';
9063
export 'src/model/search_strategy.dart';
91-
export 'src/model/search_synonyms_response.dart';
9264
export 'src/model/search_type_default.dart';
9365
export 'src/model/search_type_facet.dart';
94-
export 'src/model/secured_api_key_restrictions.dart';
9566
export 'src/model/semantic_search.dart';
9667
export 'src/model/snippet_result_option.dart';
9768
export 'src/model/sort_remaining_by.dart';
98-
export 'src/model/source.dart';
99-
export 'src/model/standard_entries.dart';
10069
export 'src/model/supported_language.dart';
101-
export 'src/model/synonym_hit.dart';
102-
export 'src/model/synonym_type.dart';
103-
export 'src/model/task_status.dart';
104-
export 'src/model/time_range.dart';
10570
export 'src/model/typo_tolerance_enum.dart';
106-
export 'src/model/updated_at_response.dart';
107-
export 'src/model/updated_rule_response.dart';
108-
export 'src/model/user_id.dart';
10971
export 'src/model/value.dart';
11072

11173
export 'src/extension.dart';

0 commit comments

Comments
 (0)