Skip to content

Commit f16f719

Browse files
algolia-botmillotp
andcommitted
chore: generated code for commit 68ff7ee. [skip ci]
Co-authored-by: Pierre Millot <[email protected]>
1 parent 68ff7ee commit f16f719

File tree

14 files changed

+164
-486
lines changed

14 files changed

+164
-486
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/api/SearchClient.java

Lines changed: 162 additions & 24 deletions
Large diffs are not rendered by default.

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/search/SynonymHit.java

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,6 @@ public class SynonymHit {
3535
@JsonProperty("replacements")
3636
private List<String> replacements;
3737

38-
@JsonProperty("_highlightResult")
39-
private SynonymHitHighlightResult highlightResult;
40-
4138
public SynonymHit setObjectID(String objectID) {
4239
this.objectID = objectID;
4340
return this;
@@ -182,21 +179,6 @@ public List<String> getReplacements() {
182179
return replacements;
183180
}
184181

185-
public SynonymHit setHighlightResult(SynonymHitHighlightResult highlightResult) {
186-
this.highlightResult = highlightResult;
187-
return this;
188-
}
189-
190-
/**
191-
* Get highlightResult
192-
*
193-
* @return highlightResult
194-
*/
195-
@javax.annotation.Nullable
196-
public SynonymHitHighlightResult getHighlightResult() {
197-
return highlightResult;
198-
}
199-
200182
@Override
201183
public boolean equals(Object o) {
202184
if (this == o) {
@@ -214,14 +196,13 @@ public boolean equals(Object o) {
214196
Objects.equals(this.word, synonymHit.word) &&
215197
Objects.equals(this.corrections, synonymHit.corrections) &&
216198
Objects.equals(this.placeholder, synonymHit.placeholder) &&
217-
Objects.equals(this.replacements, synonymHit.replacements) &&
218-
Objects.equals(this.highlightResult, synonymHit.highlightResult)
199+
Objects.equals(this.replacements, synonymHit.replacements)
219200
);
220201
}
221202

222203
@Override
223204
public int hashCode() {
224-
return Objects.hash(objectID, type, synonyms, input, word, corrections, placeholder, replacements, highlightResult);
205+
return Objects.hash(objectID, type, synonyms, input, word, corrections, placeholder, replacements);
225206
}
226207

227208
@Override
@@ -236,7 +217,6 @@ public String toString() {
236217
sb.append(" corrections: ").append(toIndentedString(corrections)).append("\n");
237218
sb.append(" placeholder: ").append(toIndentedString(placeholder)).append("\n");
238219
sb.append(" replacements: ").append(toIndentedString(replacements)).append("\n");
239-
sb.append(" highlightResult: ").append(toIndentedString(highlightResult)).append("\n");
240220
sb.append("}");
241221
return sb.toString();
242222
}

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/search/SynonymHitHighlightResult.java

Lines changed: 0 additions & 104 deletions
This file was deleted.

clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,6 @@ export * from './sortRemainingBy';
9696
export * from './source';
9797
export * from './standardEntries';
9898
export * from './synonymHit';
99-
export * from './synonymHitHighlightResult';
10099
export * from './synonymType';
101100
export * from './tagFilters';
102101
export * from './taskStatus';

clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/synonymHit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3-
import type { SynonymHitHighlightResult } from './synonymHitHighlightResult';
43
import type { SynonymType } from './synonymType';
54

65
/**
@@ -43,6 +42,4 @@ export type SynonymHit = {
4342
* List of query words that will match the token.
4443
*/
4544
replacements?: string[];
46-
47-
_highlightResult?: SynonymHitHighlightResult;
4845
};

clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/synonymHitHighlightResult.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

clients/algoliasearch-client-javascript/packages/client-search/model/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ export * from './sortRemainingBy';
138138
export * from './source';
139139
export * from './standardEntries';
140140
export * from './synonymHit';
141-
export * from './synonymHitHighlightResult';
142141
export * from './synonymType';
143142
export * from './tagFilters';
144143
export * from './taskStatus';

clients/algoliasearch-client-javascript/packages/client-search/model/synonymHit.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// This file is generated, manual changes will be lost - read more on https://github.com/algolia/api-clients-automation.
22

3-
import type { SynonymHitHighlightResult } from './synonymHitHighlightResult';
43
import type { SynonymType } from './synonymType';
54

65
/**
@@ -43,6 +42,4 @@ export type SynonymHit = {
4342
* List of query words that will match the token.
4443
*/
4544
replacements?: string[];
46-
47-
_highlightResult?: SynonymHitHighlightResult;
4845
};

clients/algoliasearch-client-javascript/packages/client-search/model/synonymHitHighlightResult.ts

Lines changed: 0 additions & 15 deletions
This file was deleted.

clients/algoliasearch-client-php/lib/Api/SearchClient.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2397,7 +2397,6 @@ public function saveRules(
23972397
* - $synonymHit['corrections'] => (array) Words to be matched in records.
23982398
* - $synonymHit['placeholder'] => (string) Token to be put inside records.
23992399
* - $synonymHit['replacements'] => (array) List of query words that will match the token.
2400-
* - $synonymHit['_highlightResult'] => (array)
24012400
*
24022401
* @see \Algolia\AlgoliaSearch\Model\Search\SynonymHit
24032402
*

clients/algoliasearch-client-php/lib/Model/Search/SynonymHit.php

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ class SynonymHit extends \Algolia\AlgoliaSearch\Model\AbstractModel implements
3131
'corrections' => 'string[]',
3232
'placeholder' => 'string',
3333
'replacements' => 'string[]',
34-
'highlightResult' => '\Algolia\AlgoliaSearch\Model\Search\SynonymHitHighlightResult',
3534
];
3635

3736
/**
@@ -48,7 +47,6 @@ class SynonymHit extends \Algolia\AlgoliaSearch\Model\AbstractModel implements
4847
'corrections' => null,
4948
'placeholder' => null,
5049
'replacements' => null,
51-
'highlightResult' => null,
5250
];
5351

5452
/**
@@ -85,7 +83,6 @@ public static function modelFormats()
8583
'corrections' => 'setCorrections',
8684
'placeholder' => 'setPlaceholder',
8785
'replacements' => 'setReplacements',
88-
'highlightResult' => 'setHighlightResult',
8986
];
9087

9188
/**
@@ -102,7 +99,6 @@ public static function modelFormats()
10299
'corrections' => 'getCorrections',
103100
'placeholder' => 'getPlaceholder',
104101
'replacements' => 'getReplacements',
105-
'highlightResult' => 'getHighlightResult',
106102
];
107103

108104
/**
@@ -163,9 +159,6 @@ public function __construct(array $data = null)
163159
if (isset($data['replacements'])) {
164160
$this->container['replacements'] = $data['replacements'];
165161
}
166-
if (isset($data['highlightResult'])) {
167-
$this->container['highlightResult'] = $data['highlightResult'];
168-
}
169162
}
170163

171164
/**
@@ -395,30 +388,6 @@ public function setReplacements($replacements)
395388

396389
return $this;
397390
}
398-
399-
/**
400-
* Gets highlightResult
401-
*
402-
* @return \Algolia\AlgoliaSearch\Model\Search\SynonymHitHighlightResult|null
403-
*/
404-
public function getHighlightResult()
405-
{
406-
return $this->container['highlightResult'] ?? null;
407-
}
408-
409-
/**
410-
* Sets highlightResult
411-
*
412-
* @param \Algolia\AlgoliaSearch\Model\Search\SynonymHitHighlightResult|null $highlightResult highlightResult
413-
*
414-
* @return self
415-
*/
416-
public function setHighlightResult($highlightResult)
417-
{
418-
$this->container['highlightResult'] = $highlightResult;
419-
420-
return $this;
421-
}
422391
/**
423392
* Returns true if offset exists. False otherwise.
424393
*

0 commit comments

Comments
 (0)