From 010ea1a8b1c81fe010f837901936c67fc77576e5 Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Thu, 7 Jul 2022 14:25:56 +0000 Subject: [PATCH 1/2] TASK: Updating SDK --- .../api/models/review/Review.java | 28 +++++++-------- .../api/models/review/ReviewBuilder.java | 34 +++++++++---------- .../api/models/review/ReviewDraft.java | 22 ++++++------ .../api/models/review/ReviewDraftBuilder.java | 26 +++++++------- .../api/models/review/ReviewDraftImpl.java | 22 ++++++------ .../api/models/review/ReviewImpl.java | 28 +++++++-------- .../review/ReviewPagedQueryResponse.java | 6 ++-- .../ReviewPagedQueryResponseBuilder.java | 14 ++++---- .../review/ReviewPagedQueryResponseImpl.java | 6 ++-- .../models/review/ReviewRatingStatistics.java | 2 +- .../review/ReviewRatingStatisticsBuilder.java | 2 +- .../review/ReviewRatingStatisticsImpl.java | 2 +- .../review/ReviewSetAuthorNameAction.java | 2 +- .../ReviewSetAuthorNameActionBuilder.java | 2 +- .../review/ReviewSetAuthorNameActionImpl.java | 2 +- .../review/ReviewSetCustomerAction.java | 2 +- .../ReviewSetCustomerActionBuilder.java | 4 +-- .../review/ReviewSetCustomerActionImpl.java | 2 +- .../api/models/review/ReviewSetKeyAction.java | 2 +- .../review/ReviewSetKeyActionBuilder.java | 2 +- .../models/review/ReviewSetKeyActionImpl.java | 2 +- .../models/review/ReviewSetLocaleAction.java | 2 +- .../review/ReviewSetLocaleActionBuilder.java | 2 +- .../review/ReviewSetLocaleActionImpl.java | 2 +- .../models/review/ReviewSetRatingAction.java | 4 +-- .../review/ReviewSetRatingActionBuilder.java | 2 +- .../review/ReviewSetRatingActionImpl.java | 4 +-- .../models/review/ReviewSetTargetAction.java | 2 +- .../review/ReviewSetTargetActionBuilder.java | 2 +- .../review/ReviewSetTargetActionImpl.java | 2 +- .../models/review/ReviewSetTextAction.java | 2 +- .../review/ReviewSetTextActionBuilder.java | 2 +- .../review/ReviewSetTextActionImpl.java | 2 +- .../models/review/ReviewSetTitleAction.java | 2 +- .../review/ReviewSetTitleActionBuilder.java | 2 +- .../review/ReviewSetTitleActionImpl.java | 2 +- .../review/ReviewTransitionStateAction.java | 6 ++-- .../ReviewTransitionStateActionBuilder.java | 6 ++-- .../ReviewTransitionStateActionImpl.java | 6 ++-- .../api/models/review/ReviewUpdate.java | 4 +-- .../models/review/ReviewUpdateBuilder.java | 12 +++---- .../api/models/review/ReviewUpdateImpl.java | 4 +-- 42 files changed, 142 insertions(+), 142 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/Review.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/Review.java index 38d52f73659..613a467d6ec 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/Review.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/Review.java @@ -53,21 +53,21 @@ public interface Review extends BaseResource, com.commercetools.api.models.Domai public String getId(); /** - *

The current version of the review.

+ *

Current version of the Review.

*/ @NotNull @JsonProperty("version") public Long getVersion(); /** - * + *

Date and time (UTC) the Review was initially created.

*/ @NotNull @JsonProperty("createdAt") public ZonedDateTime getCreatedAt(); /** - * + *

Date and time (UTC) the Review was last updated.

*/ @NotNull @JsonProperty("lastModifiedAt") @@ -95,77 +95,77 @@ public interface Review extends BaseResource, com.commercetools.api.models.Domai public String getKey(); /** - * + *

Must be unique among Reviews. For example, if this value is set to Customer id + Product id, only one Review per Customer and per Product is allowed.

*/ @JsonProperty("uniquenessValue") public String getUniquenessValue(); /** - * + *

Language in which the content of the Review is written.

*/ @JsonProperty("locale") public String getLocale(); /** - * + *

Name of the author.

*/ @JsonProperty("authorName") public String getAuthorName(); /** - * + *

Title of the Review.

*/ @JsonProperty("title") public String getTitle(); /** - * + *

Content of the Review.

*/ @JsonProperty("text") public String getText(); /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductReference or ChannelReference, respectively.

