Skip to content

Commit

Permalink
fix(specs): required ingestion search params (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3516

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Clément Vannicatte <vannicattec@gmail.com>
  • Loading branch information
algolia-bot and shortcuts committed Aug 12, 2024
1 parent 36e0ba4 commit 0682040
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,20 @@
public class TransformationSearch {

@JsonProperty("transformationIDs")
private List<String> transformationIDs;
private List<String> transformationIDs = new ArrayList<>();

public TransformationSearch setTransformationIDs(List<String> transformationIDs) {
this.transformationIDs = transformationIDs;
return this;
}

public TransformationSearch addTransformationIDs(String transformationIDsItem) {
if (this.transformationIDs == null) {
this.transformationIDs = new ArrayList<>();
}
this.transformationIDs.add(transformationIDsItem);
return this;
}

/** Get transformationIDs */
@javax.annotation.Nullable
@javax.annotation.Nonnull
public List<String> getTransformationIDs() {
return transformationIDs;
}
Expand Down

0 comments on commit 0682040

Please sign in to comment.