Skip to content

Commit cf3df81

Browse files
algolia-botloicsay
authored andcommitted
chore: generated code for commit 27ee237. [skip ci]
Co-authored-by: Loïc Say <[email protected]>
1 parent e227d8a commit cf3df81

35 files changed

+150
-697
lines changed

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/recommend/IndexSettingsAsSearchParams.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ public class IndexSettingsAsSearchParams {
1414
@JsonProperty("attributesForFaceting")
1515
private List<String> attributesForFaceting;
1616

17-
@JsonProperty("unretrievableAttributes")
18-
private List<String> unretrievableAttributes;
19-
2017
@JsonProperty("attributesToRetrieve")
2118
private List<String> attributesToRetrieve;
2219

@@ -163,29 +160,6 @@ public List<String> getAttributesForFaceting() {
163160
return attributesForFaceting;
164161
}
165162

166-
public IndexSettingsAsSearchParams setUnretrievableAttributes(List<String> unretrievableAttributes) {
167-
this.unretrievableAttributes = unretrievableAttributes;
168-
return this;
169-
}
170-
171-
public IndexSettingsAsSearchParams addUnretrievableAttributes(String unretrievableAttributesItem) {
172-
if (this.unretrievableAttributes == null) {
173-
this.unretrievableAttributes = new ArrayList<>();
174-
}
175-
this.unretrievableAttributes.add(unretrievableAttributesItem);
176-
return this;
177-
}
178-
179-
/**
180-
* List of attributes that can't be retrieved at query time.
181-
*
182-
* @return unretrievableAttributes
183-
*/
184-
@javax.annotation.Nullable
185-
public List<String> getUnretrievableAttributes() {
186-
return unretrievableAttributes;
187-
}
188-
189163
public IndexSettingsAsSearchParams setAttributesToRetrieve(List<String> attributesToRetrieve) {
190164
this.attributesToRetrieve = attributesToRetrieve;
191165
return this;
@@ -925,7 +899,6 @@ public boolean equals(Object o) {
925899
IndexSettingsAsSearchParams indexSettingsAsSearchParams = (IndexSettingsAsSearchParams) o;
926900
return (
927901
Objects.equals(this.attributesForFaceting, indexSettingsAsSearchParams.attributesForFaceting) &&
928-
Objects.equals(this.unretrievableAttributes, indexSettingsAsSearchParams.unretrievableAttributes) &&
929902
Objects.equals(this.attributesToRetrieve, indexSettingsAsSearchParams.attributesToRetrieve) &&
930903
Objects.equals(this.restrictSearchableAttributes, indexSettingsAsSearchParams.restrictSearchableAttributes) &&
931904
Objects.equals(this.ranking, indexSettingsAsSearchParams.ranking) &&
@@ -974,7 +947,6 @@ public boolean equals(Object o) {
974947
public int hashCode() {
975948
return Objects.hash(
976949
attributesForFaceting,
977-
unretrievableAttributes,
978950
attributesToRetrieve,
979951
restrictSearchableAttributes,
980952
ranking,
@@ -1024,7 +996,6 @@ public String toString() {
1024996
StringBuilder sb = new StringBuilder();
1025997
sb.append("class IndexSettingsAsSearchParams {\n");
1026998
sb.append(" attributesForFaceting: ").append(toIndentedString(attributesForFaceting)).append("\n");
1027-
sb.append(" unretrievableAttributes: ").append(toIndentedString(unretrievableAttributes)).append("\n");
1028999
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
10291000
sb.append(" restrictSearchableAttributes: ").append(toIndentedString(restrictSearchableAttributes)).append("\n");
10301001
sb.append(" ranking: ").append(toIndentedString(ranking)).append("\n");

clients/algoliasearch-client-java-2/algoliasearch-core/src/main/java/com/algolia/model/recommend/SearchParamsObject.java

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ public class SearchParamsObject {
116116
@JsonProperty("attributesForFaceting")
117117
private List<String> attributesForFaceting;
118118

119-
@JsonProperty("unretrievableAttributes")
120-
private List<String> unretrievableAttributes;
121-
122119
@JsonProperty("attributesToRetrieve")
123120
private List<String> attributesToRetrieve;
124121

@@ -829,29 +826,6 @@ public List<String> getAttributesForFaceting() {
829826
return attributesForFaceting;
830827
}
831828

832-
public SearchParamsObject setUnretrievableAttributes(List<String> unretrievableAttributes) {
833-
this.unretrievableAttributes = unretrievableAttributes;
834-
return this;
835-
}
836-
837-
public SearchParamsObject addUnretrievableAttributes(String unretrievableAttributesItem) {
838-
if (this.unretrievableAttributes == null) {
839-
this.unretrievableAttributes = new ArrayList<>();
840-
}
841-
this.unretrievableAttributes.add(unretrievableAttributesItem);
842-
return this;
843-
}
844-
845-
/**
846-
* List of attributes that can't be retrieved at query time.
847-
*
848-
* @return unretrievableAttributes
849-
*/
850-
@javax.annotation.Nullable
851-
public List<String> getUnretrievableAttributes() {
852-
return unretrievableAttributes;
853-
}
854-
855829
public SearchParamsObject setAttributesToRetrieve(List<String> attributesToRetrieve) {
856830
this.attributesToRetrieve = attributesToRetrieve;
857831
return this;
@@ -1625,7 +1599,6 @@ public boolean equals(Object o) {
16251599
Objects.equals(this.enableReRanking, searchParamsObject.enableReRanking) &&
16261600
Objects.equals(this.reRankingApplyFilter, searchParamsObject.reRankingApplyFilter) &&
16271601
Objects.equals(this.attributesForFaceting, searchParamsObject.attributesForFaceting) &&
1628-
Objects.equals(this.unretrievableAttributes, searchParamsObject.unretrievableAttributes) &&
16291602
Objects.equals(this.attributesToRetrieve, searchParamsObject.attributesToRetrieve) &&
16301603
Objects.equals(this.restrictSearchableAttributes, searchParamsObject.restrictSearchableAttributes) &&
16311604
Objects.equals(this.ranking, searchParamsObject.ranking) &&
@@ -1708,7 +1681,6 @@ public int hashCode() {
17081681
enableReRanking,
17091682
reRankingApplyFilter,
17101683
attributesForFaceting,
1711-
unretrievableAttributes,
17121684
attributesToRetrieve,
17131685
restrictSearchableAttributes,
17141686
ranking,
@@ -1792,7 +1764,6 @@ public String toString() {
17921764
sb.append(" enableReRanking: ").append(toIndentedString(enableReRanking)).append("\n");
17931765
sb.append(" reRankingApplyFilter: ").append(toIndentedString(reRankingApplyFilter)).append("\n");
17941766
sb.append(" attributesForFaceting: ").append(toIndentedString(attributesForFaceting)).append("\n");
1795-
sb.append(" unretrievableAttributes: ").append(toIndentedString(unretrievableAttributes)).append("\n");
17961767
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
17971768
sb.append(" restrictSearchableAttributes: ").append(toIndentedString(restrictSearchableAttributes)).append("\n");
17981769
sb.append(" ranking: ").append(toIndentedString(ranking)).append("\n");

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

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ public class BaseIndexSettings {
1919
@JsonProperty("paginationLimitedTo")
2020
private Integer paginationLimitedTo;
2121

22+
@JsonProperty("unretrievableAttributes")
23+
private List<String> unretrievableAttributes;
24+
2225
@JsonProperty("disableTypoToleranceOnWords")
2326
private List<String> disableTypoToleranceOnWords;
2427

@@ -93,6 +96,29 @@ public Integer getPaginationLimitedTo() {
9396
return paginationLimitedTo;
9497
}
9598

99+
public BaseIndexSettings setUnretrievableAttributes(List<String> unretrievableAttributes) {
100+
this.unretrievableAttributes = unretrievableAttributes;
101+
return this;
102+
}
103+
104+
public BaseIndexSettings addUnretrievableAttributes(String unretrievableAttributesItem) {
105+
if (this.unretrievableAttributes == null) {
106+
this.unretrievableAttributes = new ArrayList<>();
107+
}
108+
this.unretrievableAttributes.add(unretrievableAttributesItem);
109+
return this;
110+
}
111+
112+
/**
113+
* List of attributes that can't be retrieved at query time.
114+
*
115+
* @return unretrievableAttributes
116+
*/
117+
@javax.annotation.Nullable
118+
public List<String> getUnretrievableAttributes() {
119+
return unretrievableAttributes;
120+
}
121+
96122
public BaseIndexSettings setDisableTypoToleranceOnWords(List<String> disableTypoToleranceOnWords) {
97123
this.disableTypoToleranceOnWords = disableTypoToleranceOnWords;
98124
return this;
@@ -352,6 +378,7 @@ public boolean equals(Object o) {
352378
return (
353379
Objects.equals(this.replicas, baseIndexSettings.replicas) &&
354380
Objects.equals(this.paginationLimitedTo, baseIndexSettings.paginationLimitedTo) &&
381+
Objects.equals(this.unretrievableAttributes, baseIndexSettings.unretrievableAttributes) &&
355382
Objects.equals(this.disableTypoToleranceOnWords, baseIndexSettings.disableTypoToleranceOnWords) &&
356383
Objects.equals(this.attributesToTransliterate, baseIndexSettings.attributesToTransliterate) &&
357384
Objects.equals(this.camelCaseAttributes, baseIndexSettings.camelCaseAttributes) &&
@@ -372,6 +399,7 @@ public int hashCode() {
372399
return Objects.hash(
373400
replicas,
374401
paginationLimitedTo,
402+
unretrievableAttributes,
375403
disableTypoToleranceOnWords,
376404
attributesToTransliterate,
377405
camelCaseAttributes,
@@ -393,6 +421,7 @@ public String toString() {
393421
sb.append("class BaseIndexSettings {\n");
394422
sb.append(" replicas: ").append(toIndentedString(replicas)).append("\n");
395423
sb.append(" paginationLimitedTo: ").append(toIndentedString(paginationLimitedTo)).append("\n");
424+
sb.append(" unretrievableAttributes: ").append(toIndentedString(unretrievableAttributes)).append("\n");
396425
sb.append(" disableTypoToleranceOnWords: ").append(toIndentedString(disableTypoToleranceOnWords)).append("\n");
397426
sb.append(" attributesToTransliterate: ").append(toIndentedString(attributesToTransliterate)).append("\n");
398427
sb.append(" camelCaseAttributes: ").append(toIndentedString(camelCaseAttributes)).append("\n");

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,6 @@ public class BrowseParamsObject {
116116
@JsonProperty("attributesForFaceting")
117117
private List<String> attributesForFaceting;
118118

119-
@JsonProperty("unretrievableAttributes")
120-
private List<String> unretrievableAttributes;
121-
122119
@JsonProperty("attributesToRetrieve")
123120
private List<String> attributesToRetrieve;
124121

@@ -832,29 +829,6 @@ public List<String> getAttributesForFaceting() {
832829
return attributesForFaceting;
833830
}
834831

835-
public BrowseParamsObject setUnretrievableAttributes(List<String> unretrievableAttributes) {
836-
this.unretrievableAttributes = unretrievableAttributes;
837-
return this;
838-
}
839-
840-
public BrowseParamsObject addUnretrievableAttributes(String unretrievableAttributesItem) {
841-
if (this.unretrievableAttributes == null) {
842-
this.unretrievableAttributes = new ArrayList<>();
843-
}
844-
this.unretrievableAttributes.add(unretrievableAttributesItem);
845-
return this;
846-
}
847-
848-
/**
849-
* List of attributes that can't be retrieved at query time.
850-
*
851-
* @return unretrievableAttributes
852-
*/
853-
@javax.annotation.Nullable
854-
public List<String> getUnretrievableAttributes() {
855-
return unretrievableAttributes;
856-
}
857-
858832
public BrowseParamsObject setAttributesToRetrieve(List<String> attributesToRetrieve) {
859833
this.attributesToRetrieve = attributesToRetrieve;
860834
return this;
@@ -1644,7 +1618,6 @@ public boolean equals(Object o) {
16441618
Objects.equals(this.enableReRanking, browseParamsObject.enableReRanking) &&
16451619
Objects.equals(this.reRankingApplyFilter, browseParamsObject.reRankingApplyFilter) &&
16461620
Objects.equals(this.attributesForFaceting, browseParamsObject.attributesForFaceting) &&
1647-
Objects.equals(this.unretrievableAttributes, browseParamsObject.unretrievableAttributes) &&
16481621
Objects.equals(this.attributesToRetrieve, browseParamsObject.attributesToRetrieve) &&
16491622
Objects.equals(this.restrictSearchableAttributes, browseParamsObject.restrictSearchableAttributes) &&
16501623
Objects.equals(this.ranking, browseParamsObject.ranking) &&
@@ -1728,7 +1701,6 @@ public int hashCode() {
17281701
enableReRanking,
17291702
reRankingApplyFilter,
17301703
attributesForFaceting,
1731-
unretrievableAttributes,
17321704
attributesToRetrieve,
17331705
restrictSearchableAttributes,
17341706
ranking,
@@ -1813,7 +1785,6 @@ public String toString() {
18131785
sb.append(" enableReRanking: ").append(toIndentedString(enableReRanking)).append("\n");
18141786
sb.append(" reRankingApplyFilter: ").append(toIndentedString(reRankingApplyFilter)).append("\n");
18151787
sb.append(" attributesForFaceting: ").append(toIndentedString(attributesForFaceting)).append("\n");
1816-
sb.append(" unretrievableAttributes: ").append(toIndentedString(unretrievableAttributes)).append("\n");
18171788
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
18181789
sb.append(" restrictSearchableAttributes: ").append(toIndentedString(restrictSearchableAttributes)).append("\n");
18191790
sb.append(" ranking: ").append(toIndentedString(ranking)).append("\n");

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

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,6 @@ public class ConsequenceParams {
113113
@JsonProperty("attributesForFaceting")
114114
private List<String> attributesForFaceting;
115115

116-
@JsonProperty("unretrievableAttributes")
117-
private List<String> unretrievableAttributes;
118-
119116
@JsonProperty("attributesToRetrieve")
120117
private List<String> attributesToRetrieve;
121118

@@ -820,29 +817,6 @@ public List<String> getAttributesForFaceting() {
820817
return attributesForFaceting;
821818
}
822819

823-
public ConsequenceParams setUnretrievableAttributes(List<String> unretrievableAttributes) {
824-
this.unretrievableAttributes = unretrievableAttributes;
825-
return this;
826-
}
827-
828-
public ConsequenceParams addUnretrievableAttributes(String unretrievableAttributesItem) {
829-
if (this.unretrievableAttributes == null) {
830-
this.unretrievableAttributes = new ArrayList<>();
831-
}
832-
this.unretrievableAttributes.add(unretrievableAttributesItem);
833-
return this;
834-
}
835-
836-
/**
837-
* List of attributes that can't be retrieved at query time.
838-
*
839-
* @return unretrievableAttributes
840-
*/
841-
@javax.annotation.Nullable
842-
public List<String> getUnretrievableAttributes() {
843-
return unretrievableAttributes;
844-
}
845-
846820
public ConsequenceParams setAttributesToRetrieve(List<String> attributesToRetrieve) {
847821
this.attributesToRetrieve = attributesToRetrieve;
848822
return this;
@@ -1660,7 +1634,6 @@ public boolean equals(Object o) {
16601634
Objects.equals(this.enableReRanking, consequenceParams.enableReRanking) &&
16611635
Objects.equals(this.reRankingApplyFilter, consequenceParams.reRankingApplyFilter) &&
16621636
Objects.equals(this.attributesForFaceting, consequenceParams.attributesForFaceting) &&
1663-
Objects.equals(this.unretrievableAttributes, consequenceParams.unretrievableAttributes) &&
16641637
Objects.equals(this.attributesToRetrieve, consequenceParams.attributesToRetrieve) &&
16651638
Objects.equals(this.restrictSearchableAttributes, consequenceParams.restrictSearchableAttributes) &&
16661639
Objects.equals(this.ranking, consequenceParams.ranking) &&
@@ -1745,7 +1718,6 @@ public int hashCode() {
17451718
enableReRanking,
17461719
reRankingApplyFilter,
17471720
attributesForFaceting,
1748-
unretrievableAttributes,
17491721
attributesToRetrieve,
17501722
restrictSearchableAttributes,
17511723
ranking,
@@ -1831,7 +1803,6 @@ public String toString() {
18311803
sb.append(" enableReRanking: ").append(toIndentedString(enableReRanking)).append("\n");
18321804
sb.append(" reRankingApplyFilter: ").append(toIndentedString(reRankingApplyFilter)).append("\n");
18331805
sb.append(" attributesForFaceting: ").append(toIndentedString(attributesForFaceting)).append("\n");
1834-
sb.append(" unretrievableAttributes: ").append(toIndentedString(unretrievableAttributes)).append("\n");
18351806
sb.append(" attributesToRetrieve: ").append(toIndentedString(attributesToRetrieve)).append("\n");
18361807
sb.append(" restrictSearchableAttributes: ").append(toIndentedString(restrictSearchableAttributes)).append("\n");
18371808
sb.append(" ranking: ").append(toIndentedString(ranking)).append("\n");

0 commit comments

Comments
 (0)