Add active flag support
- Introduce a new
active boolean property in ConstructorItem.
- Ideally a new signature when initialising the
ConstructorItem
- The default could be true.
E.g.
public ConstructorItem(String id, String name, Boolean active) throws IllegalArgumentException {
if (id == null) {
throw new IllegalArgumentException("id is required");
}
this.id = id;
this.name = name;
this.active = active;
this.suggestedScore = null;
this.keywords = null;
this.url = null;
this.imageUrl = null;
this.description = null;
this.facets = null;
this.metadata = null;
this.groupIds = null;
}
p.s. I am raising this issue because I couldn't verify if the active is by default true for createOrReplaceItems endpoint. I also couldn't not find in the sdk the logic for it. Lastly, I tried to contribute and I could not push my branch into this repo :)
Add
activeflag supportactiveboolean property inConstructorItem.ConstructorItemE.g.
p.s. I am raising this issue because I couldn't verify if the
activeis by defaulttruefor createOrReplaceItems endpoint. I also couldn't not find in the sdk the logic for it. Lastly, I tried to contribute and I could not push my branch into this repo :)