Skip to content

Commit c70988c

Browse files
Merge pull request #779 from commercetools/gen-sdk-updates
Update generated SDKs
2 parents 25b1e3a + bdc36ac commit c70988c

11 files changed

+20
-14
lines changed

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchHead.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>Checks whether a search index of Customers exists for a Project. If an index exists, a <code>200 OK</code> is returned; otherwise, a <code>409 Conflict</code>.</p>
19+
* <p>Checks whether a search index of Customers exists for a Project. Returns a <code>200 OK</code> if an index exists; otherwise, returns a <code>409 Conflict</code>.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPost.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>A SearchNotReady error is returned if the indexing is in progress or the feature is deactivated. If deactivated, you can reactivate it.</p>
19+
* <p>If the initial indexing is in progress or the feature is inactive, a SearchNotReady error is returned. If inactive, you can reactivate it.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyCustomersSearchPostString.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>A SearchNotReady error is returned if the indexing is in progress or the feature is deactivated. If deactivated, you can reactivate it.</p>
20+
* <p>If the initial indexing is in progress or the feature is inactive, a SearchNotReady error is returned. If inactive, you can reactivate it.</p>
2121
*
2222
* <hr>
2323
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPost.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-
*
19+
* <p>If the indexing is in progress or the feature is inactive, an ObjectNotFound error is returned. If inactive, you can reactivate it.</p>
2020
*
2121
* <hr>
2222
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyProductsSearchPostString.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-
*
20+
* <p>If the indexing is in progress or the feature is inactive, an ObjectNotFound error is returned. If inactive, you can reactivate it.</p>
2121
*
2222
* <hr>
2323
* <div class=code-example>

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundError.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import jakarta.validation.constraints.NotNull;
1616

1717
/**
18-
* <p>Returned when the requested resource was not found.</p>
18+
* <p>Returned if the requested resource was not found or the Product Search index is inactive.</p>
1919
*
2020
* <hr>
2121
* Example to create an instance using the builder pattern

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLObjectNotFoundErrorImpl.java

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

2020
/**
21-
* <p>Returned when the requested resource was not found.</p>
21+
* <p>Returned if the requested resource was not found or the Product Search index is inactive.</p>
2222
*/
2323
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2424
public class GraphQLObjectNotFoundErrorImpl implements GraphQLObjectNotFoundError, ModelBase {

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundError.java

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

1717
/**
18-
* <p>Returned when the requested resource was not found.</p>
18+
* <p>Returned if the requested resource was not found or the Product Search index is inactive.</p>
1919
*
2020
* <hr>
2121
* Example to create an instance using the builder pattern
@@ -45,15 +45,17 @@ public interface ObjectNotFoundError extends ErrorObject {
4545
public String getCode();
4646

4747
/**
48-
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code></p>
48+
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code> or</p>
49+
* <p><code>"No index found for project"</code></p>
4950
* @return message
5051
*/
5152
@NotNull
5253
@JsonProperty("message")
5354
public String getMessage();
5455

5556
/**
56-
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code></p>
57+
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code> or</p>
58+
* <p><code>"No index found for project"</code></p>
5759
* @param message value to be set
5860
*/
5961

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorBuilder.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@ public class ObjectNotFoundErrorBuilder implements Builder<ObjectNotFoundError>
2626
private Map<String, java.lang.Object> values = new HashMap<>();
2727

2828
/**
29-
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code></p>
29+
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code> or</p>
30+
* <p><code>"No index found for project"</code></p>
3031
* @param message value to be set
3132
* @return Builder
3233
*/
@@ -63,7 +64,8 @@ public ObjectNotFoundErrorBuilder addValue(final String key, final java.lang.Obj
6364
}
6465

6566
/**
66-
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code></p>
67+
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code> or</p>
68+
* <p><code>"No index found for project"</code></p>
6769
* @return message
6870
*/
6971

commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ObjectNotFoundErrorImpl.java

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

2020
/**
21-
* <p>Returned when the requested resource was not found.</p>
21+
* <p>Returned if the requested resource was not found or the Product Search index is inactive.</p>
2222
*/
2323
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
2424
public class ObjectNotFoundErrorImpl implements ObjectNotFoundError, ModelBase {
@@ -56,7 +56,8 @@ public String getCode() {
5656
}
5757

5858
/**
59-
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code></p>
59+
* <p><code>"A $resourceType with identifier $id was unexpectedly not found."</code> or</p>
60+
* <p><code>"No index found for project"</code></p>
6061
*/
6162

6263
public String getMessage() {

0 commit comments

Comments
 (0)