diff --git a/algoliasearch/src/main/java/com/algolia/model/ingestion/Source.java b/algoliasearch/src/main/java/com/algolia/model/ingestion/Source.java index 271a576c1..ae37d81f4 100644 --- a/algoliasearch/src/main/java/com/algolia/model/ingestion/Source.java +++ b/algoliasearch/src/main/java/com/algolia/model/ingestion/Source.java @@ -70,7 +70,7 @@ public Source setInput(SourceInput input) { } /** Get input */ - @javax.annotation.Nonnull + @javax.annotation.Nullable public SourceInput getInput() { return input; } diff --git a/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceCreate.java b/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceCreate.java index 4a52ba709..834e0aef1 100644 --- a/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceCreate.java +++ b/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceCreate.java @@ -50,7 +50,7 @@ public SourceCreate setInput(SourceInput input) { } /** Get input */ - @javax.annotation.Nonnull + @javax.annotation.Nullable public SourceInput getInput() { return input; } diff --git a/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceType.java b/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceType.java index d830bffa5..22cbbb236 100644 --- a/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceType.java +++ b/algoliasearch/src/main/java/com/algolia/model/ingestion/SourceType.java @@ -24,7 +24,9 @@ public enum SourceType { SHOPIFY("shopify"), - SFCC("sfcc"); + SFCC("sfcc"), + + PUSH("push"); private final String value;