Skip to content

Commit 9a39dbc

Browse files
Merge pull request #711 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents a1ca689 + 536f412 commit 9a39dbc

File tree

9 files changed

+34
-33
lines changed

9 files changed

+34
-33
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchProjectionParams.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
import io.vrap.rmf.base.client.utils.Generated;
1414

1515
/**
16-
* ProductSearchProjectionParams
16+
* <p>The query parameters used for data integration with Product Projection parameters.</p>
1717
*
1818
* <hr>
1919
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchProjectionParamsImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.apache.commons.lang3.builder.ToStringStyle;
1818

1919
/**
20-
* ProductSearchProjectionParams
20+
* <p>The query parameters used for data integration with Product Projection parameters.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class ProductSearchProjectionParamsImpl implements ProductSearchProjectionParams, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequest.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@ public interface ProductSearchRequest {
4242
public SearchQuery getQuery();
4343

4444
/**
45-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
45+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
4646
* @return sort
4747
*/
4848
@Valid
4949
@JsonProperty("sort")
5050
public List<SearchSorting> getSort();
5151

5252
/**
53-
* <p>The maximum number of search results to be returned.</p>
53+
* <p>The maximum number of search results to be returned in one page.</p>
5454
* @return limit
5555
*/
5656

@@ -74,7 +74,7 @@ public interface ProductSearchRequest {
7474
public Boolean getMarkMatchingVariants();
7575

7676
/**
77-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
77+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
7878
* @return productProjectionParameters
7979
*/
8080
@Valid
@@ -105,22 +105,22 @@ public interface ProductSearchRequest {
105105
public void setQuery(final SearchQuery query);
106106

107107
/**
108-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
108+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
109109
* @param sort values to be set
110110
*/
111111

112112
@JsonIgnore
113113
public void setSort(final SearchSorting... sort);
114114

115115
/**
116-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
116+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
117117
* @param sort values to be set
118118
*/
119119

120120
public void setSort(final List<SearchSorting> sort);
121121

122122
/**
123-
* <p>The maximum number of search results to be returned.</p>
123+
* <p>The maximum number of search results to be returned in one page.</p>
124124
* @param limit value to be set
125125
*/
126126

@@ -141,7 +141,7 @@ public interface ProductSearchRequest {
141141
public void setMarkMatchingVariants(final Boolean markMatchingVariants);
142142

143143
/**
144-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
144+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
145145
* @param productProjectionParameters value to be set
146146
*/
147147

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestBuilder.java

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public ProductSearchRequestBuilder query(@Nullable final com.commercetools.api.m
8383
}
8484

8585
/**
86-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
86+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
8787
* @param sort value to be set
8888
* @return Builder
8989
*/
@@ -94,7 +94,7 @@ public ProductSearchRequestBuilder sort(@Nullable final com.commercetools.api.mo
9494
}
9595

9696
/**
97-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
97+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
9898
* @param sort value to be set
9999
* @return Builder
100100
*/
@@ -106,7 +106,7 @@ public ProductSearchRequestBuilder sort(
106106
}
107107

108108
/**
109-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
109+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
110110
* @param sort value to be set
111111
* @return Builder
112112
*/
@@ -121,7 +121,7 @@ public ProductSearchRequestBuilder plusSort(
121121
}
122122

123123
/**
124-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
124+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
125125
* @param builder function to build the sort value
126126
* @return Builder
127127
*/
@@ -136,7 +136,7 @@ public ProductSearchRequestBuilder plusSort(
136136
}
137137

138138
/**
139-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
139+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
140140
* @param builder function to build the sort value
141141
* @return Builder
142142
*/
@@ -149,7 +149,7 @@ public ProductSearchRequestBuilder withSort(
149149
}
150150

151151
/**
152-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
152+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
153153
* @param builder function to build the sort value
154154
* @return Builder
155155
*/
@@ -160,7 +160,7 @@ public ProductSearchRequestBuilder addSort(
160160
}
161161

162162
/**
163-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
163+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
164164
* @param builder function to build the sort value
165165
* @return Builder
166166
*/
@@ -171,7 +171,7 @@ public ProductSearchRequestBuilder setSort(
171171
}
172172

173173
/**
174-
* <p>The maximum number of search results to be returned.</p>
174+
* <p>The maximum number of search results to be returned in one page.</p>
175175
* @param limit value to be set
176176
* @return Builder
177177
*/
@@ -204,7 +204,7 @@ public ProductSearchRequestBuilder markMatchingVariants(@Nullable final Boolean
204204
}
205205

206206
/**
207-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
207+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
208208
* @param builder function to build the productProjectionParameters value
209209
* @return Builder
210210
*/
@@ -218,7 +218,7 @@ public ProductSearchRequestBuilder productProjectionParameters(
218218
}
219219

220220
/**
221-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
221+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
222222
* @param builder function to build the productProjectionParameters value
223223
* @return Builder
224224
*/
@@ -231,7 +231,7 @@ public ProductSearchRequestBuilder withProductProjectionParameters(
231231
}
232232

233233
/**
234-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
234+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
235235
* @param productProjectionParameters value to be set
236236
* @return Builder
237237
*/
@@ -384,7 +384,7 @@ public com.commercetools.api.models.search.SearchQuery getQuery() {
384384
}
385385

386386
/**
387-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
387+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
388388
* @return sort
389389
*/
390390

@@ -394,7 +394,7 @@ public java.util.List<com.commercetools.api.models.search.SearchSorting> getSort
394394
}
395395

396396
/**
397-
* <p>The maximum number of search results to be returned.</p>
397+
* <p>The maximum number of search results to be returned in one page.</p>
398398
* @return limit
399399
*/
400400

@@ -424,7 +424,7 @@ public Boolean getMarkMatchingVariants() {
424424
}
425425

426426
/**
427-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
427+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
428428
* @return productProjectionParameters
429429
*/
430430

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/product_search/ProductSearchRequestImpl.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,15 +74,15 @@ public com.commercetools.api.models.search.SearchQuery getQuery() {
7474
}
7575

7676
/**
77-
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
77+
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
7878
*/
7979

8080
public java.util.List<com.commercetools.api.models.search.SearchSorting> getSort() {
8181
return this.sort;
8282
}
8383

8484
/**
85-
* <p>The maximum number of search results to be returned.</p>
85+
* <p>The maximum number of search results to be returned in one page.</p>
8686
*/
8787

8888
public Integer getLimit() {
@@ -106,7 +106,7 @@ public Boolean getMarkMatchingVariants() {
106106
}
107107

108108
/**
109-
* <p>Set this field to <code>{}</code> to get the ProductProjection included in the ProductSearchResult. Include query parameters for controlling Reference Expansion or projections according to your needs. If not set, the result does not include the Product Projection.</p>
109+
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
110110
*/
111111

112112
public com.commercetools.api.models.product_search.ProductSearchProjectionParams getProductProjectionParameters() {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchSorting.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import jakarta.validation.constraints.NotNull;
1717

1818
/**
19-
* <p>Sorting parameters provided with a Search request. Sorting allows you to control how results to your query are sorted. If no sorting is specified, the results are sorted by relevance in descending (<code>desc</code>) order.</p>
19+
* <p>Sorting parameters provided with a Search request.</p>
2020
*
2121
* <hr>
2222
* Example to create an instance using the builder pattern
@@ -34,7 +34,7 @@
3434
public interface SearchSorting {
3535

3636
/**
37-
* <p>Use any searchable field of the resource as sort criterion.</p>
37+
* <p>Use any searchable field of the resource as sort criterion, or <code>"score"</code> to sort by relevance score calculated by the API.</p>
3838
* @return field
3939
*/
4040
@NotNull
@@ -82,7 +82,7 @@ public interface SearchSorting {
8282
public SearchQueryExpression getFilter();
8383

8484
/**
85-
* <p>Use any searchable field of the resource as sort criterion.</p>
85+
* <p>Use any searchable field of the resource as sort criterion, or <code>"score"</code> to sort by relevance score calculated by the API.</p>
8686
* @param field value to be set
8787
*/
8888

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchSortingBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class SearchSortingBuilder implements Builder<SearchSorting> {
4242
private com.commercetools.api.models.search.SearchQueryExpression filter;
4343

4444
/**
45-
* <p>Use any searchable field of the resource as sort criterion.</p>
45+
* <p>Use any searchable field of the resource as sort criterion, or <code>"score"</code> to sort by relevance score calculated by the API.</p>
4646
* @param field value to be set
4747
* @return Builder
4848
*/
@@ -134,7 +134,7 @@ public SearchSortingBuilder filter(
134134
}
135135

136136
/**
137-
* <p>Use any searchable field of the resource as sort criterion.</p>
137+
* <p>Use any searchable field of the resource as sort criterion, or <code>"score"</code> to sort by relevance score calculated by the API.</p>
138138
* @return field
139139
*/
140140

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/search/SearchSortingImpl.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import org.apache.commons.lang3.builder.ToStringStyle;
1818

1919
/**
20-
* <p>Sorting parameters provided with a Search request. Sorting allows you to control how results to your query are sorted. If no sorting is specified, the results are sorted by relevance in descending (<code>desc</code>) order.</p>
20+
* <p>Sorting parameters provided with a Search request.</p>
2121
*/
2222
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2323
public class SearchSortingImpl implements SearchSorting, ModelBase {
@@ -58,7 +58,7 @@ public SearchSortingImpl() {
5858
}
5959

6060
/**
61-
* <p>Use any searchable field of the resource as sort criterion.</p>
61+
* <p>Use any searchable field of the resource as sort criterion, or <code>"score"</code> to sort by relevance score calculated by the API.</p>
6262
*/
6363

6464
public String getField() {

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,3 +293,4 @@ bbcf212f1c06136cd406dd802b8a208daaa1e732
293293
dd82e076236554dd808fb9309d53cb2a207cb296
294294
aa1065bc2b62370c10a6fd7f49098bd9ec71c3ad
295295
6fbc0468427de97a13a8ae23c0d0c157b52b2f45
296+
9b3af920548866a0b9804f2ed2396d5ee45ef1bc

0 commit comments

Comments
 (0)