Skip to content

Commit c5554c5

Browse files
Merge pull request #766 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 4cc67ca + f90d62c commit c5554c5

File tree

7 files changed

+18
-9
lines changed

7 files changed

+18
-9
lines changed

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPost.java

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

1818
/**
19-
* <p>Creates a new import request for product variant patches</p>
19+
* <p>Creates a new import request for Product Variant Patches. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the <code>product</code> field set.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/client/ByProjectKeyProductVariantPatchesImportContainersByImportContainerKeyPostString.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.HashCodeBuilder;
1818

1919
/**
20-
* <p>Creates a new import request for product variant patches</p>
20+
* <p>Creates a new import request for Product Variant Patches. Returns an InvalidField error if the ProductVariantPatchRequest contains patches with and without the <code>product</code> field set.</p>
2121
*
2222
* <hr>
2323
* <div class=code-example>

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatch.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ public interface ProductVariantPatch {
6666
public Boolean getStaged();
6767

6868
/**
69-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
69+
* <p>Reference to the Product that contains the ProductVariant.</p>
70+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
7071
* @return product
7172
*/
7273
@Valid
@@ -101,7 +102,8 @@ public interface ProductVariantPatch {
101102
public void setStaged(final Boolean staged);
102103

103104
/**
104-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
105+
* <p>Reference to the Product that contains the ProductVariant.</p>
106+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
105107
* @param product value to be set
106108
*/
107109

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchBuilder.java

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ public ProductVariantPatchBuilder staged(@Nullable final Boolean staged) {
141141
}
142142

143143
/**
144-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
144+
* <p>Reference to the Product that contains the ProductVariant.</p>
145+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
145146
* @param builder function to build the product value
146147
* @return Builder
147148
*/
@@ -153,7 +154,8 @@ public ProductVariantPatchBuilder product(
153154
}
154155

155156
/**
156-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
157+
* <p>Reference to the Product that contains the ProductVariant.</p>
158+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
157159
* @param builder function to build the product value
158160
* @return Builder
159161
*/
@@ -165,7 +167,8 @@ public ProductVariantPatchBuilder withProduct(
165167
}
166168

167169
/**
168-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
170+
* <p>Reference to the Product that contains the ProductVariant.</p>
171+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
169172
* @param product value to be set
170173
* @return Builder
171174
*/
@@ -212,7 +215,8 @@ public Boolean getStaged() {
212215
}
213216

214217
/**
215-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
218+
* <p>Reference to the Product that contains the ProductVariant.</p>
219+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
216220
* @return product
217221
*/
218222

commercetools/commercetools-sdk-java-importapi/src/main/java-generated/com/commercetools/importapi/models/productvariants/ProductVariantPatchImpl.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ public Boolean getStaged() {
8282
}
8383

8484
/**
85-
* <p>Reference to the Product which contains the ProductVariant. Setting a value will batch process the import operations to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
85+
* <p>Reference to the Product that contains the ProductVariant.</p>
86+
* <p>We recommend to set this value to minimize concurrency errors. If set, this field is required for every ProductVariantPatch in the ProductVariantPatchRequest.</p>
8687
*/
8788

8889
public com.commercetools.importapi.models.common.ProductKeyReference getProduct() {

reference.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
b747e1fa4f246b748a89bccbfd8a43f5b6f51175

references.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,3 +334,4 @@ a639dbb1cfe5b434c350e7b47ca717c69b3aa369
334334
971c1b4ce06c29fcb8c2402dc2ca523b2907352c
335335
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
336336
b747e1fa4f246b748a89bccbfd8a43f5b6f51175
337+
505b3af56b4452b22dfb595f93e010b3e2fccc53

0 commit comments

Comments
 (0)