*/ @JsonProperty("target") public Object getTarget(); /** - *

Indicates if this review is taken into account in the ratings statistics of the target. A review is per default used in the statistics, unless the review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

+ *

Indicates if this Review is taken into account in the ratings statistics of the target. A Review is per default used in the statistics, unless the Review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

*/ @NotNull @JsonProperty("includedInStatistics") public Boolean getIncludedInStatistics(); /** - *

Number between -100 and 100 included.

+ *

Rating of the Product or Channel.

*/ @JsonProperty("rating") public Integer getRating(); /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ @Valid @JsonProperty("state") public StateReference getState(); /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ @Valid @JsonProperty("customer") public CustomerReference getCustomer(); /** - * + *

Custom Fields of the Review.

*/ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewBuilder.java index df22d4be42f..bcd57adc00e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewBuilder.java @@ -87,7 +87,7 @@ public ReviewBuilder id(final String id) { } /** - *

The current version of the review.

+ *

Current version of the Review.

*/ public ReviewBuilder version(final Long version) { @@ -96,7 +96,7 @@ public ReviewBuilder version(final Long version) { } /** - * + *

Date and time (UTC) the Review was initially created.

*/ public ReviewBuilder createdAt(final java.time.ZonedDateTime createdAt) { @@ -105,7 +105,7 @@ public ReviewBuilder createdAt(final java.time.ZonedDateTime createdAt) { } /** - * + *

Date and time (UTC) the Review was last updated.

*/ public ReviewBuilder lastModifiedAt(final java.time.ZonedDateTime lastModifiedAt) { @@ -162,7 +162,7 @@ public ReviewBuilder key(@Nullable final String key) { } /** - * + *

Must be unique among Reviews. For example, if this value is set to Customer id + Product id, only one Review per Customer and per Product is allowed.

*/ public ReviewBuilder uniquenessValue(@Nullable final String uniquenessValue) { @@ -171,7 +171,7 @@ public ReviewBuilder uniquenessValue(@Nullable final String uniquenessValue) { } /** - * + *

Language in which the content of the Review is written.

*/ public ReviewBuilder locale(@Nullable final String locale) { @@ -180,7 +180,7 @@ public ReviewBuilder locale(@Nullable final String locale) { } /** - * + *

Name of the author.

*/ public ReviewBuilder authorName(@Nullable final String authorName) { @@ -189,7 +189,7 @@ public ReviewBuilder authorName(@Nullable final String authorName) { } /** - * + *

Title of the Review.

*/ public ReviewBuilder title(@Nullable final String title) { @@ -198,7 +198,7 @@ public ReviewBuilder title(@Nullable final String title) { } /** - * + *

Content of the Review.

*/ public ReviewBuilder text(@Nullable final String text) { @@ -207,7 +207,7 @@ public ReviewBuilder text(@Nullable final String text) { } /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductReference or ChannelReference, respectively.

*/ public ReviewBuilder target(@Nullable final java.lang.Object target) { @@ -216,7 +216,7 @@ public ReviewBuilder target(@Nullable final java.lang.Object target) { } /** - *

Indicates if this review is taken into account in the ratings statistics of the target. A review is per default used in the statistics, unless the review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

+ *

Indicates if this Review is taken into account in the ratings statistics of the target. A Review is per default used in the statistics, unless the Review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

*/ public ReviewBuilder includedInStatistics(final Boolean includedInStatistics) { @@ -225,7 +225,7 @@ public ReviewBuilder includedInStatistics(final Boolean includedInStatistics) { } /** - *

Number between -100 and 100 included.

+ *

Rating of the Product or Channel.

*/ public ReviewBuilder rating(@Nullable final Integer rating) { @@ -234,7 +234,7 @@ public ReviewBuilder rating(@Nullable final Integer rating) { } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public ReviewBuilder state( @@ -244,7 +244,7 @@ public ReviewBuilder state( } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public ReviewBuilder state(@Nullable final com.commercetools.api.models.state.StateReference state) { @@ -253,7 +253,7 @@ public ReviewBuilder state(@Nullable final com.commercetools.api.models.state.St } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public ReviewBuilder customer( @@ -263,7 +263,7 @@ public ReviewBuilder customer( } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public ReviewBuilder customer(@Nullable final com.commercetools.api.models.customer.CustomerReference customer) { @@ -272,7 +272,7 @@ public ReviewBuilder customer(@Nullable final com.commercetools.api.models.custo } /** - * + *

Custom Fields of the Review.

*/ public ReviewBuilder custom( @@ -282,7 +282,7 @@ public ReviewBuilder custom( } /** - * + *

Custom Fields of the Review.

*/ public ReviewBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFields custom) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraft.java index 1d985df5b74..2211879e9b3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraft.java @@ -18,7 +18,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewDraft + *

When creating a new Review, at least one of title, text or rating should be set.

* *
* Example to create an instance using the builder pattern @@ -41,70 +41,70 @@ public interface ReviewDraft extends com.commercetools.api.models.CustomizableDr public String getKey(); /** - *

If set, this value must be unique among reviews. For example, if you want to have only one review per customer and per product, you can set the value to customer's id and product's id.

+ *

If set, this value must be unique among Reviews. For example, if you want to have only one Review per Customer and per Product, you can set the value to Customer id + Product id.

*/ @JsonProperty("uniquenessValue") public String getUniquenessValue(); /** - * + *

Language in which the content of the Review is written.

*/ @JsonProperty("locale") public String getLocale(); /** - * + *

Name of the author.

*/ @JsonProperty("authorName") public String getAuthorName(); /** - * + *

Title of the Review.

*/ @JsonProperty("title") public String getTitle(); /** - * + *

Content of the Review.

*/ @JsonProperty("text") public String getText(); /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.

*/ @JsonProperty("target") public Object getTarget(); /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ @Valid @JsonProperty("state") public StateResourceIdentifier getState(); /** - *

Number between -100 and 100 included. Rating of the targeted object, like a product. This rating can represent the number of stars, or a percentage, or a like (+1)/dislike (-1) A rating is used in the ratings statistics of the targeted object, unless the review is in a state that does not have the role ReviewIncludedInStatistics.

+ *

Rating of the targeted Product or Channel. This rating can represent the number of stars, a percentage, or a like (+1)/dislike (-1). A rating is used in the ratings statistics of the targeted object, unless the Review is in a State that does not have the role ReviewIncludedInStatistics.

*/ @JsonProperty("rating") public Integer getRating(); /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ @Valid @JsonProperty("customer") public CustomerResourceIdentifier getCustomer(); /** - * + *

Custom Fields for the Review.

*/ @Valid @JsonProperty("custom") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftBuilder.java index 01d427deb38..bf2a5763498 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftBuilder.java @@ -66,7 +66,7 @@ public ReviewDraftBuilder key(@Nullable final String key) { } /** - *

If set, this value must be unique among reviews. For example, if you want to have only one review per customer and per product, you can set the value to customer's id and product's id.

+ *

If set, this value must be unique among Reviews. For example, if you want to have only one Review per Customer and per Product, you can set the value to Customer id + Product id.

*/ public ReviewDraftBuilder uniquenessValue(@Nullable final String uniquenessValue) { @@ -75,7 +75,7 @@ public ReviewDraftBuilder uniquenessValue(@Nullable final String uniquenessValue } /** - * + *

Language in which the content of the Review is written.

*/ public ReviewDraftBuilder locale(@Nullable final String locale) { @@ -84,7 +84,7 @@ public ReviewDraftBuilder locale(@Nullable final String locale) { } /** - * + *

Name of the author.

*/ public ReviewDraftBuilder authorName(@Nullable final String authorName) { @@ -93,7 +93,7 @@ public ReviewDraftBuilder authorName(@Nullable final String authorName) { } /** - * + *

Title of the Review.

*/ public ReviewDraftBuilder title(@Nullable final String title) { @@ -102,7 +102,7 @@ public ReviewDraftBuilder title(@Nullable final String title) { } /** - * + *

Content of the Review.

*/ public ReviewDraftBuilder text(@Nullable final String text) { @@ -111,7 +111,7 @@ public ReviewDraftBuilder text(@Nullable final String text) { } /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.

*/ public ReviewDraftBuilder target(@Nullable final java.lang.Object target) { @@ -120,7 +120,7 @@ public ReviewDraftBuilder target(@Nullable final java.lang.Object target) { } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public ReviewDraftBuilder state( @@ -130,7 +130,7 @@ public ReviewDraftBuilder state( } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public ReviewDraftBuilder state(@Nullable final com.commercetools.api.models.state.StateResourceIdentifier state) { @@ -139,7 +139,7 @@ public ReviewDraftBuilder state(@Nullable final com.commercetools.api.models.sta } /** - *

Number between -100 and 100 included. Rating of the targeted object, like a product. This rating can represent the number of stars, or a percentage, or a like (+1)/dislike (-1) A rating is used in the ratings statistics of the targeted object, unless the review is in a state that does not have the role ReviewIncludedInStatistics.

+ *

Rating of the targeted Product or Channel. This rating can represent the number of stars, a percentage, or a like (+1)/dislike (-1). A rating is used in the ratings statistics of the targeted object, unless the Review is in a State that does not have the role ReviewIncludedInStatistics.

*/ public ReviewDraftBuilder rating(@Nullable final Integer rating) { @@ -148,7 +148,7 @@ public ReviewDraftBuilder rating(@Nullable final Integer rating) { } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public ReviewDraftBuilder customer( @@ -159,7 +159,7 @@ public ReviewDraftBuilder customer( } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public ReviewDraftBuilder customer( @@ -169,7 +169,7 @@ public ReviewDraftBuilder customer( } /** - * + *

Custom Fields for the Review.

*/ public ReviewDraftBuilder custom( @@ -179,7 +179,7 @@ public ReviewDraftBuilder custom( } /** - * + *

Custom Fields for the Review.

*/ public ReviewDraftBuilder custom(@Nullable final com.commercetools.api.models.type.CustomFieldsDraft custom) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java index 7840bd6ef0a..f7df9339d20 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewDraftImpl.java @@ -18,7 +18,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewDraft + *

When creating a new Review, at least one of title, text or rating should be set.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewDraftImpl implements ReviewDraft, ModelBase { @@ -79,7 +79,7 @@ public String getKey() { } /** - *

If set, this value must be unique among reviews. For example, if you want to have only one review per customer and per product, you can set the value to customer's id and product's id.

+ *

If set, this value must be unique among Reviews. For example, if you want to have only one Review per Customer and per Product, you can set the value to Customer id + Product id.

*/ public String getUniquenessValue() { @@ -87,7 +87,7 @@ public String getUniquenessValue() { } /** - * + *

Language in which the content of the Review is written.

*/ public String getLocale() { @@ -95,7 +95,7 @@ public String getLocale() { } /** - * + *

Name of the author.

*/ public String getAuthorName() { @@ -103,7 +103,7 @@ public String getAuthorName() { } /** - * + *

Title of the Review.

*/ public String getTitle() { @@ -111,7 +111,7 @@ public String getTitle() { } /** - * + *

Content of the Review.

*/ public String getText() { @@ -119,7 +119,7 @@ public String getText() { } /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively.

*/ public java.lang.Object getTarget() { @@ -127,7 +127,7 @@ public java.lang.Object getTarget() { } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public com.commercetools.api.models.state.StateResourceIdentifier getState() { @@ -135,7 +135,7 @@ public com.commercetools.api.models.state.StateResourceIdentifier getState() { } /** - *

Number between -100 and 100 included. Rating of the targeted object, like a product. This rating can represent the number of stars, or a percentage, or a like (+1)/dislike (-1) A rating is used in the ratings statistics of the targeted object, unless the review is in a state that does not have the role ReviewIncludedInStatistics.

+ *

Rating of the targeted Product or Channel. This rating can represent the number of stars, a percentage, or a like (+1)/dislike (-1). A rating is used in the ratings statistics of the targeted object, unless the Review is in a State that does not have the role ReviewIncludedInStatistics.

*/ public Integer getRating() { @@ -143,7 +143,7 @@ public Integer getRating() { } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public com.commercetools.api.models.customer.CustomerResourceIdentifier getCustomer() { @@ -151,7 +151,7 @@ public com.commercetools.api.models.customer.CustomerResourceIdentifier getCusto } /** - * + *

Custom Fields for the Review.

*/ public com.commercetools.api.models.type.CustomFieldsDraft getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java index 13d0f0b83d7..638661b7f70 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewImpl.java @@ -106,7 +106,7 @@ public String getId() { } /** - *

The current version of the review.

+ *

Current version of the Review.

*/ public Long getVersion() { @@ -114,7 +114,7 @@ public Long getVersion() { } /** - * + *

Date and time (UTC) the Review was initially created.

*/ public java.time.ZonedDateTime getCreatedAt() { @@ -122,7 +122,7 @@ public java.time.ZonedDateTime getCreatedAt() { } /** - * + *

Date and time (UTC) the Review was last updated.

*/ public java.time.ZonedDateTime getLastModifiedAt() { @@ -154,7 +154,7 @@ public String getKey() { } /** - * + *

Must be unique among Reviews. For example, if this value is set to Customer id + Product id, only one Review per Customer and per Product is allowed.

*/ public String getUniquenessValue() { @@ -162,7 +162,7 @@ public String getUniquenessValue() { } /** - * + *

Language in which the content of the Review is written.

*/ public String getLocale() { @@ -170,7 +170,7 @@ public String getLocale() { } /** - * + *

Name of the author.

*/ public String getAuthorName() { @@ -178,7 +178,7 @@ public String getAuthorName() { } /** - * + *

Title of the Review.

*/ public String getTitle() { @@ -186,7 +186,7 @@ public String getTitle() { } /** - * + *

Content of the Review.

*/ public String getText() { @@ -194,7 +194,7 @@ public String getText() { } /** - *

Identifies the target of the review. Can be a Product or a Channel

+ *

Identifies the target of the Review. Can be a Product or a Channel, specified as ProductReference or ChannelReference, respectively.

*/ public java.lang.Object getTarget() { @@ -202,7 +202,7 @@ public java.lang.Object getTarget() { } /** - *

Indicates if this review is taken into account in the ratings statistics of the target. A review is per default used in the statistics, unless the review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

+ *

Indicates if this Review is taken into account in the ratings statistics of the target. A Review is per default used in the statistics, unless the Review is in a state that does not have the role ReviewIncludedInStatistics. If the role of a State is modified after the calculation of this field, the calculation is not updated.

*/ public Boolean getIncludedInStatistics() { @@ -210,7 +210,7 @@ public Boolean getIncludedInStatistics() { } /** - *

Number between -100 and 100 included.

+ *

Rating of the Product or Channel.

*/ public Integer getRating() { @@ -218,7 +218,7 @@ public Integer getRating() { } /** - * + *

State of the Review. Used for approval processes, see Review approval process for details.

*/ public com.commercetools.api.models.state.StateReference getState() { @@ -226,7 +226,7 @@ public com.commercetools.api.models.state.StateReference getState() { } /** - *

The customer who created the review.

+ *

Customer who created the Review.

*/ public com.commercetools.api.models.customer.CustomerReference getCustomer() { @@ -234,7 +234,7 @@ public com.commercetools.api.models.customer.CustomerReference getCustomer() { } /** - * + *

Custom Fields of the Review.

*/ public com.commercetools.api.models.type.CustomFields getCustom() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponse.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponse.java index f6d8e55202e..0b1908d045d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponse.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponse.java @@ -41,14 +41,14 @@ public interface ReviewPagedQueryResponse extends com.commercetools.api.models.R public Long getLimit(); /** - * + *

Actual number of results returned.

*/ @NotNull @JsonProperty("count") public Long getCount(); /** - * + *

Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

*/ @JsonProperty("total") @@ -62,7 +62,7 @@ public interface ReviewPagedQueryResponse extends com.commercetools.api.models.R public Long getOffset(); /** - * + *

Reviews matching the query.

*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseBuilder.java index cbe10ac6477..a8af191bf56 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseBuilder.java @@ -48,7 +48,7 @@ public ReviewPagedQueryResponseBuilder limit(final Long limit) { } /** - * + *

Actual number of results returned.

*/ public ReviewPagedQueryResponseBuilder count(final Long count) { @@ -57,7 +57,7 @@ public ReviewPagedQueryResponseBuilder count(final Long count) { } /** - * + *

Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

*/ public ReviewPagedQueryResponseBuilder total(@Nullable final Long total) { @@ -75,7 +75,7 @@ public ReviewPagedQueryResponseBuilder offset(final Long offset) { } /** - * + *

Reviews matching the query.

*/ public ReviewPagedQueryResponseBuilder results(final com.commercetools.api.models.review.Review... results) { @@ -84,7 +84,7 @@ public ReviewPagedQueryResponseBuilder results(final com.commercetools.api.model } /** - * + *

Reviews matching the query.

*/ public ReviewPagedQueryResponseBuilder results( @@ -94,7 +94,7 @@ public ReviewPagedQueryResponseBuilder results( } /** - * + *

Reviews matching the query.

*/ public ReviewPagedQueryResponseBuilder plusResults(final com.commercetools.api.models.review.Review... results) { @@ -106,7 +106,7 @@ public ReviewPagedQueryResponseBuilder plusResults(final com.commercetools.api.m } /** - * + *

Reviews matching the query.

*/ public ReviewPagedQueryResponseBuilder plusResults( @@ -119,7 +119,7 @@ public ReviewPagedQueryResponseBuilder plusResults( } /** - * + *

Reviews matching the query.

*/ public ReviewPagedQueryResponseBuilder withResults( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java index 2bade09e217..c068f68336c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewPagedQueryResponseImpl.java @@ -53,7 +53,7 @@ public Long getLimit() { } /** - * + *

Actual number of results returned.

*/ public Long getCount() { @@ -61,7 +61,7 @@ public Long getCount() { } /** - * + *

Total number of results matching the query. This number is an estimation that is not strongly consistent. This field is returned by default. For improved performance, calculating this field can be deactivated by using the query parameter withTotal=false. When the results are filtered with a Query Predicate, total is subject to a limit.

*/ public Long getTotal() { @@ -77,7 +77,7 @@ public Long getOffset() { } /** - * + *

Reviews matching the query.

*/ public java.util.List getResults() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatistics.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatistics.java index d9640577d0f..ae8ac0d4d97 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatistics.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatistics.java @@ -63,7 +63,7 @@ public interface ReviewRatingStatistics { public Integer getCount(); /** - *

The full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

+ *

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsBuilder.java index 31ec9d0627e..d81bb0f5ec9 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsBuilder.java @@ -72,7 +72,7 @@ public ReviewRatingStatisticsBuilder count(final Integer count) { } /** - *

The full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

+ *

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

*/ public ReviewRatingStatisticsBuilder ratingsDistribution(final java.lang.Object ratingsDistribution) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java index 1c684e95b76..9bb2fde8de0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewRatingStatisticsImpl.java @@ -78,7 +78,7 @@ public Integer getCount() { } /** - *

The full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

+ *

Full distribution of the ratings. The keys are the different ratings and the values are the count of reviews having this rating. Only the used ratings appear in this object.

*/ public java.lang.Object getRatingsDistribution() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameAction.java index f48e7e0c7fe..8d1c99f3837 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameAction.java @@ -29,7 +29,7 @@ public interface ReviewSetAuthorNameAction extends ReviewUpdateAction { String SET_AUTHOR_NAME = "setAuthorName"; /** - *

If authorName is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("authorName") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionBuilder.java index 8c687f08ca0..d7ba126b3c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetAuthorNameActionBuilder implements BuilderIf authorName is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetAuthorNameActionBuilder authorName(@Nullable final String authorName) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java index 77439ab6888..856c2799032 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetAuthorNameActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

If authorName is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public String getAuthorName() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerAction.java index 36e79acda30..1fc627bbc24 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerAction.java @@ -32,7 +32,7 @@ public interface ReviewSetCustomerAction extends ReviewUpdateAction { String SET_CUSTOMER = "setCustomer"; /** - *

The customer who created the review. If customer is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @Valid @JsonProperty("customer") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionBuilder.java index 75f71612dde..601fe23ac83 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionBuilder.java @@ -27,7 +27,7 @@ public class ReviewSetCustomerActionBuilder implements BuilderThe customer who created the review. If customer is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetCustomerActionBuilder customer( @@ -38,7 +38,7 @@ public ReviewSetCustomerActionBuilder customer( } /** - *

The customer who created the review. If customer is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetCustomerActionBuilder customer( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java index 3e513a2adec..248ecfb1e93 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetCustomerActionImpl.java @@ -44,7 +44,7 @@ public String getAction() { } /** - *

The customer who created the review. If customer is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public com.commercetools.api.models.customer.CustomerResourceIdentifier getCustomer() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyAction.java index 68ebbceff04..25a27d31fcc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyAction.java @@ -29,7 +29,7 @@ public interface ReviewSetKeyAction extends ReviewUpdateAction { String SET_KEY = "setKey"; /** - *

If key is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("key") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionBuilder.java index 8a870dc4ab3..399878e188c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetKeyActionBuilder implements Builder { private String key; /** - *

If key is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetKeyActionBuilder key(@Nullable final String key) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java index d0dff6214b4..15c8d8e6cf3 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetKeyActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

If key is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public String getKey() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleAction.java index 4687c037ade..bcb563afd33 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleAction.java @@ -29,7 +29,7 @@ public interface ReviewSetLocaleAction extends ReviewUpdateAction { String SET_LOCALE = "setLocale"; /** - *

If locale is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("locale") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionBuilder.java index 78a8fd54ee1..9444eb12e1f 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetLocaleActionBuilder implements BuilderIf locale is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetLocaleActionBuilder locale(@Nullable final String locale) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java index 03e5528ba27..022944e3727 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetLocaleActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

If locale is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public String getLocale() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java index ad52b62a0bc..bff08b43dea 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingAction.java @@ -11,7 +11,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewSetRatingAction + *

This update action produces the ReviewRatingSetMessage.

* *
* Example to create an instance using the builder pattern @@ -29,7 +29,7 @@ public interface ReviewSetRatingAction extends ReviewUpdateAction { String SET_RATING = "setRating"; /** - *

Number between -100 and 100 included. If rating is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("rating") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionBuilder.java index 8c899354b0b..f5ce765b876 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetRatingActionBuilder implements BuilderNumber between -100 and 100 included. If rating is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetRatingActionBuilder rating(@Nullable final Integer rating) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java index eb698ebd2b2..8b29736c378 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetRatingActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewSetRatingAction + *

This update action produces the ReviewRatingSetMessage.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewSetRatingActionImpl implements ReviewSetRatingAction, ModelBase { @@ -43,7 +43,7 @@ public String getAction() { } /** - *

Number between -100 and 100 included. If rating is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public Integer getRating() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetAction.java index 9cfd33c9901..18d93079292 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetAction.java @@ -33,7 +33,7 @@ public interface ReviewSetTargetAction extends ReviewUpdateAction { String SET_TARGET = "setTarget"; /** - *

Identifies the target of the review. Can be a Product or a Channel. If target is absent or null, this field will be removed if it exists.

+ *

Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

*/ @NotNull @JsonProperty("target") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionBuilder.java index 95bca476af3..b4442e5cb1e 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionBuilder.java @@ -23,7 +23,7 @@ public class ReviewSetTargetActionBuilder implements BuilderIdentifies the target of the review. Can be a Product or a Channel. If target is absent or null, this field will be removed if it exists.

+ *

Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

*/ public ReviewSetTargetActionBuilder target(final java.lang.Object target) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java index 0a058815c5b..1414ab25e25 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTargetActionImpl.java @@ -46,7 +46,7 @@ public String getAction() { } /** - *

Identifies the target of the review. Can be a Product or a Channel. If target is absent or null, this field will be removed if it exists.

+ *

Value to set, specified as ProductResourceIdentifier or ChannelResourceIdentifier, respectively. If empty, any existing value will be removed.

*/ public java.lang.Object getTarget() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextAction.java index a18436fe59a..07bd33e241c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextAction.java @@ -29,7 +29,7 @@ public interface ReviewSetTextAction extends ReviewUpdateAction { String SET_TEXT = "setText"; /** - *

If text is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("text") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionBuilder.java index 8c005067bfe..3ba6bbafc41 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetTextActionBuilder implements Builder private String text; /** - *

If text is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetTextActionBuilder text(@Nullable final String text) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java index 3daf69eef15..746cb9d87f0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTextActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

If text is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public String getText() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleAction.java index c969a820a63..fedff4803d1 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleAction.java @@ -29,7 +29,7 @@ public interface ReviewSetTitleAction extends ReviewUpdateAction { String SET_TITLE = "setTitle"; /** - *

If title is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ @JsonProperty("title") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionBuilder.java index 87f8a101add..4a16cee0dac 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionBuilder.java @@ -26,7 +26,7 @@ public class ReviewSetTitleActionBuilder implements BuilderIf title is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public ReviewSetTitleActionBuilder title(@Nullable final String title) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java index cf2f4687f7b..93074827d5c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewSetTitleActionImpl.java @@ -43,7 +43,7 @@ public String getAction() { } /** - *

If title is absent or null, this field will be removed if it exists.

+ *

Value to set. If empty, any existing value will be removed.

*/ public String getTitle() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java index 4cac786e976..612747540ce 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateAction.java @@ -15,7 +15,7 @@ import io.vrap.rmf.base.client.utils.Generated; /** - * ReviewTransitionStateAction + *

Transition to a new State. This update action produces the ReviewStateTransitionMessage.

* *
* Example to create an instance using the builder pattern @@ -34,7 +34,7 @@ public interface ReviewTransitionStateAction extends ReviewUpdateAction { String TRANSITION_STATE = "transitionState"; /** - * + *

Value to set. If there is no State yet, the new State must be an initial State. If the existing State has transitions set, there must be a direct transition to the new State. If transitions is not set, no validation is performed. If the new State does not have the role ReviewIncludedInStatistics, the Review is not taken into account in the ratings statistics of the target.

*/ @NotNull @Valid @@ -42,7 +42,7 @@ public interface ReviewTransitionStateAction extends ReviewUpdateAction { public StateResourceIdentifier getState(); /** - * + *

Switch validations on or off.

*/ @JsonProperty("force") diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionBuilder.java index 5d48a35b9f0..15bdb84c63c 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionBuilder.java @@ -30,7 +30,7 @@ public class ReviewTransitionStateActionBuilder implements BuilderValue to set. If there is no State yet, the new State must be an initial State. If the existing State has transitions set, there must be a direct transition to the new State. If transitions is not set, no validation is performed. If the new State does not have the role ReviewIncludedInStatistics, the Review is not taken into account in the ratings statistics of the target.

*/ public ReviewTransitionStateActionBuilder state( @@ -40,7 +40,7 @@ public ReviewTransitionStateActionBuilder state( } /** - * + *

Value to set. If there is no State yet, the new State must be an initial State. If the existing State has transitions set, there must be a direct transition to the new State. If transitions is not set, no validation is performed. If the new State does not have the role ReviewIncludedInStatistics, the Review is not taken into account in the ratings statistics of the target.

*/ public ReviewTransitionStateActionBuilder state( @@ -50,7 +50,7 @@ public ReviewTransitionStateActionBuilder state( } /** - * + *

Switch validations on or off.

*/ public ReviewTransitionStateActionBuilder force(@Nullable final Boolean force) { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java index f05b6d5d30f..5a5e307d43b 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewTransitionStateActionImpl.java @@ -15,7 +15,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** - * ReviewTransitionStateAction + *

Transition to a new State. This update action produces the ReviewStateTransitionMessage.

*/ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ReviewTransitionStateActionImpl implements ReviewTransitionStateAction, ModelBase { @@ -48,7 +48,7 @@ public String getAction() { } /** - * + *

Value to set. If there is no State yet, the new State must be an initial State. If the existing State has transitions set, there must be a direct transition to the new State. If transitions is not set, no validation is performed. If the new State does not have the role ReviewIncludedInStatistics, the Review is not taken into account in the ratings statistics of the target.

*/ public com.commercetools.api.models.state.StateResourceIdentifier getState() { @@ -56,7 +56,7 @@ public com.commercetools.api.models.state.StateResourceIdentifier getState() { } /** - * + *

Switch validations on or off.

*/ public Boolean getForce() { diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdate.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdate.java index 6b724891b3a..78375373882 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdate.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdate.java @@ -33,14 +33,14 @@ public interface ReviewUpdate extends com.commercetools.api.models.ResourceUpdate { /** - * + *

The expected version of the review on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

*/ @NotNull @JsonProperty("version") public Long getVersion(); /** - * + *

The list of update actions to be performed on the review.

*/ @NotNull @Valid diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateBuilder.java index 953ba75154a..a0263f54e44 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateBuilder.java @@ -28,7 +28,7 @@ public class ReviewUpdateBuilder implements Builder { private java.util.List actions; /** - * + *

The expected version of the review on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

*/ public ReviewUpdateBuilder version(final Long version) { @@ -37,7 +37,7 @@ public ReviewUpdateBuilder version(final Long version) { } /** - * + *

The list of update actions to be performed on the review.

*/ public ReviewUpdateBuilder actions(final com.commercetools.api.models.review.ReviewUpdateAction... actions) { @@ -46,7 +46,7 @@ public ReviewUpdateBuilder actions(final com.commercetools.api.models.review.Rev } /** - * + *

The list of update actions to be performed on the review.

*/ public ReviewUpdateBuilder actions( @@ -56,7 +56,7 @@ public ReviewUpdateBuilder actions( } /** - * + *

The list of update actions to be performed on the review.

*/ public ReviewUpdateBuilder plusActions(final com.commercetools.api.models.review.ReviewUpdateAction... actions) { @@ -68,7 +68,7 @@ public ReviewUpdateBuilder plusActions(final com.commercetools.api.models.review } /** - * + *

The list of update actions to be performed on the review.

*/ public ReviewUpdateBuilder plusActions( @@ -81,7 +81,7 @@ public ReviewUpdateBuilder plusActions( } /** - * + *

The list of update actions to be performed on the review.

*/ public ReviewUpdateBuilder withActions( diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java index 666afd934c6..f8e73385a3d 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/review/ReviewUpdateImpl.java @@ -35,7 +35,7 @@ public ReviewUpdateImpl() { } /** - * + *

The expected version of the review on which the changes should be applied. If the expected version does not match the actual version, a 409 Conflict will be returned.

*/ public Long getVersion() { @@ -43,7 +43,7 @@ public Long getVersion() { } /** - * + *

The list of update actions to be performed on the review.

*/ public java.util.List getActions() { From 60c7a73613b9214a8c6cc60610fef354c1a90d39 Mon Sep 17 00:00:00 2001 From: Auto Mation Date: Fri, 8 Jul 2022 07:24:19 +0000 Subject: [PATCH 2/2] TASK: Updating SDK --- .../api/models/cart/ScoreShippingRateInput.java | 4 ++-- .../api/models/cart/ScoreShippingRateInputBuilder.java | 6 +++--- .../api/models/cart/ScoreShippingRateInputDraft.java | 4 ++-- .../models/cart/ScoreShippingRateInputDraftBuilder.java | 6 +++--- .../api/models/cart/ScoreShippingRateInputDraftImpl.java | 8 ++++---- .../api/models/cart/ScoreShippingRateInputImpl.java | 8 ++++---- 6 files changed, 18 insertions(+), 18 deletions(-) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInput.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInput.java index b88ab79f86e..4eb1c90fe0a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInput.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInput.java @@ -36,9 +36,9 @@ public interface ScoreShippingRateInput extends ShippingRateInput { */ @NotNull @JsonProperty("score") - public Double getScore(); + public Long getScore(); - public void setScore(final Double score); + public void setScore(final Long score); public static ScoreShippingRateInput of() { return new ScoreShippingRateInputImpl(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputBuilder.java index 8a1ee7ecd22..a2f4da3289a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputBuilder.java @@ -21,18 +21,18 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ScoreShippingRateInputBuilder implements Builder { - private Double score; + private Long score; /** * */ - public ScoreShippingRateInputBuilder score(final Double score) { + public ScoreShippingRateInputBuilder score(final Long score) { this.score = score; return this; } - public Double getScore() { + public Long getScore() { return this.score; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraft.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraft.java index 2d0f817cf20..f4e1de47082 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraft.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraft.java @@ -36,9 +36,9 @@ public interface ScoreShippingRateInputDraft extends ShippingRateInputDraft { */ @NotNull @JsonProperty("score") - public Double getScore(); + public Long getScore(); - public void setScore(final Double score); + public void setScore(final Long score); public static ScoreShippingRateInputDraft of() { return new ScoreShippingRateInputDraftImpl(); diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftBuilder.java index 0d5ef14f290..e3e0d9475c5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftBuilder.java @@ -21,18 +21,18 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public class ScoreShippingRateInputDraftBuilder implements Builder { - private Double score; + private Long score; /** * */ - public ScoreShippingRateInputDraftBuilder score(final Double score) { + public ScoreShippingRateInputDraftBuilder score(final Long score) { this.score = score; return this; } - public Double getScore() { + public Long getScore() { return this.score; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java index 0ca0d99c785..376203d4ce0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputDraftImpl.java @@ -22,10 +22,10 @@ public class ScoreShippingRateInputDraftImpl implements ScoreShippingRateInputDr private String type; - private Double score; + private Long score; @JsonCreator - ScoreShippingRateInputDraftImpl(@JsonProperty("score") final Double score) { + ScoreShippingRateInputDraftImpl(@JsonProperty("score") final Long score) { this.score = score; this.type = SCORE; } @@ -46,11 +46,11 @@ public String getType() { * */ - public Double getScore() { + public Long getScore() { return this.score; } - public void setScore(final Double score) { + public void setScore(final Long score) { this.score = score; } diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java index 18c4021ff9e..744ea13f634 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/cart/ScoreShippingRateInputImpl.java @@ -22,10 +22,10 @@ public class ScoreShippingRateInputImpl implements ScoreShippingRateInput, Model private String type; - private Double score; + private Long score; @JsonCreator - ScoreShippingRateInputImpl(@JsonProperty("score") final Double score) { + ScoreShippingRateInputImpl(@JsonProperty("score") final Long score) { this.score = score; this.type = SCORE; } @@ -46,11 +46,11 @@ public String getType() { * */ - public Double getScore() { + public Long getScore() { return this.score; } - public void setScore(final Double score) { + public void setScore(final Long score) { this.score = score; }