Skip to content

Commit

Permalink
Merge pull request #711 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Aug 12, 2024
2 parents a1ca689 + 536f412 commit 9a39dbc
Show file tree
Hide file tree
Showing 9 changed files with 34 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
import io.vrap.rmf.base.client.utils.Generated;

/**
* ProductSearchProjectionParams
* <p>The query parameters used for data integration with Product Projection parameters.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* ProductSearchProjectionParams
* <p>The query parameters used for data integration with Product Projection parameters.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ProductSearchProjectionParamsImpl implements ProductSearchProjectionParams, ModelBase {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ public interface ProductSearchRequest {
public SearchQuery getQuery();

/**
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance in descending order.</p>
* <p>Controls how results to your query are sorted. If not provided, the results are sorted by relevance score in descending order.</p>
* @return sort
*/
@Valid
@JsonProperty("sort")
public List<SearchSorting> getSort();

/**
* <p>The maximum number of search results to be returned.</p>
* <p>The maximum number of search results to be returned in one page.</p>
* @return limit
*/

Expand All @@ -74,7 +74,7 @@ public interface ProductSearchRequest {
public Boolean getMarkMatchingVariants();

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @return productProjectionParameters
*/
@Valid
Expand Down Expand Up @@ -105,22 +105,22 @@ public interface ProductSearchRequest {
public void setQuery(final SearchQuery query);

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

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

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

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

/**
* <p>The maximum number of search results to be returned.</p>
* <p>The maximum number of search results to be returned in one page.</p>
* @param limit value to be set
*/

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

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @param productProjectionParameters value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ProductSearchRequestBuilder query(@Nullable final com.commercetools.api.m
}

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

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

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

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

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

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

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

/**
* <p>The maximum number of search results to be returned.</p>
* <p>The maximum number of search results to be returned in one page.</p>
* @param limit value to be set
* @return Builder
*/
Expand Down Expand Up @@ -204,7 +204,7 @@ public ProductSearchRequestBuilder markMatchingVariants(@Nullable final Boolean
}

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @param builder function to build the productProjectionParameters value
* @return Builder
*/
Expand All @@ -218,7 +218,7 @@ public ProductSearchRequestBuilder productProjectionParameters(
}

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @param builder function to build the productProjectionParameters value
* @return Builder
*/
Expand All @@ -231,7 +231,7 @@ public ProductSearchRequestBuilder withProductProjectionParameters(
}

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @param productProjectionParameters value to be set
* @return Builder
*/
Expand Down Expand Up @@ -384,7 +384,7 @@ public com.commercetools.api.models.search.SearchQuery getQuery() {
}

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

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

/**
* <p>The maximum number of search results to be returned.</p>
* <p>The maximum number of search results to be returned in one page.</p>
* @return limit
*/

Expand Down Expand Up @@ -424,7 +424,7 @@ public Boolean getMarkMatchingVariants() {
}

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
* @return productProjectionParameters
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,15 +74,15 @@ public com.commercetools.api.models.search.SearchQuery getQuery() {
}

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

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

/**
* <p>The maximum number of search results to be returned.</p>
* <p>The maximum number of search results to be returned in one page.</p>
*/

public Integer getLimit() {
Expand All @@ -106,7 +106,7 @@ public Boolean getMarkMatchingVariants() {
}

/**
* <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>
* <p>Controls data integration with Product Projection parameters. If not set, the result does not include the Product Projection.</p>
*/

public com.commercetools.api.models.product_search.ProductSearchProjectionParams getProductProjectionParameters() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import jakarta.validation.constraints.NotNull;

/**
* <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>
* <p>Sorting parameters provided with a Search request.</p>
*
* <hr>
* Example to create an instance using the builder pattern
Expand All @@ -34,7 +34,7 @@
public interface SearchSorting {

/**
* <p>Use any searchable field of the resource as sort criterion.</p>
* <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>
* @return field
*/
@NotNull
Expand Down Expand Up @@ -82,7 +82,7 @@ public interface SearchSorting {
public SearchQueryExpression getFilter();

/**
* <p>Use any searchable field of the resource as sort criterion.</p>
* <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>
* @param field value to be set
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class SearchSortingBuilder implements Builder<SearchSorting> {
private com.commercetools.api.models.search.SearchQueryExpression filter;

/**
* <p>Use any searchable field of the resource as sort criterion.</p>
* <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>
* @param field value to be set
* @return Builder
*/
Expand Down Expand Up @@ -134,7 +134,7 @@ public SearchSortingBuilder filter(
}

/**
* <p>Use any searchable field of the resource as sort criterion.</p>
* <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>
* @return field
*/

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import org.apache.commons.lang3.builder.ToStringStyle;

/**
* <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>
* <p>Sorting parameters provided with a Search request.</p>
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class SearchSortingImpl implements SearchSorting, ModelBase {
Expand Down Expand Up @@ -58,7 +58,7 @@ public SearchSortingImpl() {
}

/**
* <p>Use any searchable field of the resource as sort criterion.</p>
* <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>
*/

public String getField() {
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -293,3 +293,4 @@ bbcf212f1c06136cd406dd802b8a208daaa1e732
dd82e076236554dd808fb9309d53cb2a207cb296
aa1065bc2b62370c10a6fd7f49098bd9ec71c3ad
6fbc0468427de97a13a8ae23c0d0c157b52b2f45
9b3af920548866a0b9804f2ed2396d5ee45ef1bc

0 comments on commit 9a39dbc

Please sign in to comment.