From e1c6a9aa9f48a5f994bda8c5c8cac6a448b757c9 Mon Sep 17 00:00:00 2001 From: algolia-bot Date: Tue, 27 Aug 2024 09:30:47 +0000 Subject: [PATCH] feat(specs): push source type (generated) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/algolia/api-clients-automation/pull/3600 Co-authored-by: algolia-bot Co-authored-by: Clément Vannicatte --- .../src/main/java/com/algolia/model/ingestion/Source.java | 2 +- .../main/java/com/algolia/model/ingestion/SourceCreate.java | 2 +- .../src/main/java/com/algolia/model/ingestion/SourceType.java | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) 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;