From d6fa168aab11981c28691bfa2d7cafc60216c03d Mon Sep 17 00:00:00 2001 From: KSGRelewise <119578211+KSGRelewise@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:56:48 +0200 Subject: [PATCH 1/3] Added JsonIgnoreProperties attribute to class generation. --- Generator/Constants.cs | 1 + Generator/JavaTypeWriters/JavaClassWriter.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/Generator/Constants.cs b/Generator/Constants.cs index 236bda93..cdc08358 100644 --- a/Generator/Constants.cs +++ b/Generator/Constants.cs @@ -9,6 +9,7 @@ public class Constants import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; + import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/Generator/JavaTypeWriters/JavaClassWriter.cs b/Generator/JavaTypeWriters/JavaClassWriter.cs index aae9e28c..e1ee26f0 100644 --- a/Generator/JavaTypeWriters/JavaClassWriter.cs +++ b/Generator/JavaTypeWriters/JavaClassWriter.cs @@ -59,6 +59,7 @@ public void Write(IndentedTextWriter writer, Type type, string typeName) writer.WriteLine($"defaultImpl = {typeName}.class)"); writer.Indent--; } + writer.WriteLine("@JsonIgnoreProperties(ignoreUnknown = true)"); writer.WriteLine($"public {(type.IsAbstract ? "abstract " : "")}class {typeName}{(type.BaseType != typeof(object) && type.BaseType is { } baseType ? $" extends {javaWriter.TypeName(baseType).RemoveNullable()}" : "")}{(type.GetInterfaces() is { Length: > 0 } interfaces ? " implements " + string.Join(", ", interfaces.Select(i => javaWriter.TypeName(i))) : "")}"); writer.WriteLine("{"); From 5983abb621f114869e36c8035ba2316e41811517 Mon Sep 17 00:00:00 2001 From: KSGRelewise <119578211+KSGRelewise@users.noreply.github.com> Date: Thu, 8 Aug 2024 10:57:14 +0200 Subject: [PATCH 2/3] un-commented previously failing test. --- .../client/SearchAdministratorTest.java | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/src/src/test/java/com/relewise/client/SearchAdministratorTest.java b/src/src/test/java/com/relewise/client/SearchAdministratorTest.java index 8bcb5eca..b111c019 100644 --- a/src/src/test/java/com/relewise/client/SearchAdministratorTest.java +++ b/src/src/test/java/com/relewise/client/SearchAdministratorTest.java @@ -9,36 +9,36 @@ import static org.junit.jupiter.api.Assertions.*; public class SearchAdministratorTest extends TestBase { -// @Test -// public void testSaveSimpleSearchIndex() throws Exception { -// var searchAdministrator = new SearchAdministrator(GetDatasetId(), GetApiKey()); -// -// var saveSearchIndex = SaveSearchIndexRequest.create( -// SearchIndex.create("simple", "a simple test index that is not default", false) -// .setConfiguration( -// IndexConfiguration.create() -// .setLanguage(LanguageIndexConfiguration.create() -// .setLanguages( -// LanguageIndexConfigurationEntry.create(Language.create("da-dk"), true), -// LanguageIndexConfigurationEntry.create(Language.create("da.dk"), true) -// ) -// ) -// .setProduct(ProductIndexConfiguration.create() -// .setId(FieldIndexConfiguration.create(true, (short)1, PredictionSourceType.Disabled)) -// .setDisplayName(FieldIndexConfiguration.create(true, (short)9, PredictionSourceType.PartialWordSequences)) -// .setData( -// DataIndexConfiguration.create() -// .addToKeys("Tags", FieldIndexConfiguration.create(true, (short)8, PredictionSourceType.IndividualWords)) -// .addToKeys("Description", FieldIndexConfiguration.create(true, (short)5, PredictionSourceType.PartialWordSequences).setParser(HtmlParser.create())) -// ) -// ) -// ), -// "Java Integration test" -// ); -// -// var response = searchAdministrator.save(saveSearchIndex); -// assertNotNull(response); -// } + @Test + public void testSaveSimpleSearchIndex() throws Exception { + var searchAdministrator = new SearchAdministrator(GetDatasetId(), GetApiKey()); + + var saveSearchIndex = SaveSearchIndexRequest.create( + SearchIndex.create("simple", "a simple test index that is not default", false) + .setConfiguration( + IndexConfiguration.create() + .setLanguage(LanguageIndexConfiguration.create() + .setLanguages( + LanguageIndexConfigurationEntry.create(Language.create("da-dk"), true), + LanguageIndexConfigurationEntry.create(Language.create("da.dk"), true) + ) + ) + .setProduct(ProductIndexConfiguration.create() + .setId(FieldIndexConfiguration.create(true, (short)1, PredictionSourceType.Disabled)) + .setDisplayName(FieldIndexConfiguration.create(true, (short)9, PredictionSourceType.PartialWordSequences)) + .setData( + DataIndexConfiguration.create() + .addToKeys("Tags", FieldIndexConfiguration.create(true, (short)8, PredictionSourceType.IndividualWords)) + .addToKeys("Description", FieldIndexConfiguration.create(true, (short)5, PredictionSourceType.PartialWordSequences).setParser(HtmlParser.create())) + ) + ) + ), + "Java Integration test" + ); + + var response = searchAdministrator.save(saveSearchIndex); + assertNotNull(response); + } @Test public void testSaveGetUpdateAndDeleteSearchIndex() throws Exception { From c8f3c812bb57f35cbf4b26261cd37d2cc87b26b0 Mon Sep 17 00:00:00 2001 From: KSGRelewise <119578211+KSGRelewise@users.noreply.github.com> Date: Thu, 8 Aug 2024 11:01:25 +0200 Subject: [PATCH 3/3] Regenerated types. --- .../client/model/AbandonedCartTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/AbandonedCartTriggerResult.java | 2 ++ .../model/AbandonedCartTriggerResultTriggerConfiguration.java | 2 ++ .../java/com/relewise/client/model/AbandonedContentSearch.java | 2 ++ .../relewise/client/model/AbandonedProductCategorySearch.java | 2 ++ .../java/com/relewise/client/model/AbandonedProductSearch.java | 2 ++ .../main/java/com/relewise/client/model/AbandonedSearch.java | 2 ++ .../client/model/AbandonedSearchTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/AbandonedSearchTriggerResult.java | 2 ++ .../model/AbandonedSearchTriggerResultTriggerConfiguration.java | 2 ++ .../main/java/com/relewise/client/model/AnalyzerRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/AndCondition.java | 2 ++ src/src/main/java/com/relewise/client/model/AndFilter.java | 2 ++ .../main/java/com/relewise/client/model/ApplicableIndexes.java | 2 ++ .../java/com/relewise/client/model/ApplicableLanguages.java | 2 ++ .../main/java/com/relewise/client/model/AssortmentFacet.java | 2 ++ .../java/com/relewise/client/model/AssortmentFacetResult.java | 2 ++ .../java/com/relewise/client/model/AssortmentFilterType.java | 1 + .../com/relewise/client/model/AssortmentSelectionStrategy.java | 1 + .../java/com/relewise/client/model/BatchedTrackingRequest.java | 2 ++ .../com/relewise/client/model/BooleanAvailableFacetValue.java | 2 ++ .../relewise/client/model/BooleanBooleanValueFacetResult.java | 2 ++ .../com/relewise/client/model/BooleanContentDataValueFacet.java | 2 ++ .../client/model/BooleanContentDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/BooleanDataObjectValueFacet.java | 2 ++ .../client/model/BooleanDataObjectValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/BooleanDataValueFacet.java | 2 ++ .../com/relewise/client/model/BooleanDataValueFacetResult.java | 2 ++ .../client/model/BooleanProductCategoryDataValueFacet.java | 2 ++ .../model/BooleanProductCategoryDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/BooleanProductDataValueFacet.java | 2 ++ .../client/model/BooleanProductDataValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/BooleanValueFacet.java | 2 ++ .../java/com/relewise/client/model/BooleanValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/BoostAndBuryRule.java | 2 ++ src/src/main/java/com/relewise/client/model/Brand.java | 2 ++ .../com/relewise/client/model/BrandAdministrativeAction.java | 2 ++ .../client/model/BrandAdministrativeActionUpdateKind.java | 1 + .../java/com/relewise/client/model/BrandAssortmentFilter.java | 2 ++ .../main/java/com/relewise/client/model/BrandDataFilter.java | 2 ++ .../relewise/client/model/BrandDetailsCollectionResponse.java | 2 ++ src/src/main/java/com/relewise/client/model/BrandFacet.java | 2 ++ .../main/java/com/relewise/client/model/BrandFacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/BrandIdFilter.java | 2 ++ .../com/relewise/client/model/BrandIdRelevanceModifier.java | 2 ++ .../java/com/relewise/client/model/BrandIndexConfiguration.java | 2 ++ .../java/com/relewise/client/model/BrandNameAndIdResult.java | 2 ++ .../client/model/BrandNameAndIdResultAvailableFacetValue.java | 2 ++ src/src/main/java/com/relewise/client/model/BrandQuery.java | 2 ++ .../com/relewise/client/model/BrandRecommendationRequest.java | 2 ++ .../client/model/BrandRecommendationRequestSettings.java | 2 ++ .../com/relewise/client/model/BrandRecommendationResponse.java | 2 ++ .../com/relewise/client/model/BrandRecommendationWeights.java | 2 ++ src/src/main/java/com/relewise/client/model/BrandResult.java | 2 ++ .../main/java/com/relewise/client/model/BrandResultDetails.java | 2 ++ src/src/main/java/com/relewise/client/model/BrandUpdate.java | 2 ++ .../java/com/relewise/client/model/BrandUpdateUpdateKind.java | 1 + src/src/main/java/com/relewise/client/model/BrandView.java | 2 ++ src/src/main/java/com/relewise/client/model/Cart.java | 2 ++ src/src/main/java/com/relewise/client/model/CartDataFilter.java | 2 ++ src/src/main/java/com/relewise/client/model/CartDetails.java | 2 ++ src/src/main/java/com/relewise/client/model/Category.java | 2 ++ .../com/relewise/client/model/CategoryAdministrativeAction.java | 2 ++ .../client/model/CategoryAdministrativeActionUpdateKind.java | 1 + src/src/main/java/com/relewise/client/model/CategoryFacet.java | 2 ++ .../java/com/relewise/client/model/CategoryFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/CategoryIdFilter.java | 2 ++ .../com/relewise/client/model/CategoryIndexConfiguration.java | 2 ++ .../relewise/client/model/CategoryIndexConfigurationEntry.java | 2 ++ .../java/com/relewise/client/model/CategoryLevelFilter.java | 2 ++ .../main/java/com/relewise/client/model/CategoryNameAndId.java | 2 ++ .../java/com/relewise/client/model/CategoryNameAndIdResult.java | 2 ++ .../model/CategoryNameAndIdResultAvailableFacetValue.java | 2 ++ src/src/main/java/com/relewise/client/model/CategoryPath.java | 2 ++ .../main/java/com/relewise/client/model/CategoryPathResult.java | 2 ++ .../com/relewise/client/model/CategoryPathResultDetails.java | 2 ++ .../com/relewise/client/model/CategoryProductAndVariant.java | 2 ++ src/src/main/java/com/relewise/client/model/CategoryResult.java | 2 ++ src/src/main/java/com/relewise/client/model/CategoryScope.java | 1 + .../com/relewise/client/model/CategorySelectionStrategy.java | 1 + src/src/main/java/com/relewise/client/model/CategoryUpdate.java | 2 ++ .../com/relewise/client/model/CategoryUpdateUpdateKind.java | 1 + .../main/java/com/relewise/client/model/ClearTextParser.java | 2 ++ .../java/com/relewise/client/model/CollectionFilterType.java | 1 + .../java/com/relewise/client/model/ConditionConfiguration.java | 2 ++ .../main/java/com/relewise/client/model/ConditionTarget.java | 1 + .../main/java/com/relewise/client/model/ContainsCondition.java | 2 ++ .../ContainsConditionCollectionArgumentEvaluationMode.java | 1 + src/src/main/java/com/relewise/client/model/Content.java | 2 ++ .../com/relewise/client/model/ContentAdministrativeAction.java | 2 ++ .../client/model/ContentAdministrativeActionUpdateKind.java | 1 + .../java/com/relewise/client/model/ContentAssortmentFacet.java | 2 ++ .../com/relewise/client/model/ContentAssortmentFacetResult.java | 2 ++ .../java/com/relewise/client/model/ContentAttributeSorting.java | 2 ++ .../client/model/ContentAttributeSortingSortableAttribute.java | 1 + .../main/java/com/relewise/client/model/ContentCategory.java | 2 ++ .../client/model/ContentCategoryAdministrativeAction.java | 2 ++ .../relewise/client/model/ContentCategoryAssortmentFilter.java | 2 ++ .../com/relewise/client/model/ContentCategoryDataFilter.java | 2 ++ .../client/model/ContentCategoryDetailsCollectionResponse.java | 2 ++ .../relewise/client/model/ContentCategoryHasAncestorFilter.java | 2 ++ .../relewise/client/model/ContentCategoryHasChildFilter.java | 2 ++ .../relewise/client/model/ContentCategoryHasParentFilter.java | 2 ++ .../java/com/relewise/client/model/ContentCategoryIdFilter.java | 2 ++ .../client/model/ContentCategoryIdFilterCategoryQuery.java | 2 ++ .../model/ContentCategoryInterestTriggerConfiguration.java | 2 ++ .../client/model/ContentCategoryInterestTriggerResult.java | 2 ++ .../model/ContentCategoryInterestTriggerResultCategory.java | 2 ++ ...ontentCategoryInterestTriggerResultTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/ContentCategoryLevelFilter.java | 2 ++ .../java/com/relewise/client/model/ContentCategoryQuery.java | 2 ++ .../client/model/ContentCategoryRecommendationRequest.java | 2 ++ .../model/ContentCategoryRecommendationRequestCollection.java | 2 ++ .../model/ContentCategoryRecommendationRequestSettings.java | 2 ++ .../client/model/ContentCategoryRecommendationResponse.java | 2 ++ .../model/ContentCategoryRecommendationResponseCollection.java | 2 ++ .../client/model/ContentCategoryRecommendationWeights.java | 2 ++ .../java/com/relewise/client/model/ContentCategoryResult.java | 2 ++ .../com/relewise/client/model/ContentCategoryResultDetails.java | 2 ++ .../ContentCategoryResultDetailsCategoryResultDetails.java | 2 ++ .../com/relewise/client/model/ContentCategorySearchRequest.java | 2 ++ .../relewise/client/model/ContentCategorySearchResponse.java | 2 ++ .../relewise/client/model/ContentCategorySearchSettings.java | 2 ++ .../java/com/relewise/client/model/ContentCategoryUpdate.java | 2 ++ .../java/com/relewise/client/model/ContentCategoryView.java | 2 ++ .../com/relewise/client/model/ContentDataBooleanValueFacet.java | 2 ++ .../client/model/ContentDataBooleanValueFacetResult.java | 2 ++ .../com/relewise/client/model/ContentDataDoubleRangeFacet.java | 2 ++ .../client/model/ContentDataDoubleRangeFacetResult.java | 2 ++ .../com/relewise/client/model/ContentDataDoubleRangesFacet.java | 2 ++ .../client/model/ContentDataDoubleRangesFacetResult.java | 2 ++ .../com/relewise/client/model/ContentDataDoubleValueFacet.java | 2 ++ .../client/model/ContentDataDoubleValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/ContentDataFilter.java | 2 ++ .../com/relewise/client/model/ContentDataIntegerValueFacet.java | 2 ++ .../client/model/ContentDataIntegerValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/ContentDataObjectFacet.java | 2 ++ .../com/relewise/client/model/ContentDataObjectFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/ContentDataSorting.java | 2 ++ .../com/relewise/client/model/ContentDataStringValueFacet.java | 2 ++ .../client/model/ContentDataStringValueFacetResult.java | 2 ++ .../relewise/client/model/ContentDetailsCollectionResponse.java | 2 ++ .../main/java/com/relewise/client/model/ContentFacetQuery.java | 2 ++ .../main/java/com/relewise/client/model/ContentFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/ContentIdFilter.java | 2 ++ .../com/relewise/client/model/ContentIndexConfiguration.java | 2 ++ .../com/relewise/client/model/ContentPopularitySorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ContentQuery.java | 2 ++ .../com/relewise/client/model/ContentRecommendationRequest.java | 2 ++ .../client/model/ContentRecommendationRequestCollection.java | 2 ++ .../client/model/ContentRecommendationRequestSettings.java | 2 ++ .../relewise/client/model/ContentRecommendationResponse.java | 2 ++ .../client/model/ContentRecommendationResponseCollection.java | 2 ++ .../java/com/relewise/client/model/ContentRelevanceSorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ContentResult.java | 2 ++ .../java/com/relewise/client/model/ContentResultDetails.java | 2 ++ .../java/com/relewise/client/model/ContentSearchRequest.java | 2 ++ .../java/com/relewise/client/model/ContentSearchResponse.java | 2 ++ .../java/com/relewise/client/model/ContentSearchSettings.java | 2 ++ .../com/relewise/client/model/ContentSortBySpecification.java | 2 ++ src/src/main/java/com/relewise/client/model/ContentSorting.java | 2 ++ .../java/com/relewise/client/model/ContentSortingSorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ContentUpdate.java | 2 ++ .../java/com/relewise/client/model/ContentUpdateUpdateKind.java | 1 + src/src/main/java/com/relewise/client/model/ContentView.java | 2 ++ .../client/model/ContentsViewedAfterViewingContentRequest.java | 2 ++ .../ContentsViewedAfterViewingMultipleContentsRequest.java | 2 ++ .../ContentsViewedAfterViewingMultipleProductsRequest.java | 2 ++ .../client/model/ContentsViewedAfterViewingProductRequest.java | 2 ++ .../relewise/client/model/ContextConditionConfiguration.java | 2 ++ src/src/main/java/com/relewise/client/model/Currency.java | 2 ++ .../client/model/CustomProductRecommendationRequest.java | 2 ++ .../main/java/com/relewise/client/model/DataDoubleSelector.java | 2 ++ src/src/main/java/com/relewise/client/model/DataFilter.java | 2 ++ .../java/com/relewise/client/model/DataIndexConfiguration.java | 2 ++ .../com/relewise/client/model/DataObjectBooleanValueFacet.java | 2 ++ .../client/model/DataObjectBooleanValueFacetResult.java | 2 ++ .../com/relewise/client/model/DataObjectDoubleRangeFacet.java | 2 ++ .../relewise/client/model/DataObjectDoubleRangeFacetResult.java | 2 ++ .../com/relewise/client/model/DataObjectDoubleRangesFacet.java | 2 ++ .../client/model/DataObjectDoubleRangesFacetResult.java | 2 ++ .../com/relewise/client/model/DataObjectDoubleValueFacet.java | 2 ++ .../relewise/client/model/DataObjectDoubleValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/DataObjectFacet.java | 2 ++ .../java/com/relewise/client/model/DataObjectFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/DataObjectFilter.java | 2 ++ .../com/relewise/client/model/DataObjectStringValueFacet.java | 2 ++ .../relewise/client/model/DataObjectStringValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/DataObjectValueSelector.java | 2 ++ .../java/com/relewise/client/model/DataSelectionStrategy.java | 1 + src/src/main/java/com/relewise/client/model/DataValue.java | 2 ++ .../java/com/relewise/client/model/DataValueDataValueTypes.java | 1 + src/src/main/java/com/relewise/client/model/DecompoundRule.java | 2 ++ .../client/model/DecompoundRuleSaveSearchRulesRequest.java | 2 ++ .../client/model/DecompoundRuleSaveSearchRulesResponse.java | 2 ++ .../client/model/DecompoundRuleSearchRulesResponse.java | 2 ++ .../java/com/relewise/client/model/DecompoundRulesRequest.java | 2 ++ .../com/relewise/client/model/DecompoundRulesRequestSortBy.java | 1 + .../model/DecompoundRulesRequestSortBySearchRulesRequest.java | 2 ++ .../client/model/DecompoundRulesRequestSortBySorting.java | 2 ++ .../java/com/relewise/client/model/DecompoundRulesResponse.java | 2 ++ .../com/relewise/client/model/DeleteDecompoundRulesRequest.java | 2 ++ .../relewise/client/model/DeleteMerchandisingRuleRequest.java | 2 ++ .../com/relewise/client/model/DeletePredictionRulesRequest.java | 2 ++ .../com/relewise/client/model/DeleteRedirectRulesRequest.java | 2 ++ .../com/relewise/client/model/DeleteSearchIndexRequest.java | 2 ++ .../com/relewise/client/model/DeleteSearchRulesRequest.java | 2 ++ .../com/relewise/client/model/DeleteSearchRulesResponse.java | 2 ++ .../com/relewise/client/model/DeleteStemmingRulesRequest.java | 2 ++ .../java/com/relewise/client/model/DeleteSynonymsRequest.java | 2 ++ .../java/com/relewise/client/model/DeleteSynonymsResponse.java | 2 ++ .../client/model/DeleteTriggerConfigurationRequest.java | 2 ++ .../main/java/com/relewise/client/model/DistinctCondition.java | 2 ++ .../com/relewise/client/model/DoubleAvailableFacetValue.java | 2 ++ .../java/com/relewise/client/model/DoubleChainableRange.java | 2 ++ .../client/model/DoubleChainableRangeAvailableFacetValue.java | 2 ++ .../com/relewise/client/model/DoubleContentDataRangeFacet.java | 2 ++ .../client/model/DoubleContentDataRangeFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleContentDataRangesFacet.java | 2 ++ .../client/model/DoubleContentDataRangesFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleContentDataValueFacet.java | 2 ++ .../client/model/DoubleContentDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleDataObjectRangeFacet.java | 2 ++ .../relewise/client/model/DoubleDataObjectRangeFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleDataObjectRangesFacet.java | 2 ++ .../client/model/DoubleDataObjectRangesFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleDataObjectValueFacet.java | 2 ++ .../relewise/client/model/DoubleDataObjectValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/DoubleDataRangeFacet.java | 2 ++ .../java/com/relewise/client/model/DoubleDataRangesFacet.java | 2 ++ .../java/com/relewise/client/model/DoubleDataValueFacet.java | 2 ++ .../com/relewise/client/model/DoubleDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleDoubleValueFacetResult.java | 2 ++ .../client/model/DoubleProductCategoryDataRangeFacet.java | 2 ++ .../client/model/DoubleProductCategoryDataRangeFacetResult.java | 2 ++ .../client/model/DoubleProductCategoryDataRangesFacet.java | 2 ++ .../model/DoubleProductCategoryDataRangesFacetResult.java | 2 ++ .../client/model/DoubleProductCategoryDataValueFacet.java | 2 ++ .../client/model/DoubleProductCategoryDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleProductDataRangeFacet.java | 2 ++ .../client/model/DoubleProductDataRangeFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleProductDataRangesFacet.java | 2 ++ .../client/model/DoubleProductDataRangesFacetResult.java | 2 ++ .../com/relewise/client/model/DoubleProductDataValueFacet.java | 2 ++ .../client/model/DoubleProductDataValueFacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/DoubleRange.java | 2 ++ .../relewise/client/model/DoubleRangeAvailableFacetValue.java | 2 ++ .../java/com/relewise/client/model/DoubleRangeFacetResult.java | 2 ++ .../java/com/relewise/client/model/DoubleRangesFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/DoubleValueFacet.java | 2 ++ .../java/com/relewise/client/model/DoubleValueFacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/EntityType.java | 1 + src/src/main/java/com/relewise/client/model/Enum.java | 2 ++ .../main/java/com/relewise/client/model/EqualsCondition.java | 2 ++ src/src/main/java/com/relewise/client/model/EvaluationMode.java | 1 + .../com/relewise/client/model/ExpectedSearchTermResult.java | 2 ++ src/src/main/java/com/relewise/client/model/Facet.java | 2 ++ src/src/main/java/com/relewise/client/model/FacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/FacetSettings.java | 2 ++ src/src/main/java/com/relewise/client/model/FacetingField.java | 1 + .../java/com/relewise/client/model/FieldIndexConfiguration.java | 2 ++ src/src/main/java/com/relewise/client/model/Filter.java | 2 ++ .../main/java/com/relewise/client/model/FilterCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/FilterRule.java | 2 ++ .../com/relewise/client/model/FixedDoubleValueSelector.java | 2 ++ .../main/java/com/relewise/client/model/FixedPositionRule.java | 2 ++ .../com/relewise/client/model/GlobalTriggerConfiguration.java | 2 ++ .../client/model/GlobalTriggerConfigurationRequest.java | 2 ++ .../client/model/GlobalTriggerConfigurationResponse.java | 2 ++ .../java/com/relewise/client/model/GreaterThanCondition.java | 2 ++ .../java/com/relewise/client/model/HasActivityCondition.java | 2 ++ .../com/relewise/client/model/HasAncestorCategoryFilter.java | 2 ++ .../com/relewise/client/model/HasAuthenticatedIdCondition.java | 2 ++ .../java/com/relewise/client/model/HasChildCategoryFilter.java | 2 ++ .../com/relewise/client/model/HasClassificationCondition.java | 2 ++ .../main/java/com/relewise/client/model/HasEmailCondition.java | 2 ++ .../java/com/relewise/client/model/HasIdentifierCondition.java | 2 ++ .../com/relewise/client/model/HasLineItemsInCartCondition.java | 2 ++ .../com/relewise/client/model/HasModifiedCartCondition.java | 2 ++ .../java/com/relewise/client/model/HasParentCategoryFilter.java | 2 ++ .../java/com/relewise/client/model/HasPlacedOrderCondition.java | 2 ++ .../client/model/HasRecentlyReceivedSameTriggerCondition.java | 2 ++ .../client/model/HasRecentlyReceivedTriggerCondition.java | 2 ++ src/src/main/java/com/relewise/client/model/HtmlParser.java | 2 ++ src/src/main/java/com/relewise/client/model/IBrandFilter.java | 1 + .../main/java/com/relewise/client/model/ICategoryFilter.java | 1 + src/src/main/java/com/relewise/client/model/IComparable.java | 1 + src/src/main/java/com/relewise/client/model/IContentFilter.java | 1 + src/src/main/java/com/relewise/client/model/IConvertible.java | 1 + src/src/main/java/com/relewise/client/model/IFormattable.java | 1 + src/src/main/java/com/relewise/client/model/IProductFilter.java | 1 + .../com/relewise/client/model/IProductRelevanceModifier.java | 1 + src/src/main/java/com/relewise/client/model/ITriggerResult.java | 1 + .../main/java/com/relewise/client/model/IUserIdentifier.java | 1 + src/src/main/java/com/relewise/client/model/IVariantFilter.java | 1 + .../com/relewise/client/model/IVariantRelevanceModifier.java | 1 + .../main/java/com/relewise/client/model/IndexConfiguration.java | 2 ++ .../com/relewise/client/model/InputConditionConfiguration.java | 2 ++ .../main/java/com/relewise/client/model/InputModifierRule.java | 2 ++ .../com/relewise/client/model/IntegerAvailableFacetValue.java | 2 ++ .../com/relewise/client/model/IntegerContentDataValueFacet.java | 2 ++ .../client/model/IntegerContentDataValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/IntegerDataValueFacet.java | 2 ++ .../com/relewise/client/model/IntegerDataValueFacetResult.java | 2 ++ .../relewise/client/model/IntegerIntegerValueFacetResult.java | 2 ++ .../com/relewise/client/model/IntegerProductDataValueFacet.java | 2 ++ .../client/model/IntegerProductDataValueFacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/IntegerRange.java | 2 ++ .../main/java/com/relewise/client/model/IntegerValueFacet.java | 2 ++ .../java/com/relewise/client/model/IntegerValueFacetResult.java | 2 ++ src/src/main/java/com/relewise/client/model/KeyMultiplier.java | 2 ++ src/src/main/java/com/relewise/client/model/Language.java | 2 ++ .../com/relewise/client/model/LanguageIndexConfiguration.java | 2 ++ .../relewise/client/model/LanguageIndexConfigurationEntry.java | 2 ++ .../main/java/com/relewise/client/model/LessThanCondition.java | 2 ++ .../main/java/com/relewise/client/model/LicensedRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/LineItem.java | 2 ++ .../main/java/com/relewise/client/model/MerchandisingRule.java | 2 ++ .../client/model/MerchandisingRuleCollectionResponse.java | 2 ++ .../com/relewise/client/model/MerchandisingRuleRequest.java | 2 ++ .../com/relewise/client/model/MerchandisingRuleResponse.java | 2 ++ .../com/relewise/client/model/MerchandisingRulesRequest.java | 2 ++ .../client/model/MixedRecommendationResponseCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/Money.java | 2 ++ src/src/main/java/com/relewise/client/model/MultiCurrency.java | 2 ++ src/src/main/java/com/relewise/client/model/Multilingual.java | 2 ++ .../main/java/com/relewise/client/model/MultilingualValue.java | 2 ++ .../java/com/relewise/client/model/ObjectValueCondition.java | 2 ++ .../com/relewise/client/model/ObjectValueContainsCondition.java | 2 ++ .../client/model/ObjectValueContainsConditionCompareMode.java | 1 + .../com/relewise/client/model/ObjectValueEqualsCondition.java | 2 ++ .../relewise/client/model/ObjectValueGreaterThanCondition.java | 2 ++ .../com/relewise/client/model/ObjectValueInRangeCondition.java | 2 ++ .../com/relewise/client/model/ObjectValueLessThanCondition.java | 2 ++ .../com/relewise/client/model/ObjectValueMaxByCondition.java | 2 ++ .../com/relewise/client/model/ObjectValueMinByCondition.java | 2 ++ src/src/main/java/com/relewise/client/model/OrCondition.java | 2 ++ src/src/main/java/com/relewise/client/model/OrFilter.java | 2 ++ src/src/main/java/com/relewise/client/model/Order.java | 2 ++ .../model/OverriddenContentRecommendationRequestSettings.java | 2 ++ .../model/OverriddenProductRecommendationRequestSettings.java | 2 ++ .../client/model/OverriddenSelectedBrandPropertiesSettings.java | 2 ++ .../model/OverriddenSelectedContentPropertiesSettings.java | 2 ++ .../model/OverriddenSelectedProductPropertiesSettings.java | 2 ++ .../model/OverriddenSelectedVariantPropertiesSettings.java | 2 ++ .../java/com/relewise/client/model/PaginatedSearchRequest.java | 2 ++ .../java/com/relewise/client/model/PaginatedSearchResponse.java | 2 ++ src/src/main/java/com/relewise/client/model/Parser.java | 2 ++ .../client/model/PersonalBrandRecommendationRequest.java | 2 ++ .../model/PersonalContentCategoryRecommendationRequest.java | 2 ++ .../client/model/PersonalContentRecommendationRequest.java | 2 ++ .../model/PersonalProductCategoryRecommendationRequest.java | 2 ++ .../client/model/PersonalProductRecommendationRequest.java | 2 ++ .../client/model/PopularBrandsRecommendationRequest.java | 2 ++ .../model/PopularContentCategoriesRecommendationRequest.java | 2 ++ .../java/com/relewise/client/model/PopularContentsRequest.java | 2 ++ .../model/PopularProductCategoriesRecommendationRequest.java | 2 ++ .../java/com/relewise/client/model/PopularProductsRequest.java | 2 ++ .../client/model/PopularSearchTermsRecommendationRequest.java | 2 ++ .../main/java/com/relewise/client/model/PopularityTypes.java | 1 + src/src/main/java/com/relewise/client/model/PredictionRule.java | 2 ++ .../java/com/relewise/client/model/PredictionRulePromotion.java | 2 ++ .../client/model/PredictionRuleSaveSearchRulesRequest.java | 2 ++ .../client/model/PredictionRuleSaveSearchRulesResponse.java | 2 ++ .../client/model/PredictionRuleSearchRulesResponse.java | 2 ++ .../com/relewise/client/model/PredictionRuleSuppression.java | 2 ++ .../java/com/relewise/client/model/PredictionRulesRequest.java | 2 ++ .../com/relewise/client/model/PredictionRulesRequestSortBy.java | 1 + .../model/PredictionRulesRequestSortBySearchRulesRequest.java | 2 ++ .../client/model/PredictionRulesRequestSortBySorting.java | 2 ++ .../java/com/relewise/client/model/PredictionRulesResponse.java | 2 ++ .../java/com/relewise/client/model/PredictionSourceType.java | 1 + .../main/java/com/relewise/client/model/PriceRangeFacet.java | 2 ++ .../java/com/relewise/client/model/PriceRangeFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/PriceRangesFacet.java | 2 ++ .../java/com/relewise/client/model/PriceRangesFacetResult.java | 2 ++ .../java/com/relewise/client/model/PriceSelectionStrategy.java | 1 + src/src/main/java/com/relewise/client/model/Product.java | 2 ++ .../com/relewise/client/model/ProductAdministrativeAction.java | 2 ++ .../client/model/ProductAdministrativeActionUpdateKind.java | 1 + .../java/com/relewise/client/model/ProductAndVariantId.java | 2 ++ .../client/model/ProductAndVariantIdAbandonedSearch.java | 2 ++ .../com/relewise/client/model/ProductAndVariantIdFilter.java | 2 ++ .../java/com/relewise/client/model/ProductAssortmentFacet.java | 2 ++ .../com/relewise/client/model/ProductAssortmentFacetResult.java | 2 ++ .../java/com/relewise/client/model/ProductAssortmentFilter.java | 2 ++ .../client/model/ProductAssortmentRelevanceModifier.java | 2 ++ .../java/com/relewise/client/model/ProductAttributeSorting.java | 2 ++ .../client/model/ProductAttributeSortingSortableAttribute.java | 1 + .../main/java/com/relewise/client/model/ProductCategory.java | 2 ++ .../client/model/ProductCategoryAdministrativeAction.java | 2 ++ .../relewise/client/model/ProductCategoryAssortmentFacet.java | 2 ++ .../client/model/ProductCategoryAssortmentFacetResult.java | 2 ++ .../relewise/client/model/ProductCategoryAssortmentFilter.java | 2 ++ .../relewise/client/model/ProductCategoryAttributeSorting.java | 2 ++ .../model/ProductCategoryAttributeSortingSortableAttribute.java | 1 + .../client/model/ProductCategoryDataBooleanValueFacet.java | 2 ++ .../model/ProductCategoryDataBooleanValueFacetResult.java | 2 ++ .../client/model/ProductCategoryDataDoubleRangeFacet.java | 2 ++ .../client/model/ProductCategoryDataDoubleRangeFacetResult.java | 2 ++ .../client/model/ProductCategoryDataDoubleRangesFacet.java | 2 ++ .../model/ProductCategoryDataDoubleRangesFacetResult.java | 2 ++ .../client/model/ProductCategoryDataDoubleValueFacet.java | 2 ++ .../client/model/ProductCategoryDataDoubleValueFacetResult.java | 2 ++ .../com/relewise/client/model/ProductCategoryDataFilter.java | 2 ++ .../relewise/client/model/ProductCategoryDataObjectFacet.java | 2 ++ .../client/model/ProductCategoryDataObjectFacetResult.java | 2 ++ .../com/relewise/client/model/ProductCategoryDataSorting.java | 2 ++ .../client/model/ProductCategoryDataStringValueFacet.java | 2 ++ .../client/model/ProductCategoryDataStringValueFacetResult.java | 2 ++ .../client/model/ProductCategoryDetailsCollectionResponse.java | 2 ++ .../com/relewise/client/model/ProductCategoryFacetQuery.java | 2 ++ .../com/relewise/client/model/ProductCategoryFacetResult.java | 2 ++ .../relewise/client/model/ProductCategoryHasAncestorFilter.java | 2 ++ .../relewise/client/model/ProductCategoryHasChildFilter.java | 2 ++ .../relewise/client/model/ProductCategoryHasParentFilter.java | 2 ++ .../java/com/relewise/client/model/ProductCategoryIdFilter.java | 2 ++ .../client/model/ProductCategoryIdFilterCategoryQuery.java | 2 ++ .../client/model/ProductCategoryIdRelevanceModifier.java | 2 ++ .../client/model/ProductCategoryIndexConfiguration.java | 2 ++ .../model/ProductCategoryInterestTriggerConfiguration.java | 2 ++ .../client/model/ProductCategoryInterestTriggerResult.java | 2 ++ .../model/ProductCategoryInterestTriggerResultCategory.java | 2 ++ ...roductCategoryInterestTriggerResultTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/ProductCategoryLevelFilter.java | 2 ++ .../relewise/client/model/ProductCategoryPopularitySorting.java | 2 ++ .../java/com/relewise/client/model/ProductCategoryQuery.java | 2 ++ .../client/model/ProductCategoryRecommendationRequest.java | 2 ++ .../model/ProductCategoryRecommendationRequestCollection.java | 2 ++ .../model/ProductCategoryRecommendationRequestSettings.java | 2 ++ .../client/model/ProductCategoryRecommendationResponse.java | 2 ++ .../model/ProductCategoryRecommendationResponseCollection.java | 2 ++ .../client/model/ProductCategoryRecommendationWeights.java | 2 ++ .../relewise/client/model/ProductCategoryRelevanceSorting.java | 2 ++ .../java/com/relewise/client/model/ProductCategoryResult.java | 2 ++ .../com/relewise/client/model/ProductCategoryResultDetails.java | 2 ++ .../ProductCategoryResultDetailsCategoryResultDetails.java | 2 ++ .../com/relewise/client/model/ProductCategorySearchRequest.java | 2 ++ .../relewise/client/model/ProductCategorySearchResponse.java | 2 ++ .../relewise/client/model/ProductCategorySearchSettings.java | 2 ++ .../client/model/ProductCategorySortBySpecification.java | 2 ++ .../java/com/relewise/client/model/ProductCategorySorting.java | 2 ++ .../relewise/client/model/ProductCategorySortingSorting.java | 2 ++ .../java/com/relewise/client/model/ProductCategoryUpdate.java | 2 ++ .../java/com/relewise/client/model/ProductCategoryView.java | 2 ++ .../com/relewise/client/model/ProductDataBooleanValueFacet.java | 2 ++ .../client/model/ProductDataBooleanValueFacetResult.java | 2 ++ .../com/relewise/client/model/ProductDataDoubleRangeFacet.java | 2 ++ .../client/model/ProductDataDoubleRangeFacetResult.java | 2 ++ .../com/relewise/client/model/ProductDataDoubleRangesFacet.java | 2 ++ .../client/model/ProductDataDoubleRangesFacetResult.java | 2 ++ .../com/relewise/client/model/ProductDataDoubleValueFacet.java | 2 ++ .../client/model/ProductDataDoubleValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/ProductDataFilter.java | 2 ++ .../com/relewise/client/model/ProductDataIntegerValueFacet.java | 2 ++ .../client/model/ProductDataIntegerValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/ProductDataObjectFacet.java | 2 ++ .../com/relewise/client/model/ProductDataObjectFacetResult.java | 2 ++ .../com/relewise/client/model/ProductDataObjectSorting.java | 2 ++ .../com/relewise/client/model/ProductDataRelevanceModifier.java | 2 ++ .../main/java/com/relewise/client/model/ProductDataSorting.java | 2 ++ .../com/relewise/client/model/ProductDataStringValueFacet.java | 2 ++ .../client/model/ProductDataStringValueFacetResult.java | 2 ++ .../relewise/client/model/ProductDetailsCollectionResponse.java | 2 ++ .../com/relewise/client/model/ProductDisplayNameFilter.java | 2 ++ .../main/java/com/relewise/client/model/ProductFacetQuery.java | 2 ++ .../main/java/com/relewise/client/model/ProductFacetResult.java | 2 ++ .../com/relewise/client/model/ProductHasVariantsFilter.java | 2 ++ .../main/java/com/relewise/client/model/ProductIdFilter.java | 2 ++ .../com/relewise/client/model/ProductIdRelevanceModifier.java | 2 ++ .../com/relewise/client/model/ProductIndexConfiguration.java | 2 ++ .../client/model/ProductInterestTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/ProductInterestTriggerResult.java | 2 ++ .../model/ProductInterestTriggerResultProductAndVariant.java | 2 ++ .../model/ProductInterestTriggerResultResultSettings.java | 2 ++ .../model/ProductInterestTriggerResultTriggerConfiguration.java | 2 ++ .../java/com/relewise/client/model/ProductListPriceFilter.java | 2 ++ .../client/model/ProductListPriceRelevanceModifier.java | 2 ++ .../com/relewise/client/model/ProductPerformanceRequest.java | 2 ++ .../client/model/ProductPerformanceRequestOrderByOptions.java | 1 + .../model/ProductPerformanceRequestVariantDataOptions.java | 1 + .../com/relewise/client/model/ProductPerformanceResponse.java | 2 ++ .../com/relewise/client/model/ProductPerformanceResult.java | 2 ++ .../client/model/ProductPerformanceResultCartMetrics.java | 2 ++ .../client/model/ProductPerformanceResultCategoryMetrics.java | 2 ++ .../model/ProductPerformanceResultClassificationMetrics.java | 2 ++ .../client/model/ProductPerformanceResultRankMetrics.java | 2 ++ .../client/model/ProductPerformanceResultSalesByCurrency.java | 2 ++ .../client/model/ProductPerformanceResultSalesMetrics.java | 2 ++ ...ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java | 2 ++ .../model/ProductPerformanceResultViewsAndSalesMetrics.java | 2 ++ .../client/model/ProductPerformanceResultViewsMetrics.java | 2 ++ .../com/relewise/client/model/ProductPopularitySorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ProductQuery.java | 2 ++ .../client/model/ProductRecentlyPurchasedByUserFilter.java | 2 ++ .../model/ProductRecentlyPurchasedByUserRelevanceModifier.java | 2 ++ .../client/model/ProductRecentlyViewedByUserFilter.java | 2 ++ .../model/ProductRecentlyViewedByUserRelevanceModifier.java | 2 ++ .../com/relewise/client/model/ProductRecommendationRequest.java | 2 ++ .../client/model/ProductRecommendationRequestCollection.java | 2 ++ .../client/model/ProductRecommendationRequestSettings.java | 2 ++ .../relewise/client/model/ProductRecommendationResponse.java | 2 ++ .../client/model/ProductRecommendationResponseCollection.java | 2 ++ .../java/com/relewise/client/model/ProductRelevanceSorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ProductResult.java | 2 ++ .../java/com/relewise/client/model/ProductResultDetails.java | 2 ++ .../java/com/relewise/client/model/ProductSalesPriceFilter.java | 2 ++ .../client/model/ProductSalesPriceRelevanceModifier.java | 2 ++ .../java/com/relewise/client/model/ProductSearchRequest.java | 2 ++ .../java/com/relewise/client/model/ProductSearchResponse.java | 2 ++ .../java/com/relewise/client/model/ProductSearchSettings.java | 2 ++ .../com/relewise/client/model/ProductSortBySpecification.java | 2 ++ src/src/main/java/com/relewise/client/model/ProductSorting.java | 2 ++ .../java/com/relewise/client/model/ProductSortingSorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ProductUpdate.java | 2 ++ .../java/com/relewise/client/model/ProductUpdateUpdateKind.java | 1 + src/src/main/java/com/relewise/client/model/ProductVariant.java | 2 ++ .../relewise/client/model/ProductVariantAttributeSorting.java | 2 ++ .../model/ProductVariantAttributeSortingSortableAttribute.java | 1 + .../client/model/ProductVariantSpecificationSorting.java | 2 ++ src/src/main/java/com/relewise/client/model/ProductView.java | 2 ++ .../client/model/ProductsViewedAfterViewingContentRequest.java | 2 ++ .../client/model/ProductsViewedAfterViewingProductRequest.java | 2 ++ .../main/java/com/relewise/client/model/PromotionPosition.java | 1 + .../java/com/relewise/client/model/PurchasedByUserInfo.java | 2 ++ .../relewise/client/model/PurchasedWithCurrentCartRequest.java | 2 ++ .../client/model/PurchasedWithMultipleProductsRequest.java | 2 ++ .../com/relewise/client/model/PurchasedWithProductRequest.java | 2 ++ .../relewise/client/model/RecentlyViewedProductsRequest.java | 2 ++ .../client/model/RecommendPopularSearchTermSettings.java | 2 ++ .../java/com/relewise/client/model/RecommendationRequest.java | 2 ++ .../java/com/relewise/client/model/RecommendationResponse.java | 2 ++ .../java/com/relewise/client/model/RecommendationSettings.java | 2 ++ .../com/relewise/client/model/RecommendationTypeCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/RedirectResult.java | 2 ++ src/src/main/java/com/relewise/client/model/RedirectRule.java | 2 ++ .../client/model/RedirectRuleSaveSearchRulesRequest.java | 2 ++ .../client/model/RedirectRuleSaveSearchRulesResponse.java | 2 ++ .../relewise/client/model/RedirectRuleSearchRulesResponse.java | 2 ++ .../java/com/relewise/client/model/RedirectRulesRequest.java | 2 ++ .../com/relewise/client/model/RedirectRulesRequestSortBy.java | 1 + .../model/RedirectRulesRequestSortBySearchRulesRequest.java | 2 ++ .../client/model/RedirectRulesRequestSortBySorting.java | 2 ++ .../java/com/relewise/client/model/RedirectRulesResponse.java | 2 ++ .../main/java/com/relewise/client/model/RelevanceModifier.java | 2 ++ .../com/relewise/client/model/RelevanceModifierCollection.java | 2 ++ .../java/com/relewise/client/model/RequestConfiguration.java | 2 ++ .../client/model/RequestConfigurationPrioritization.java | 1 + .../java/com/relewise/client/model/RequestContextFilter.java | 2 ++ .../com/relewise/client/model/SaveDecompoundRulesRequest.java | 2 ++ .../com/relewise/client/model/SaveDecompoundRulesResponse.java | 2 ++ .../client/model/SaveGlobalTriggerConfigurationRequest.java | 2 ++ .../com/relewise/client/model/SaveMerchandisingRuleRequest.java | 2 ++ .../com/relewise/client/model/SavePredictionRulesRequest.java | 2 ++ .../com/relewise/client/model/SavePredictionRulesResponse.java | 2 ++ .../com/relewise/client/model/SaveRedirectRulesRequest.java | 2 ++ .../com/relewise/client/model/SaveRedirectRulesResponse.java | 2 ++ .../java/com/relewise/client/model/SaveSearchIndexRequest.java | 2 ++ .../com/relewise/client/model/SaveStemmingRulesRequest.java | 2 ++ .../com/relewise/client/model/SaveStemmingRulesResponse.java | 2 ++ .../java/com/relewise/client/model/SaveSynonymsRequest.java | 2 ++ .../java/com/relewise/client/model/SaveSynonymsResponse.java | 2 ++ .../relewise/client/model/SaveTriggerConfigurationRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchIndex.java | 2 ++ .../relewise/client/model/SearchIndexCollectionResponse.java | 2 ++ .../main/java/com/relewise/client/model/SearchIndexRequest.java | 2 ++ .../java/com/relewise/client/model/SearchIndexResponse.java | 2 ++ .../java/com/relewise/client/model/SearchIndexSelector.java | 2 ++ .../java/com/relewise/client/model/SearchIndexesRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchRequest.java | 2 ++ .../java/com/relewise/client/model/SearchRequestCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchResponse.java | 2 ++ .../com/relewise/client/model/SearchResponseCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchRule.java | 2 ++ .../main/java/com/relewise/client/model/SearchRuleFilters.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchSettings.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchTerm.java | 2 ++ .../model/SearchTermBasedProductRecommendationRequest.java | 2 ++ .../java/com/relewise/client/model/SearchTermCondition.java | 2 ++ .../relewise/client/model/SearchTermConditionConditionKind.java | 1 + .../com/relewise/client/model/SearchTermPredictionRequest.java | 2 ++ .../com/relewise/client/model/SearchTermPredictionResponse.java | 2 ++ .../com/relewise/client/model/SearchTermPredictionResult.java | 2 ++ .../client/model/SearchTermPredictionResultPredictionType.java | 1 + .../com/relewise/client/model/SearchTermPredictionSettings.java | 2 ++ .../relewise/client/model/SearchTermRecommendationResponse.java | 2 ++ .../main/java/com/relewise/client/model/SearchTermResult.java | 2 ++ src/src/main/java/com/relewise/client/model/SearchType.java | 1 + .../java/com/relewise/client/model/SearchTypeCollection.java | 2 ++ .../relewise/client/model/SelectedBrandPropertiesSettings.java | 2 ++ .../client/model/SelectedContentCategoryPropertiesSettings.java | 2 ++ .../client/model/SelectedContentPropertiesSettings.java | 2 ++ .../client/model/SelectedProductCategoryPropertiesSettings.java | 2 ++ .../client/model/SelectedProductPropertiesSettings.java | 2 ++ .../client/model/SelectedVariantPropertiesSettings.java | 2 ++ .../java/com/relewise/client/model/SignificantDataValue.java | 2 ++ .../model/SignificantDataValueSignificantDataValueComparer.java | 1 + .../client/model/SimilarProductsEvaluationSettings.java | 2 ++ .../java/com/relewise/client/model/SimilarProductsRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/SortMode.java | 1 + src/src/main/java/com/relewise/client/model/SortOrder.java | 1 + .../java/com/relewise/client/model/SortProductsRequest.java | 2 ++ .../java/com/relewise/client/model/SortVariantsRequest.java | 2 ++ .../relewise/client/model/SpecificationsIndexConfiguration.java | 2 ++ src/src/main/java/com/relewise/client/model/Statistics.java | 2 ++ src/src/main/java/com/relewise/client/model/StemmingRule.java | 2 ++ .../client/model/StemmingRuleSaveSearchRulesRequest.java | 2 ++ .../client/model/StemmingRuleSaveSearchRulesResponse.java | 2 ++ .../relewise/client/model/StemmingRuleSearchRulesResponse.java | 2 ++ .../java/com/relewise/client/model/StemmingRulesRequest.java | 2 ++ .../com/relewise/client/model/StemmingRulesRequestSortBy.java | 1 + .../model/StemmingRulesRequestSortBySearchRulesRequest.java | 2 ++ .../client/model/StemmingRulesRequestSortBySorting.java | 2 ++ .../java/com/relewise/client/model/StemmingRulesResponse.java | 2 ++ .../java/com/relewise/client/model/StringAbandonedSearch.java | 2 ++ .../com/relewise/client/model/StringAvailableFacetValue.java | 2 ++ .../model/StringBrandNameAndIdResultValueFacetResult.java | 2 ++ .../model/StringCategoryNameAndIdResultValueFacetResult.java | 2 ++ .../com/relewise/client/model/StringContentDataValueFacet.java | 2 ++ .../client/model/StringContentDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/StringDataObjectValueFacet.java | 2 ++ .../relewise/client/model/StringDataObjectValueFacetResult.java | 2 ++ .../java/com/relewise/client/model/StringDataValueFacet.java | 2 ++ .../com/relewise/client/model/StringDataValueFacetResult.java | 2 ++ .../client/model/StringProductCategoryDataValueFacet.java | 2 ++ .../client/model/StringProductCategoryDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/StringProductDataValueFacet.java | 2 ++ .../client/model/StringProductDataValueFacetResult.java | 2 ++ .../com/relewise/client/model/StringStringValueFacetResult.java | 2 ++ .../main/java/com/relewise/client/model/StringValueFacet.java | 2 ++ .../java/com/relewise/client/model/StringValueFacetResult.java | 2 ++ .../com/relewise/client/model/SuppressionConditionKind.java | 1 + src/src/main/java/com/relewise/client/model/Synonym.java | 2 ++ src/src/main/java/com/relewise/client/model/SynonymType.java | 1 + .../main/java/com/relewise/client/model/SynonymsRequest.java | 2 ++ .../relewise/client/model/SynonymsRequestSynonymSorting.java | 1 + .../client/model/SynonymsRequestSynonymSortingSorting.java | 2 ++ .../main/java/com/relewise/client/model/SynonymsResponse.java | 2 ++ .../com/relewise/client/model/TargetConditionConfiguration.java | 2 ++ src/src/main/java/com/relewise/client/model/TimedResponse.java | 2 ++ .../client/model/TrackBrandAdministrativeActionRequest.java | 2 ++ .../java/com/relewise/client/model/TrackBrandUpdateRequest.java | 2 ++ .../java/com/relewise/client/model/TrackBrandViewRequest.java | 2 ++ .../main/java/com/relewise/client/model/TrackCartRequest.java | 2 ++ .../client/model/TrackContentAdministrativeActionRequest.java | 2 ++ .../model/TrackContentCategoryAdministrativeActionRequest.java | 2 ++ .../client/model/TrackContentCategoryUpdateRequest.java | 2 ++ .../relewise/client/model/TrackContentCategoryViewRequest.java | 2 ++ .../com/relewise/client/model/TrackContentUpdateRequest.java | 2 ++ .../java/com/relewise/client/model/TrackContentViewRequest.java | 2 ++ .../main/java/com/relewise/client/model/TrackOrderRequest.java | 2 ++ .../client/model/TrackProductAdministrativeActionRequest.java | 2 ++ .../model/TrackProductCategoryAdministrativeActionRequest.java | 2 ++ .../client/model/TrackProductCategoryUpdateRequest.java | 2 ++ .../relewise/client/model/TrackProductCategoryViewRequest.java | 2 ++ .../com/relewise/client/model/TrackProductUpdateRequest.java | 2 ++ .../java/com/relewise/client/model/TrackProductViewRequest.java | 2 ++ .../java/com/relewise/client/model/TrackSearchTermRequest.java | 2 ++ .../java/com/relewise/client/model/TrackUserUpdateRequest.java | 2 ++ src/src/main/java/com/relewise/client/model/Trackable.java | 2 ++ .../main/java/com/relewise/client/model/TrackingRequest.java | 2 ++ .../java/com/relewise/client/model/TriggerConfiguration.java | 2 ++ .../client/model/TriggerConfigurationCollectionResponse.java | 2 ++ .../com/relewise/client/model/TriggerConfigurationRequest.java | 2 ++ .../com/relewise/client/model/TriggerConfigurationResponse.java | 2 ++ .../com/relewise/client/model/TriggerConfigurationsRequest.java | 2 ++ .../java/com/relewise/client/model/TriggerResultRequest.java | 2 ++ .../java/com/relewise/client/model/TriggerResultResponse.java | 2 ++ .../main/java/com/relewise/client/model/TriggersResponse.java | 2 ++ .../java/com/relewise/client/model/TrimStringTransformer.java | 2 ++ src/src/main/java/com/relewise/client/model/User.java | 2 ++ .../relewise/client/model/UserActivityTriggerConfiguration.java | 2 ++ .../com/relewise/client/model/UserActivityTriggerResult.java | 2 ++ .../model/UserActivityTriggerResultTriggerConfiguration.java | 2 ++ src/src/main/java/com/relewise/client/model/UserCondition.java | 2 ++ .../java/com/relewise/client/model/UserConditionCollection.java | 2 ++ .../com/relewise/client/model/UserConditionConfiguration.java | 2 ++ .../relewise/client/model/UserDetailsCollectionResponse.java | 2 ++ .../client/model/UserFavoriteProductRelevanceModifier.java | 2 ++ src/src/main/java/com/relewise/client/model/UserQuery.java | 2 ++ .../main/java/com/relewise/client/model/UserQueryCriteria.java | 2 ++ .../main/java/com/relewise/client/model/UserResultDetails.java | 2 ++ src/src/main/java/com/relewise/client/model/UserUpdate.java | 2 ++ .../java/com/relewise/client/model/UserUpdateUpdateKind.java | 1 + src/src/main/java/com/relewise/client/model/ValueCondition.java | 2 ++ .../com/relewise/client/model/ValueConditionCollection.java | 2 ++ src/src/main/java/com/relewise/client/model/ValueSelector.java | 2 ++ src/src/main/java/com/relewise/client/model/ValueType.java | 2 ++ .../java/com/relewise/client/model/VariantAssortmentFilter.java | 2 ++ .../client/model/VariantAssortmentRelevanceModifier.java | 2 ++ .../main/java/com/relewise/client/model/VariantDataFilter.java | 2 ++ .../com/relewise/client/model/VariantDataRelevanceModifier.java | 2 ++ .../main/java/com/relewise/client/model/VariantIdFilter.java | 2 ++ .../com/relewise/client/model/VariantIndexConfiguration.java | 2 ++ .../java/com/relewise/client/model/VariantListPriceFilter.java | 2 ++ .../client/model/VariantListPriceRelevanceModifier.java | 2 ++ src/src/main/java/com/relewise/client/model/VariantResult.java | 2 ++ .../java/com/relewise/client/model/VariantResultDetails.java | 2 ++ .../java/com/relewise/client/model/VariantSalesPriceFilter.java | 2 ++ .../client/model/VariantSalesPriceRelevanceModifier.java | 2 ++ .../java/com/relewise/client/model/VariantSearchSettings.java | 2 ++ .../com/relewise/client/model/VariantSpecificationFacet.java | 2 ++ .../relewise/client/model/VariantSpecificationFacetResult.java | 2 ++ .../com/relewise/client/model/VariantSpecificationFilter.java | 2 ++ .../model/VariantSpecificationValueRelevanceModifier.java | 2 ++ .../model/VariantSpecificationsInCommonRelevanceModifier.java | 2 ++ .../main/java/com/relewise/client/model/ViewedByUserInfo.java | 2 ++ 707 files changed, 1356 insertions(+) diff --git a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerConfiguration.java index 15f8ffa2..df837706 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedCartTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedCartTriggerConfiguration extends AbandonedCartTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.AbandonedCartTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResult.java b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResult.java index 36c6442d..f7c11413 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedCartTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedCartTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedCartTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java index 6f9e426d..7958bcf8 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedCartTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.AbandonedCartTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java b/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java index c39c558d..ece9416d 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedContentSearch.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedContentSearch extends StringAbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedContentSearch, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java b/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java index c26b5253..3fc5c4bb 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedProductCategorySearch.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedProductCategorySearch extends StringAbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedProductCategorySearch, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java b/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java index 56613508..4289bbc6 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedProductSearch.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedProductSearch extends ProductAndVariantIdAbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedProductSearch, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedSearch.java b/src/src/main/java/com/relewise/client/model/AbandonedSearch.java index 15ef7c86..bfcce4b0 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -27,6 +28,7 @@ @JsonSubTypes.Type(value = AbandonedProductCategorySearch.class, name = "Relewise.Client.Responses.Triggers.Results.AbandonedProductCategorySearch, Relewise.Client"), @JsonSubTypes.Type(value = AbandonedContentSearch.class, name = "Relewise.Client.Responses.Triggers.Results.AbandonedContentSearch, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java index 66fad020..b675eb91 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedSearchTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedSearchTriggerConfiguration extends AbandonedSearchTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.AbandonedSearchTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResult.java b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResult.java index 6a3ff260..c41aa866 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AbandonedSearchTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AbandonedSearchTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearchTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java index bc082a06..b36d4bca 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedSearchTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.AbandonedSearchTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java b/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java index 2b64b67f..00306af4 100644 --- a/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java +++ b/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -25,6 +26,7 @@ @JsonSubTypes({ @JsonSubTypes.Type(value = ProductPerformanceRequest.class, name = "Relewise.Client.Requests.Analyzers.ProductPerformanceRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AnalyzerRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Analyzers.AnalyzerRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AndCondition.java b/src/src/main/java/com/relewise/client/model/AndCondition.java index 51f65b2a..b0e36e04 100644 --- a/src/src/main/java/com/relewise/client/model/AndCondition.java +++ b/src/src/main/java/com/relewise/client/model/AndCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AndCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AndCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.AndCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AndFilter.java b/src/src/main/java/com/relewise/client/model/AndFilter.java index 1bd0c6b4..b15d3c6f 100644 --- a/src/src/main/java/com/relewise/client/model/AndFilter.java +++ b/src/src/main/java/com/relewise/client/model/AndFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = AndFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class AndFilter extends Filter implements IProductFilter, IContentFilter, IBrandFilter, ICategoryFilter, IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.AndFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java b/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java index 7f5e1207..91116254 100644 --- a/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java +++ b/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ApplicableIndexes.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ApplicableIndexes { public String $type = "Relewise.Client.DataTypes.ApplicableIndexes, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java b/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java index e88f2b2c..0e65c7f0 100644 --- a/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java +++ b/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ApplicableLanguages.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ApplicableLanguages { public String $type = "Relewise.Client.DataTypes.ApplicableLanguages, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AssortmentFacet.java b/src/src/main/java/com/relewise/client/model/AssortmentFacet.java index 4ac9973a..6a2b8ba8 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AssortmentFacet extends IntegerValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.AssortmentFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java b/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java index 6fce2280..65c9aed1 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class AssortmentFacetResult extends IntegerIntegerValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AssortmentFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/AssortmentFilterType.java b/src/src/main/java/com/relewise/client/model/AssortmentFilterType.java index 0a1db003..ecdd3210 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFilterType.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFilterType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/AssortmentSelectionStrategy.java b/src/src/main/java/com/relewise/client/model/AssortmentSelectionStrategy.java index 97aee59e..37dbc237 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentSelectionStrategy.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentSelectionStrategy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/BatchedTrackingRequest.java b/src/src/main/java/com/relewise/client/model/BatchedTrackingRequest.java index c3d9a1b1..0d2267b0 100644 --- a/src/src/main/java/com/relewise/client/model/BatchedTrackingRequest.java +++ b/src/src/main/java/com/relewise/client/model/BatchedTrackingRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BatchedTrackingRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BatchedTrackingRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.BatchedTrackingRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java index 4845d8c6..4d727218 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BooleanAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BooleanAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java index 899607be..c4739743 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanBooleanValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java index effaeb07..e3bb5e50 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanContentDataValueFacet extends BooleanDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java index 06219438..165d0996 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanContentDataValueFacetResult extends BooleanDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java index 24303bf0..21f99780 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataObjectValueFacet extends BooleanDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java index b4ee560d..f7445551 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataObjectValueFacetResult extends BooleanDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java index fbf5729e..42e61bdc 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataValueFacet extends BooleanValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java index 32a5dafa..1ae5066e 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataValueFacetResult extends BooleanValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java index a9ddf012..cdd63fac 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductCategoryDataValueFacet extends BooleanDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java index 3794c9d0..c4397a15 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductCategoryDataValueFacetResult extends BooleanDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java index 347ae604..3ccf0ea7 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductDataValueFacet extends BooleanDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java index 874952d7..582efb48 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductDataValueFacetResult extends BooleanDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java b/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java index 36f35d1c..9c15c9d6 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanValueFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java index 6179ef2c..80220267 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanValueFacetResult extends BooleanBooleanValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BoostAndBuryRule.java b/src/src/main/java/com/relewise/client/model/BoostAndBuryRule.java index a2c35593..4118b559 100644 --- a/src/src/main/java/com/relewise/client/model/BoostAndBuryRule.java +++ b/src/src/main/java/com/relewise/client/model/BoostAndBuryRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BoostAndBuryRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BoostAndBuryRule extends MerchandisingRule { public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.BoostAndBuryRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Brand.java b/src/src/main/java/com/relewise/client/model/Brand.java index c9a0f00d..953f7792 100644 --- a/src/src/main/java/com/relewise/client/model/Brand.java +++ b/src/src/main/java/com/relewise/client/model/Brand.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Brand.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Brand { public String $type = "Relewise.Client.DataTypes.Brand, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java index 453c459f..d4e8a9ad 100644 --- a/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandAdministrativeAction.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandAdministrativeAction extends Trackable { public String $type = "Relewise.Client.DataTypes.BrandAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandAdministrativeActionUpdateKind.java b/src/src/main/java/com/relewise/client/model/BrandAdministrativeActionUpdateKind.java index f15609f9..9d274128 100644 --- a/src/src/main/java/com/relewise/client/model/BrandAdministrativeActionUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/BrandAdministrativeActionUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java index 80bcd2f8..805496cd 100644 --- a/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandAssortmentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandAssortmentFilter extends Filter implements IBrandFilter { public String $type = "Relewise.Client.Requests.Filters.BrandAssortmentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandDataFilter.java b/src/src/main/java/com/relewise/client/model/BrandDataFilter.java index 7226e843..f4954a8e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandDataFilter extends DataFilter implements IBrandFilter { public String $type = "Relewise.Client.Requests.Filters.BrandDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/BrandDetailsCollectionResponse.java index 79ce202a..0f37ab0e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/BrandDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.BrandDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandFacet.java b/src/src/main/java/com/relewise/client/model/BrandFacet.java index 2fd1943a..869d8f11 100644 --- a/src/src/main/java/com/relewise/client/model/BrandFacet.java +++ b/src/src/main/java/com/relewise/client/model/BrandFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandFacet extends StringValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.BrandFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandFacetResult.java b/src/src/main/java/com/relewise/client/model/BrandFacetResult.java index 17c89063..d4fff08e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BrandFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandFacetResult extends StringBrandNameAndIdResultValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.BrandFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandIdFilter.java b/src/src/main/java/com/relewise/client/model/BrandIdFilter.java index ff700998..d5c855e1 100644 --- a/src/src/main/java/com/relewise/client/model/BrandIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandIdFilter extends Filter implements IProductFilter, IBrandFilter { public String $type = "Relewise.Client.Requests.Filters.BrandIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandIdRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/BrandIdRelevanceModifier.java index 02b0486a..0f23a750 100644 --- a/src/src/main/java/com/relewise/client/model/BrandIdRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/BrandIdRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandIdRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandIdRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.BrandIdRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java index b6356ccc..6049587c 100644 --- a/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.BrandIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java index 3c4c3424..aeb86b5d 100644 --- a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java +++ b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandNameAndIdResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandNameAndIdResult { public String $type = "Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java index cc87954e..3b310e28 100644 --- a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandNameAndIdResultAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandNameAndIdResultAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandQuery.java b/src/src/main/java/com/relewise/client/model/BrandQuery.java index 8dc6dea2..5a30ac8e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandQuery.java +++ b/src/src/main/java/com/relewise/client/model/BrandQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.BrandQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java index cf977ac3..b2356307 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = PopularBrandsRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PopularBrandsRecommendationRequest, Relewise.Client"), @JsonSubTypes.Type(value = PersonalBrandRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalBrandRecommendationRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class BrandRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java index 22d12e1e..c1a62b22 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/BrandRecommendationResponse.java index 029a0f0c..c96752f1 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.BrandRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java index cc801735..f8ddf3fa 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandRecommendationWeights.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandRecommendationWeights { public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationWeights, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandResult.java b/src/src/main/java/com/relewise/client/model/BrandResult.java index 61da059d..362fc34e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandResult.java +++ b/src/src/main/java/com/relewise/client/model/BrandResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandResult { public String $type = "Relewise.Client.DataTypes.BrandResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandResultDetails.java b/src/src/main/java/com/relewise/client/model/BrandResultDetails.java index 3b476836..f46253ed 100644 --- a/src/src/main/java/com/relewise/client/model/BrandResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/BrandResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandResultDetails { public String $type = "Relewise.Client.DataTypes.BrandResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandUpdate.java b/src/src/main/java/com/relewise/client/model/BrandUpdate.java index 92ee6c23..05ba99b7 100644 --- a/src/src/main/java/com/relewise/client/model/BrandUpdate.java +++ b/src/src/main/java/com/relewise/client/model/BrandUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandUpdate extends Trackable { public String $type = "Relewise.Client.DataTypes.BrandUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/BrandUpdateUpdateKind.java b/src/src/main/java/com/relewise/client/model/BrandUpdateUpdateKind.java index 7c7942d5..0af9e455 100644 --- a/src/src/main/java/com/relewise/client/model/BrandUpdateUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/BrandUpdateUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/BrandView.java b/src/src/main/java/com/relewise/client/model/BrandView.java index 5530df3d..4e28262d 100644 --- a/src/src/main/java/com/relewise/client/model/BrandView.java +++ b/src/src/main/java/com/relewise/client/model/BrandView.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = BrandView.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class BrandView extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.BrandView, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Cart.java b/src/src/main/java/com/relewise/client/model/Cart.java index e0eeb7db..1e6dc382 100644 --- a/src/src/main/java/com/relewise/client/model/Cart.java +++ b/src/src/main/java/com/relewise/client/model/Cart.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Cart.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Cart extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.Cart, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CartDataFilter.java b/src/src/main/java/com/relewise/client/model/CartDataFilter.java index b2c44e4c..f74e85cc 100644 --- a/src/src/main/java/com/relewise/client/model/CartDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/CartDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CartDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CartDataFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.CartDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CartDetails.java b/src/src/main/java/com/relewise/client/model/CartDetails.java index 45287ec9..be072b76 100644 --- a/src/src/main/java/com/relewise/client/model/CartDetails.java +++ b/src/src/main/java/com/relewise/client/model/CartDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CartDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CartDetails { public String $type = "Relewise.Client.DataTypes.CartDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Category.java b/src/src/main/java/com/relewise/client/model/Category.java index ee4a69fd..afd05a99 100644 --- a/src/src/main/java/com/relewise/client/model/Category.java +++ b/src/src/main/java/com/relewise/client/model/Category.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Category { public String $type = "Relewise.Client.DataTypes.Category, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java index de70cdb8..c51e15d2 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryAdministrativeAction extends Trackable { public String $type = "Relewise.Client.DataTypes.CategoryAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeActionUpdateKind.java b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeActionUpdateKind.java index 59940f7a..bed0ab6c 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeActionUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeActionUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/CategoryFacet.java b/src/src/main/java/com/relewise/client/model/CategoryFacet.java index 63f1870d..7a762cde 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryFacet.java +++ b/src/src/main/java/com/relewise/client/model/CategoryFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryFacet extends StringValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.CategoryFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryFacetResult.java b/src/src/main/java/com/relewise/client/model/CategoryFacetResult.java index 4f9ea500..f907dd5d 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryFacetResult extends StringCategoryNameAndIdResultValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.CategoryFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java b/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java index ba2e042e..9f40ed20 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ProductCategoryIdFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryIdFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryIdFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryIdFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryIdFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.CategoryIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java index 0ea9be3f..10193b2f 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.CategoryIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java b/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java index 51300ad0..ad9568b2 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryIndexConfigurationEntry.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryIndexConfigurationEntry { public String $type = "Relewise.Client.DataTypes.Search.Configuration.CategoryIndexConfigurationEntry, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java b/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java index f628d274..b5a507f1 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ProductCategoryLevelFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryLevelFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryLevelFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryLevelFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryLevelFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.CategoryLevelFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java b/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java index 5db1a199..b5767060 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryNameAndId.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndId { public String $type = "Relewise.Client.DataTypes.CategoryNameAndId, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java index b08cdebc..a4b8d212 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryNameAndIdResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndIdResult { public String $type = "Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java index f75b54bf..2f6e962e 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryNameAndIdResultAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndIdResultAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryPath.java b/src/src/main/java/com/relewise/client/model/CategoryPath.java index d615e82e..3b2a7ede 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPath.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPath.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryPath.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPath { public String $type = "Relewise.Client.DataTypes.CategoryPath, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryPathResult.java b/src/src/main/java/com/relewise/client/model/CategoryPathResult.java index d3427348..ef73e06a 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPathResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPathResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryPathResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPathResult { public String $type = "Relewise.Client.DataTypes.CategoryPathResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java b/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java index 07000963..8008a010 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryPathResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPathResultDetails { public String $type = "Relewise.Client.DataTypes.CategoryPathResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java b/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java index 5297500d..fffdf309 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java +++ b/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CategoryProductAndVariant.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CategoryProductAndVariant { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult+Category+ProductAndVariant, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryResult.java b/src/src/main/java/com/relewise/client/model/CategoryResult.java index a0db3aec..a07ca08e 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ContentCategoryResult.class, name = "Relewise.Client.DataTypes.ContentCategoryResult, Relewise.Client"), @JsonSubTypes.Type(value = ProductCategoryResult.class, name = "Relewise.Client.DataTypes.ProductCategoryResult, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryResult { public String $type = "Relewise.Client.DataTypes.CategoryResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryScope.java b/src/src/main/java/com/relewise/client/model/CategoryScope.java index 0f28e46b..0b054e83 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryScope.java +++ b/src/src/main/java/com/relewise/client/model/CategoryScope.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/CategorySelectionStrategy.java b/src/src/main/java/com/relewise/client/model/CategorySelectionStrategy.java index 153ffc02..269f4f74 100644 --- a/src/src/main/java/com/relewise/client/model/CategorySelectionStrategy.java +++ b/src/src/main/java/com/relewise/client/model/CategorySelectionStrategy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/CategoryUpdate.java b/src/src/main/java/com/relewise/client/model/CategoryUpdate.java index 91ae02da..8a10cc7e 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryUpdate.java +++ b/src/src/main/java/com/relewise/client/model/CategoryUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ContentCategoryUpdate.class, name = "Relewise.Client.DataTypes.ContentCategoryUpdate, Relewise.Client"), @JsonSubTypes.Type(value = ProductCategoryUpdate.class, name = "Relewise.Client.DataTypes.ProductCategoryUpdate, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryUpdate extends Trackable { public String $type = "Relewise.Client.DataTypes.CategoryUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CategoryUpdateUpdateKind.java b/src/src/main/java/com/relewise/client/model/CategoryUpdateUpdateKind.java index 909343e4..5f1998bc 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryUpdateUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/CategoryUpdateUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ClearTextParser.java b/src/src/main/java/com/relewise/client/model/ClearTextParser.java index 37155020..d80b6d3c 100644 --- a/src/src/main/java/com/relewise/client/model/ClearTextParser.java +++ b/src/src/main/java/com/relewise/client/model/ClearTextParser.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ClearTextParser.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ClearTextParser extends Parser { public String $type = "Relewise.Client.DataTypes.Search.Configuration.Parsers.ClearTextParser, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CollectionFilterType.java b/src/src/main/java/com/relewise/client/model/CollectionFilterType.java index 904c74f5..745cc9b7 100644 --- a/src/src/main/java/com/relewise/client/model/CollectionFilterType.java +++ b/src/src/main/java/com/relewise/client/model/CollectionFilterType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java index 1a83ed5b..d205cc0a 100644 --- a/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ConditionConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ConditionConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.ConditionConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ConditionTarget.java b/src/src/main/java/com/relewise/client/model/ConditionTarget.java index 62ede7bb..f32f5360 100644 --- a/src/src/main/java/com/relewise/client/model/ConditionTarget.java +++ b/src/src/main/java/com/relewise/client/model/ConditionTarget.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ContainsCondition.java b/src/src/main/java/com/relewise/client/model/ContainsCondition.java index ec7a0bc0..ca5cec80 100644 --- a/src/src/main/java/com/relewise/client/model/ContainsCondition.java +++ b/src/src/main/java/com/relewise/client/model/ContainsCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContainsCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContainsCondition extends ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.ContainsCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContainsConditionCollectionArgumentEvaluationMode.java b/src/src/main/java/com/relewise/client/model/ContainsConditionCollectionArgumentEvaluationMode.java index a4906190..73fc7bc7 100644 --- a/src/src/main/java/com/relewise/client/model/ContainsConditionCollectionArgumentEvaluationMode.java +++ b/src/src/main/java/com/relewise/client/model/ContainsConditionCollectionArgumentEvaluationMode.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/Content.java b/src/src/main/java/com/relewise/client/model/Content.java index 1038cc96..7496638e 100644 --- a/src/src/main/java/com/relewise/client/model/Content.java +++ b/src/src/main/java/com/relewise/client/model/Content.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Content.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Content { public String $type = "Relewise.Client.DataTypes.Content, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java index 9c742603..e199a02c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentAdministrativeAction.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentAdministrativeAction extends Trackable { public String $type = "Relewise.Client.DataTypes.ContentAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentAdministrativeActionUpdateKind.java b/src/src/main/java/com/relewise/client/model/ContentAdministrativeActionUpdateKind.java index 9d53307b..d268e55f 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAdministrativeActionUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/ContentAdministrativeActionUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java b/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java index fbb094ab..0fefebcc 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentAssortmentFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentAssortmentFacet extends AssortmentFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentAssortmentFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentAssortmentFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentAssortmentFacetResult.java index 775519ee..e1b85c17 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAssortmentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentAssortmentFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentAssortmentFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentAssortmentFacetResult extends AssortmentFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentAssortmentFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentAttributeSorting.java b/src/src/main/java/com/relewise/client/model/ContentAttributeSorting.java index 452f6a5f..457ae514 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAttributeSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentAttributeSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentAttributeSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentAttributeSorting extends ContentSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentAttributeSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentAttributeSortingSortableAttribute.java b/src/src/main/java/com/relewise/client/model/ContentAttributeSortingSortableAttribute.java index 987dd234..2dbf6ac0 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAttributeSortingSortableAttribute.java +++ b/src/src/main/java/com/relewise/client/model/ContentAttributeSortingSortableAttribute.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategory.java b/src/src/main/java/com/relewise/client/model/ContentCategory.java index 48700f77..011100b4 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategory.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategory.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategory.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategory extends Category { public String $type = "Relewise.Client.DataTypes.ContentCategory, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java index 91029585..4c6417c4 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryAdministrativeAction.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryAdministrativeAction extends CategoryAdministrativeAction { public String $type = "Relewise.Client.DataTypes.ContentCategoryAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java index fe89aa7c..9c545df8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryAssortmentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryAssortmentFilter extends Filter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryAssortmentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java index 68b8f7ba..1efa224d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryDataFilter extends DataFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/ContentCategoryDetailsCollectionResponse.java index e54ad1c3..b2c753f1 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.ContentCategoryDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java index 5c1c4cba..d684bd5b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryHasAncestorFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryHasAncestorFilter extends HasAncestorCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryHasAncestorFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java index df550e68..9d92f902 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryHasChildFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryHasChildFilter extends HasChildCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryHasChildFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java index daac44c7..5d720e0d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryHasParentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryHasParentFilter extends HasParentCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryHasParentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java index ce19369a..006bbdd3 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryIdFilter extends CategoryIdFilter implements IContentFilter, ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java index 4d1bf033..f96ce261 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryIdFilterCategoryQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.CategoryQuery`1[[Relewise.Client.Requests.Filters.ContentCategoryIdFilter, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerConfiguration.java index 0581e953..7b1480d3 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryInterestTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryInterestTriggerConfiguration extends ContentCategoryInterestTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.ContentCategoryInterestTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResult.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResult.java index 73812f82..08963c93 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryInterestTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryInterestTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.ContentCategoryInterestTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java index a736252c..587036e5 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryInterestTriggerResultCategory.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryInterestTriggerResultCategory { public String $type = "Relewise.Client.Responses.Triggers.Results.ContentCategoryInterestTriggerResult+Category, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java index dfbd792a..eea72392 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ContentCategoryInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java index cf4c5f82..8d0ecb0a 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryLevelFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryLevelFilter extends CategoryLevelFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ContentCategoryLevelFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java b/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java index 9e9ffee8..66005191 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryQuery extends ContentCategoryIdFilterCategoryQuery { public String $type = "Relewise.Client.Requests.Queries.ContentCategoryQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java index 90be1311..bcc9e97c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = PopularContentCategoriesRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PopularContentCategoriesRecommendationRequest, Relewise.Client"), @JsonSubTypes.Type(value = PersonalContentCategoryRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalContentCategoryRecommendationRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestCollection.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestCollection.java index 48a11eb1..e50d6983 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryRecommendationRequestCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationRequestCollection extends LicensedRequest { public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationRequestCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java index 06b26195..d5765f60 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponse.java index 8d159055..1c97fa91 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.ContentCategoryRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponseCollection.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponseCollection.java index 05841480..4383f2ce 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryRecommendationResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationResponseCollection extends TimedResponse { public String $type = "Relewise.Client.Responses.ContentCategoryRecommendationResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java index 35ea3161..75f70b76 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryRecommendationWeights.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationWeights { public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationWeights, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryResult.java b/src/src/main/java/com/relewise/client/model/ContentCategoryResult.java index 106a1adf..981fcc55 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryResult extends CategoryResult { public String $type = "Relewise.Client.DataTypes.ContentCategoryResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetails.java index 6f595a1a..73b8706b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryResultDetails extends ContentCategoryResultDetailsCategoryResultDetails { public String $type = "Relewise.Client.DataTypes.ContentCategoryResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java index 9ee0bc3a..80969e0b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ContentCategoryResultDetails.class, name = "Relewise.Client.DataTypes.ContentCategoryResultDetails, Relewise.Client"), @JsonSubTypes.Type(value = ProductCategoryResultDetails.class, name = "Relewise.Client.DataTypes.ProductCategoryResultDetails, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryResultDetailsCategoryResultDetails { public String $type = "Relewise.Client.DataTypes.CategoryResultDetails`1[[Relewise.Client.DataTypes.ContentCategoryResultDetails, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java b/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java index 5eef7b23..8b31be18 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategorySearchRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategorySearchRequest extends PaginatedSearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.ContentCategorySearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategorySearchResponse.java b/src/src/main/java/com/relewise/client/model/ContentCategorySearchResponse.java index ec76337e..f676cbba 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategorySearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategorySearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategorySearchResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategorySearchResponse extends PaginatedSearchResponse { public String $type = "Relewise.Client.Responses.Search.ContentCategorySearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategorySearchSettings.java b/src/src/main/java/com/relewise/client/model/ContentCategorySearchSettings.java index 4affc473..224ceb50 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategorySearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategorySearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategorySearchSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategorySearchSettings extends SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.ContentCategorySearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryUpdate.java b/src/src/main/java/com/relewise/client/model/ContentCategoryUpdate.java index 659e4a1d..c7b7f202 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryUpdate.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryUpdate extends CategoryUpdate { public String $type = "Relewise.Client.DataTypes.ContentCategoryUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryView.java b/src/src/main/java/com/relewise/client/model/ContentCategoryView.java index d5ec26b5..a764e21c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryView.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryView.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentCategoryView.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryView extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.ContentCategoryView, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java index 15c7bbf2..9a42053a 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataBooleanValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataBooleanValueFacet extends BooleanContentDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataBooleanValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacetResult.java index 644dca24..7e222e82 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataBooleanValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataBooleanValueFacetResult extends BooleanContentDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataBooleanValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java index ce97a302..9a94051e 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleRangeFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleRangeFacet extends DoubleContentDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataDoubleRangeFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacetResult.java index d0d2e2c8..a72e049f 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleRangeFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleRangeFacetResult extends DoubleContentDataRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataDoubleRangeFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java index 1e1b1fd9..aec3a321 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleRangesFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleRangesFacet extends DoubleContentDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataDoubleRangesFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacetResult.java index 68f2826c..32b9d1bf 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleRangesFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleRangesFacetResult extends DoubleContentDataRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataDoubleRangesFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java index e923b837..50fe27b3 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleValueFacet extends DoubleContentDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataDoubleValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacetResult.java index 50962c8d..39af2f02 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataDoubleValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataDoubleValueFacetResult extends DoubleContentDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataDoubleValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataFilter.java b/src/src/main/java/com/relewise/client/model/ContentDataFilter.java index b8a4b063..458ba56b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataFilter extends DataFilter implements IContentFilter { public String $type = "Relewise.Client.Requests.Filters.ContentDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java index 57ef02d5..63c1fb7a 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataIntegerValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataIntegerValueFacet extends IntegerContentDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataIntegerValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacetResult.java index bb8e726b..4ef240fa 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataIntegerValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataIntegerValueFacetResult extends IntegerContentDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataIntegerValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java index c18aabaf..d038f69f 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataObjectFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataObjectFacet extends DataObjectFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataObjectFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataObjectFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataObjectFacetResult.java index 6affda23..baf538eb 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataObjectFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataObjectFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataObjectFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataObjectFacetResult extends DataObjectFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataObjectFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataSorting.java b/src/src/main/java/com/relewise/client/model/ContentDataSorting.java index b4655694..bf3c32fa 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataSorting extends ContentSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentDataSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java b/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java index c1834145..b725d030 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataStringValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataStringValueFacet extends StringContentDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataStringValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacetResult.java index 42e21e06..dbc21a6d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDataStringValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDataStringValueFacetResult extends StringContentDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataStringValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/ContentDetailsCollectionResponse.java index 511c62f4..ab5d4cd8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.ContentDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java b/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java index 618a3fe3..7c02e679 100644 --- a/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentFacetQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentFacetQuery { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentFacetQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentFacetResult.java index c2dece06..d4a03def 100644 --- a/src/src/main/java/com/relewise/client/model/ContentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentIdFilter.java b/src/src/main/java/com/relewise/client/model/ContentIdFilter.java index 95337c04..44a9e1a8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentIdFilter extends Filter implements IContentFilter { public String $type = "Relewise.Client.Requests.Filters.ContentIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java index d75710a2..104e1d43 100644 --- a/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.ContentIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentPopularitySorting.java b/src/src/main/java/com/relewise/client/model/ContentPopularitySorting.java index 3a8ee9de..ed8515c1 100644 --- a/src/src/main/java/com/relewise/client/model/ContentPopularitySorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentPopularitySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentPopularitySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentPopularitySorting extends ContentSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentPopularitySorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentQuery.java b/src/src/main/java/com/relewise/client/model/ContentQuery.java index 04d1ffbe..4ea2aa03 100644 --- a/src/src/main/java/com/relewise/client/model/ContentQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.ContentQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java index 2f8bed0e..31c672fd 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -30,6 +31,7 @@ @JsonSubTypes.Type(value = PersonalContentRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalContentRecommendationRequest, Relewise.Client"), @JsonSubTypes.Type(value = ContentsViewedAfterViewingMultipleContentsRequest.class, name = "Relewise.Client.Requests.Recommendations.ContentsViewedAfterViewingMultipleContentsRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestCollection.java b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestCollection.java index e6706170..07cfd3c5 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentRecommendationRequestCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentRecommendationRequestCollection extends LicensedRequest { public String $type = "Relewise.Client.Requests.Recommendations.ContentRecommendationRequestCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java index 86616f99..ccf40ec8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.ContentRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/ContentRecommendationResponse.java index f465eb94..38681b63 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.ContentRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecommendationResponseCollection.java b/src/src/main/java/com/relewise/client/model/ContentRecommendationResponseCollection.java index affd2990..4c646b32 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentRecommendationResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentRecommendationResponseCollection extends TimedResponse { public String $type = "Relewise.Client.Responses.ContentRecommendationResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentRelevanceSorting.java b/src/src/main/java/com/relewise/client/model/ContentRelevanceSorting.java index 4627305d..8127f9d8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRelevanceSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentRelevanceSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentRelevanceSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentRelevanceSorting extends ContentSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentRelevanceSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentResult.java b/src/src/main/java/com/relewise/client/model/ContentResult.java index 2d58b8e1..8c9cbdd3 100644 --- a/src/src/main/java/com/relewise/client/model/ContentResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentResult { public String $type = "Relewise.Client.DataTypes.ContentResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentResultDetails.java b/src/src/main/java/com/relewise/client/model/ContentResultDetails.java index f607d7b6..8fc30443 100644 --- a/src/src/main/java/com/relewise/client/model/ContentResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ContentResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentResultDetails { public String $type = "Relewise.Client.DataTypes.ContentResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java b/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java index 236d5e0d..019ca195 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentSearchRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentSearchRequest extends PaginatedSearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.ContentSearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSearchResponse.java b/src/src/main/java/com/relewise/client/model/ContentSearchResponse.java index eb1c12b8..daf977bb 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/ContentSearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentSearchResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentSearchResponse extends PaginatedSearchResponse { public String $type = "Relewise.Client.Responses.Search.ContentSearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java b/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java index ccd0136e..c4e74eb1 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentSearchSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentSearchSettings extends SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.ContentSearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java b/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java index 868aee44..46a32184 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentSortBySpecification.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentSortBySpecification { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentSortBySpecification, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSorting.java b/src/src/main/java/com/relewise/client/model/ContentSorting.java index fd991288..a8fadc85 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = ContentPopularitySorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentPopularitySorting, Relewise.Client"), @JsonSubTypes.Type(value = ContentRelevanceSorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentRelevanceSorting, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentSorting extends ContentSortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java b/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java index 860695b0..0416b0c0 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentSortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.Content.ContentSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentUpdate.java b/src/src/main/java/com/relewise/client/model/ContentUpdate.java index 7a0b4da6..c8fd1e41 100644 --- a/src/src/main/java/com/relewise/client/model/ContentUpdate.java +++ b/src/src/main/java/com/relewise/client/model/ContentUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentUpdate extends Trackable { public String $type = "Relewise.Client.DataTypes.ContentUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentUpdateUpdateKind.java b/src/src/main/java/com/relewise/client/model/ContentUpdateUpdateKind.java index 40edeaae..c3ef0239 100644 --- a/src/src/main/java/com/relewise/client/model/ContentUpdateUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/ContentUpdateUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ContentView.java b/src/src/main/java/com/relewise/client/model/ContentView.java index 3da58a89..eeb8fd64 100644 --- a/src/src/main/java/com/relewise/client/model/ContentView.java +++ b/src/src/main/java/com/relewise/client/model/ContentView.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentView.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentView extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.ContentView, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java index 51c622fe..aaa2e7e8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentsViewedAfterViewingContentRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentsViewedAfterViewingContentRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentsViewedAfterViewingContentRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java index 24da5e6d..53ab6e79 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentsViewedAfterViewingMultipleContentsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentsViewedAfterViewingMultipleContentsRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentsViewedAfterViewingMultipleContentsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java index 2409676d..a94f468b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentsViewedAfterViewingMultipleProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentsViewedAfterViewingMultipleProductsRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentsViewedAfterViewingMultipleProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java index 105a6a42..a14f84c8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContentsViewedAfterViewingProductRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContentsViewedAfterViewingProductRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ContentsViewedAfterViewingProductRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java index 5beff6b3..35f99197 100644 --- a/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ContextConditionConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ContextConditionConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.ContextConditionConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Currency.java b/src/src/main/java/com/relewise/client/model/Currency.java index 036af85c..fe0d8b20 100644 --- a/src/src/main/java/com/relewise/client/model/Currency.java +++ b/src/src/main/java/com/relewise/client/model/Currency.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Currency.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Currency { public String $type = "Relewise.Client.DataTypes.Currency, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java index fd9c570d..a6fedb26 100644 --- a/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = CustomProductRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class CustomProductRecommendationRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.CustomProductRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataDoubleSelector.java b/src/src/main/java/com/relewise/client/model/DataDoubleSelector.java index ca61b843..8e06f918 100644 --- a/src/src/main/java/com/relewise/client/model/DataDoubleSelector.java +++ b/src/src/main/java/com/relewise/client/model/DataDoubleSelector.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataDoubleSelector.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataDoubleSelector extends ValueSelector { public String $type = "Relewise.Client.Requests.ValueSelectors.DataDoubleSelector, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataFilter.java b/src/src/main/java/com/relewise/client/model/DataFilter.java index 52a9b56b..9c072e26 100644 --- a/src/src/main/java/com/relewise/client/model/DataFilter.java +++ b/src/src/main/java/com/relewise/client/model/DataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DataFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.DataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java index 39b226e7..b5a94b05 100644 --- a/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.DataIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java index b4119961..0b185f8f 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectBooleanValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectBooleanValueFacet extends BooleanDataObjectValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectBooleanValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacetResult.java index 0fa701ef..e1383a33 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectBooleanValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectBooleanValueFacetResult extends BooleanDataObjectValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectBooleanValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java index efc8ad2a..376407f3 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleRangeFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleRangeFacet extends DoubleDataObjectRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectDoubleRangeFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacetResult.java index 0153158b..d4e5f179 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleRangeFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleRangeFacetResult extends DoubleDataObjectRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectDoubleRangeFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java index c7a3f04d..3f65653e 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleRangesFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleRangesFacet extends DoubleDataObjectRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectDoubleRangesFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacetResult.java index cc8a081b..c21746c0 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleRangesFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleRangesFacetResult extends DoubleDataObjectRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectDoubleRangesFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java index 44f2cc94..2b5a82d5 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleValueFacet extends DoubleDataObjectValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectDoubleValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacetResult.java index 6d41a072..b558b72c 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectDoubleValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectDoubleValueFacetResult extends DoubleDataObjectValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectDoubleValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectFacet.java index 39e4fd8f..cd8428d3 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectFacetResult.java index 5a9f093b..257ae732 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectFilter.java b/src/src/main/java/com/relewise/client/model/DataObjectFilter.java index 63b14a51..8c69b229 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectFilter.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectFilter { public String $type = "Relewise.Client.Requests.Filters.DataObjects.DataObjectFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java b/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java index bf79296d..b1395caf 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectStringValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectStringValueFacet extends StringDataObjectValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectStringValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacetResult.java index bf32e120..e88424e9 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectStringValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectStringValueFacetResult extends StringDataObjectValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectStringValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java b/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java index a3e4b66b..d5c2e325 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataObjectValueSelector.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectValueSelector { public String $type = "Relewise.Client.DataTypes.Search.Sorting.DataObjectValueSelector, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataSelectionStrategy.java b/src/src/main/java/com/relewise/client/model/DataSelectionStrategy.java index 8e38de46..045a136f 100644 --- a/src/src/main/java/com/relewise/client/model/DataSelectionStrategy.java +++ b/src/src/main/java/com/relewise/client/model/DataSelectionStrategy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/DataValue.java b/src/src/main/java/com/relewise/client/model/DataValue.java index 372202c8..3596501d 100644 --- a/src/src/main/java/com/relewise/client/model/DataValue.java +++ b/src/src/main/java/com/relewise/client/model/DataValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DataValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DataValue { public String $type = "Relewise.Client.DataTypes.DataValue, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DataValueDataValueTypes.java b/src/src/main/java/com/relewise/client/model/DataValueDataValueTypes.java index 6d09e945..da1f4626 100644 --- a/src/src/main/java/com/relewise/client/model/DataValueDataValueTypes.java +++ b/src/src/main/java/com/relewise/client/model/DataValueDataValueTypes.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRule.java b/src/src/main/java/com/relewise/client/model/DecompoundRule.java index 2718c896..4d1cd943 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRule.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DecompoundRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DecompoundRule extends SearchRule { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java index 9e819813..e7f7b89f 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveDecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveStemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSaveSearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java index 9fe9e34f..434307d8 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveDecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveStemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSaveSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java index cb9df3ca..2be958e4 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.DecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.StemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequest.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequest.java index f363f6ed..ac387fbd 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DecompoundRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DecompoundRulesRequest extends DecompoundRulesRequestSortBySearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBy.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBy.java index 8e05b961..b542e4a4 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBy.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java index ca9754f9..084dbd56 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.StemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRulesRequestSortBySearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java index 722637dd..c292a649 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DecompoundRulesRequestSortBySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DecompoundRulesRequestSortBySorting { public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesResponse.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesResponse.java index 5731a4d4..bb508099 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DecompoundRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DecompoundRulesResponse extends DecompoundRuleSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.DecompoundRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteDecompoundRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeleteDecompoundRulesRequest.java index 21cc4db7..582f0a5c 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteDecompoundRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteDecompoundRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteDecompoundRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteDecompoundRulesRequest extends DeleteSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DeleteDecompoundRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteMerchandisingRuleRequest.java b/src/src/main/java/com/relewise/client/model/DeleteMerchandisingRuleRequest.java index f3408567..6a031355 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteMerchandisingRuleRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteMerchandisingRuleRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteMerchandisingRuleRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteMerchandisingRuleRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Merchandising.DeleteMerchandisingRuleRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeletePredictionRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeletePredictionRulesRequest.java index 0a5d400b..2417ff66 100644 --- a/src/src/main/java/com/relewise/client/model/DeletePredictionRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeletePredictionRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeletePredictionRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeletePredictionRulesRequest extends DeleteSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DeletePredictionRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteRedirectRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeleteRedirectRulesRequest.java index 81ed41bf..2c643eea 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteRedirectRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteRedirectRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteRedirectRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteRedirectRulesRequest extends DeleteSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DeleteRedirectRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteSearchIndexRequest.java b/src/src/main/java/com/relewise/client/model/DeleteSearchIndexRequest.java index 8707b006..b3620e40 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSearchIndexRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSearchIndexRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteSearchIndexRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteSearchIndexRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.DeleteSearchIndexRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java index be448a9e..4c63ad62 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DeleteDecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DeleteDecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = DeleteStemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DeleteStemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DeleteSearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DeleteSearchRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesResponse.java index 9a66924b..4b281e2a 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteSearchRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.DeleteSearchRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteStemmingRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeleteStemmingRulesRequest.java index 1a84cbce..a72835c2 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteStemmingRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteStemmingRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteStemmingRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteStemmingRulesRequest extends DeleteSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.DeleteStemmingRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteSynonymsRequest.java b/src/src/main/java/com/relewise/client/model/DeleteSynonymsRequest.java index f2427816..03cac7da 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSynonymsRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSynonymsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteSynonymsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteSynonymsRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.DeleteSynonymsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteSynonymsResponse.java b/src/src/main/java/com/relewise/client/model/DeleteSynonymsResponse.java index e885b0f9..2033ffe3 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSynonymsResponse.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSynonymsResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteSynonymsResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteSynonymsResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.DeleteSynonymsResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DeleteTriggerConfigurationRequest.java b/src/src/main/java/com/relewise/client/model/DeleteTriggerConfigurationRequest.java index e69f888f..c75a5969 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteTriggerConfigurationRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteTriggerConfigurationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DeleteTriggerConfigurationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DeleteTriggerConfigurationRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.DeleteTriggerConfigurationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DistinctCondition.java b/src/src/main/java/com/relewise/client/model/DistinctCondition.java index 141dbb7c..019ef7c8 100644 --- a/src/src/main/java/com/relewise/client/model/DistinctCondition.java +++ b/src/src/main/java/com/relewise/client/model/DistinctCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DistinctCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DistinctCondition extends ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.DistinctCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java index 2d2ac7eb..080b5533 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DoubleAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DoubleAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java b/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java index 6187c962..bd4af603 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java +++ b/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DoubleChainableRange.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DoubleChainableRange { public String $type = "Relewise.Client.DataTypes.ChainableRange`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java index b1c58958..2357db51 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DoubleChainableRangeAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DoubleChainableRangeAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.ChainableRange`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java index e18e3700..f95511d3 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangeFacet extends DoubleDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java index 18bc7695..18a32076 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangeFacetResult extends DoubleRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java index 651e8eee..c1ca1e7c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangesFacet extends DoubleDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java index 98ea6686..e232bfde 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangesFacetResult extends DoubleRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java index 484566c5..21a2a889 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataValueFacet extends DoubleDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java index 591321db..e5b0adfd 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataValueFacetResult extends DoubleDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java index 6f59a4eb..f07050b7 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangeFacet extends DoubleDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java index ff4da8de..3369ce90 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangeFacetResult extends DoubleRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java index b0c82b7b..d3b2d47d 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangesFacet extends DoubleDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java index 68d9000a..9b4d7781 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangesFacetResult extends DoubleRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java index 799274a6..cb86fa18 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectValueFacet extends DoubleDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java index 2f89661a..2a49cbaa 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectValueFacetResult extends DoubleDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java index c346a560..7deb0b3d 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataRangeFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java index 84f65cab..aec8fac8 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataRangesFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java index 47706fed..5d2dcef3 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataValueFacet extends DoubleValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java index 9892c1b4..a4d9cfb0 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataValueFacetResult extends DoubleValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java index c23b62ee..a58f219c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDoubleValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java index 71078aa3..dd53fb18 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangeFacet extends DoubleDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java index eec35ef4..699f8234 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangeFacetResult extends DoubleRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java index 65832407..b23c092a 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangesFacet extends DoubleDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java index 069bc194..02209334 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangesFacetResult extends DoubleRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java index cbb1b1c0..67d0946e 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataValueFacet extends DoubleDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java index addd2b54..c3617e75 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataValueFacetResult extends DoubleDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java index 7a8e1834..35a423a5 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangeFacet extends DoubleDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java index 41821ddc..498f15ae 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangeFacetResult extends DoubleRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java index c6b5bfe4..aba730bc 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangesFacet extends DoubleDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java index 5949463b..8ae929d3 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangesFacetResult extends DoubleRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java index 7b9044f2..3edd2f22 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataValueFacet extends DoubleDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java index f8970e8e..1497a580 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataValueFacetResult extends DoubleDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleRange.java b/src/src/main/java/com/relewise/client/model/DoubleRange.java index fb76ad22..d20e4001 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRange.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRange.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DoubleRange.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DoubleRange { public String $type = "Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java index ebf135dd..fd2e6700 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = DoubleRangeAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class DoubleRangeAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java index f5717f8a..41bff57b 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleRangeFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.RangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java index a988ce84..41ec18d7 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleRangesFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.RangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java b/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java index 45461311..ea343a7f 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleValueFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java index 675056e1..fbadd616 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleValueFacetResult extends DoubleDoubleValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/EntityType.java b/src/src/main/java/com/relewise/client/model/EntityType.java index 6ed89bfc..4b3c67b7 100644 --- a/src/src/main/java/com/relewise/client/model/EntityType.java +++ b/src/src/main/java/com/relewise/client/model/EntityType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/Enum.java b/src/src/main/java/com/relewise/client/model/Enum.java index c497d885..f101368d 100644 --- a/src/src/main/java/com/relewise/client/model/Enum.java +++ b/src/src/main/java/com/relewise/client/model/Enum.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -18,6 +19,7 @@ import java.util.Set; import java.util.HashSet; +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Enum extends ValueType implements IComparable, IFormattable, IConvertible { public String $type = "System.Enum, System.Private.CoreLib"; diff --git a/src/src/main/java/com/relewise/client/model/EqualsCondition.java b/src/src/main/java/com/relewise/client/model/EqualsCondition.java index f61953a0..0a1dd27f 100644 --- a/src/src/main/java/com/relewise/client/model/EqualsCondition.java +++ b/src/src/main/java/com/relewise/client/model/EqualsCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = EqualsCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class EqualsCondition extends ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.EqualsCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/EvaluationMode.java b/src/src/main/java/com/relewise/client/model/EvaluationMode.java index 9b9af2c4..c580773b 100644 --- a/src/src/main/java/com/relewise/client/model/EvaluationMode.java +++ b/src/src/main/java/com/relewise/client/model/EvaluationMode.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java b/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java index 06f9ab13..8498ba9a 100644 --- a/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java +++ b/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ExpectedSearchTermResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ExpectedSearchTermResult { public String $type = "Relewise.Client.DataTypes.ExpectedSearchTermResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Facet.java b/src/src/main/java/com/relewise/client/model/Facet.java index 50a861fc..12b2872e 100644 --- a/src/src/main/java/com/relewise/client/model/Facet.java +++ b/src/src/main/java/com/relewise/client/model/Facet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -58,6 +59,7 @@ @JsonSubTypes.Type(value = ProductCategoryDataObjectFacet.class, name = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataObjectFacet, Relewise.Client"), @JsonSubTypes.Type(value = ContentDataObjectFacet.class, name = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataObjectFacet, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.Facet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FacetResult.java b/src/src/main/java/com/relewise/client/model/FacetResult.java index 6d65f7f0..71f7afdb 100644 --- a/src/src/main/java/com/relewise/client/model/FacetResult.java +++ b/src/src/main/java/com/relewise/client/model/FacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -56,6 +57,7 @@ @JsonSubTypes.Type(value = DataObjectDoubleRangesFacetResult.class, name = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectDoubleRangesFacetResult, Relewise.Client"), @JsonSubTypes.Type(value = DataObjectFacetResult.class, name = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectFacetResult, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.FacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FacetSettings.java b/src/src/main/java/com/relewise/client/model/FacetSettings.java index 23a8ec8e..deeb450a 100644 --- a/src/src/main/java/com/relewise/client/model/FacetSettings.java +++ b/src/src/main/java/com/relewise/client/model/FacetSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FacetSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FacetSettings { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.FacetSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FacetingField.java b/src/src/main/java/com/relewise/client/model/FacetingField.java index 44395cb9..43e9f65a 100644 --- a/src/src/main/java/com/relewise/client/model/FacetingField.java +++ b/src/src/main/java/com/relewise/client/model/FacetingField.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java index e6245fce..766d7d84 100644 --- a/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FieldIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FieldIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.FieldIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Filter.java b/src/src/main/java/com/relewise/client/model/Filter.java index c5a8ac1d..ba2bb412 100644 --- a/src/src/main/java/com/relewise/client/model/Filter.java +++ b/src/src/main/java/com/relewise/client/model/Filter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -62,6 +63,7 @@ @JsonSubTypes.Type(value = ProductCategoryHasAncestorFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryHasAncestorFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryHasAncestorFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryHasAncestorFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Filter { public String $type = "Relewise.Client.Requests.Filters.Filter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FilterCollection.java b/src/src/main/java/com/relewise/client/model/FilterCollection.java index 6eeabeda..1e6a0983 100644 --- a/src/src/main/java/com/relewise/client/model/FilterCollection.java +++ b/src/src/main/java/com/relewise/client/model/FilterCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FilterCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FilterCollection { public String $type = "Relewise.Client.Requests.Filters.FilterCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FilterRule.java b/src/src/main/java/com/relewise/client/model/FilterRule.java index b4744663..6afa49c6 100644 --- a/src/src/main/java/com/relewise/client/model/FilterRule.java +++ b/src/src/main/java/com/relewise/client/model/FilterRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FilterRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FilterRule extends MerchandisingRule { public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.FilterRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FixedDoubleValueSelector.java b/src/src/main/java/com/relewise/client/model/FixedDoubleValueSelector.java index 97ea0bb5..1257c5ce 100644 --- a/src/src/main/java/com/relewise/client/model/FixedDoubleValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/FixedDoubleValueSelector.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FixedDoubleValueSelector.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FixedDoubleValueSelector extends ValueSelector { public String $type = "Relewise.Client.Requests.ValueSelectors.FixedDoubleValueSelector, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/FixedPositionRule.java b/src/src/main/java/com/relewise/client/model/FixedPositionRule.java index 04ed6a72..c88e16d4 100644 --- a/src/src/main/java/com/relewise/client/model/FixedPositionRule.java +++ b/src/src/main/java/com/relewise/client/model/FixedPositionRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = FixedPositionRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class FixedPositionRule extends MerchandisingRule { public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.FixedPositionRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java index eb801fed..47b18584 100644 --- a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = GlobalTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class GlobalTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.GlobalTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationRequest.java b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationRequest.java index c474726b..590dcb7d 100644 --- a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationRequest.java +++ b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = GlobalTriggerConfigurationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class GlobalTriggerConfigurationRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.GlobalTriggerConfigurationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationResponse.java b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationResponse.java index 7b8f26a9..7581ac99 100644 --- a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationResponse.java +++ b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfigurationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = GlobalTriggerConfigurationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class GlobalTriggerConfigurationResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Triggers.GlobalTriggerConfigurationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/GreaterThanCondition.java b/src/src/main/java/com/relewise/client/model/GreaterThanCondition.java index 70db74f8..9cff7541 100644 --- a/src/src/main/java/com/relewise/client/model/GreaterThanCondition.java +++ b/src/src/main/java/com/relewise/client/model/GreaterThanCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = GreaterThanCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class GreaterThanCondition extends ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.GreaterThanCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasActivityCondition.java b/src/src/main/java/com/relewise/client/model/HasActivityCondition.java index ed69744e..3662ba9a 100644 --- a/src/src/main/java/com/relewise/client/model/HasActivityCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasActivityCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasActivityCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasActivityCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasActivityCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java b/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java index 16fb18b7..054cc111 100644 --- a/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ProductCategoryHasAncestorFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryHasAncestorFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryHasAncestorFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryHasAncestorFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasAncestorCategoryFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.HasAncestorCategoryFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasAuthenticatedIdCondition.java b/src/src/main/java/com/relewise/client/model/HasAuthenticatedIdCondition.java index 756e3e37..f21da398 100644 --- a/src/src/main/java/com/relewise/client/model/HasAuthenticatedIdCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasAuthenticatedIdCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasAuthenticatedIdCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasAuthenticatedIdCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasAuthenticatedIdCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java b/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java index b1f053d6..a361879b 100644 --- a/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ProductCategoryHasChildFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryHasChildFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryHasChildFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryHasChildFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasChildCategoryFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.HasChildCategoryFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasClassificationCondition.java b/src/src/main/java/com/relewise/client/model/HasClassificationCondition.java index c3841f11..915ed8d4 100644 --- a/src/src/main/java/com/relewise/client/model/HasClassificationCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasClassificationCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasClassificationCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasClassificationCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasClassificationCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasEmailCondition.java b/src/src/main/java/com/relewise/client/model/HasEmailCondition.java index 455e5554..445a8146 100644 --- a/src/src/main/java/com/relewise/client/model/HasEmailCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasEmailCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasEmailCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasEmailCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasEmailCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasIdentifierCondition.java b/src/src/main/java/com/relewise/client/model/HasIdentifierCondition.java index 98ba9fe9..b448f70c 100644 --- a/src/src/main/java/com/relewise/client/model/HasIdentifierCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasIdentifierCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasIdentifierCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasIdentifierCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasIdentifierCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasLineItemsInCartCondition.java b/src/src/main/java/com/relewise/client/model/HasLineItemsInCartCondition.java index cdec3fbc..f9a25c0c 100644 --- a/src/src/main/java/com/relewise/client/model/HasLineItemsInCartCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasLineItemsInCartCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasLineItemsInCartCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasLineItemsInCartCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasLineItemsInCartCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasModifiedCartCondition.java b/src/src/main/java/com/relewise/client/model/HasModifiedCartCondition.java index b010bb02..2cb45156 100644 --- a/src/src/main/java/com/relewise/client/model/HasModifiedCartCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasModifiedCartCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasModifiedCartCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasModifiedCartCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasModifiedCartCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java b/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java index 4713878d..8c9fa70f 100644 --- a/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ProductCategoryHasParentFilter.class, name = "Relewise.Client.Requests.Filters.ProductCategoryHasParentFilter, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryHasParentFilter.class, name = "Relewise.Client.Requests.Filters.ContentCategoryHasParentFilter, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasParentCategoryFilter extends Filter { public String $type = "Relewise.Client.Requests.Filters.HasParentCategoryFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasPlacedOrderCondition.java b/src/src/main/java/com/relewise/client/model/HasPlacedOrderCondition.java index 751a6066..39a0724e 100644 --- a/src/src/main/java/com/relewise/client/model/HasPlacedOrderCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasPlacedOrderCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasPlacedOrderCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasPlacedOrderCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasPlacedOrderCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedSameTriggerCondition.java b/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedSameTriggerCondition.java index 5c33248c..79fd2eb3 100644 --- a/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedSameTriggerCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedSameTriggerCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasRecentlyReceivedSameTriggerCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasRecentlyReceivedSameTriggerCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasRecentlyReceivedSameTriggerCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedTriggerCondition.java b/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedTriggerCondition.java index a3b30efd..cf178d98 100644 --- a/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedTriggerCondition.java +++ b/src/src/main/java/com/relewise/client/model/HasRecentlyReceivedTriggerCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HasRecentlyReceivedTriggerCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HasRecentlyReceivedTriggerCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.HasRecentlyReceivedTriggerCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/HtmlParser.java b/src/src/main/java/com/relewise/client/model/HtmlParser.java index af7ca612..2ff4eddc 100644 --- a/src/src/main/java/com/relewise/client/model/HtmlParser.java +++ b/src/src/main/java/com/relewise/client/model/HtmlParser.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = HtmlParser.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class HtmlParser extends Parser { public String $type = "Relewise.Client.DataTypes.Search.Configuration.Parsers.HtmlParser, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IBrandFilter.java b/src/src/main/java/com/relewise/client/model/IBrandFilter.java index fd1871d4..b9ef0522 100644 --- a/src/src/main/java/com/relewise/client/model/IBrandFilter.java +++ b/src/src/main/java/com/relewise/client/model/IBrandFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ICategoryFilter.java b/src/src/main/java/com/relewise/client/model/ICategoryFilter.java index 943cbfeb..6db8623e 100644 --- a/src/src/main/java/com/relewise/client/model/ICategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/ICategoryFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IComparable.java b/src/src/main/java/com/relewise/client/model/IComparable.java index 636d10d8..4716d816 100644 --- a/src/src/main/java/com/relewise/client/model/IComparable.java +++ b/src/src/main/java/com/relewise/client/model/IComparable.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IContentFilter.java b/src/src/main/java/com/relewise/client/model/IContentFilter.java index 0ab5a160..b582b78e 100644 --- a/src/src/main/java/com/relewise/client/model/IContentFilter.java +++ b/src/src/main/java/com/relewise/client/model/IContentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IConvertible.java b/src/src/main/java/com/relewise/client/model/IConvertible.java index ac01e165..d66edac6 100644 --- a/src/src/main/java/com/relewise/client/model/IConvertible.java +++ b/src/src/main/java/com/relewise/client/model/IConvertible.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IFormattable.java b/src/src/main/java/com/relewise/client/model/IFormattable.java index 467335f5..784470af 100644 --- a/src/src/main/java/com/relewise/client/model/IFormattable.java +++ b/src/src/main/java/com/relewise/client/model/IFormattable.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IProductFilter.java b/src/src/main/java/com/relewise/client/model/IProductFilter.java index 1079c7d1..7926e501 100644 --- a/src/src/main/java/com/relewise/client/model/IProductFilter.java +++ b/src/src/main/java/com/relewise/client/model/IProductFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IProductRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/IProductRelevanceModifier.java index 111cc286..a7cc5d98 100644 --- a/src/src/main/java/com/relewise/client/model/IProductRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/IProductRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ITriggerResult.java b/src/src/main/java/com/relewise/client/model/ITriggerResult.java index 05c7d9f6..118866d9 100644 --- a/src/src/main/java/com/relewise/client/model/ITriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/ITriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IUserIdentifier.java b/src/src/main/java/com/relewise/client/model/IUserIdentifier.java index 688130e2..92124740 100644 --- a/src/src/main/java/com/relewise/client/model/IUserIdentifier.java +++ b/src/src/main/java/com/relewise/client/model/IUserIdentifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IVariantFilter.java b/src/src/main/java/com/relewise/client/model/IVariantFilter.java index aad0fd70..eb21e5d1 100644 --- a/src/src/main/java/com/relewise/client/model/IVariantFilter.java +++ b/src/src/main/java/com/relewise/client/model/IVariantFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IVariantRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/IVariantRelevanceModifier.java index d4eedd3b..c193c5a1 100644 --- a/src/src/main/java/com/relewise/client/model/IVariantRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/IVariantRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/IndexConfiguration.java b/src/src/main/java/com/relewise/client/model/IndexConfiguration.java index 3d0767a9..9608faa3 100644 --- a/src/src/main/java/com/relewise/client/model/IndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/IndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = IndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class IndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.IndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java index 2e8022d0..d3eb2cb5 100644 --- a/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = InputConditionConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class InputConditionConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.InputConditionConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/InputModifierRule.java b/src/src/main/java/com/relewise/client/model/InputModifierRule.java index d4f00309..0f29dbe1 100644 --- a/src/src/main/java/com/relewise/client/model/InputModifierRule.java +++ b/src/src/main/java/com/relewise/client/model/InputModifierRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = InputModifierRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class InputModifierRule extends MerchandisingRule { public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.InputModifierRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java index 2bb46333..542d54ba 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = IntegerAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class IntegerAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java index c425ef1a..b2713f46 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerContentDataValueFacet extends IntegerDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java index a2056143..d2c5de58 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerContentDataValueFacetResult extends IntegerDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java index e0ea41c1..d61eff55 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerDataValueFacet extends IntegerValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java index 82adfd87..234c3e20 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerDataValueFacetResult extends IntegerValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java index 3a008013..012fe9dd 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerIntegerValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java index fb8df110..516149cd 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerProductDataValueFacet extends IntegerDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java index 1e19e809..d8da5ec1 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerProductDataValueFacetResult extends IntegerDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerRange.java b/src/src/main/java/com/relewise/client/model/IntegerRange.java index 2ef1285a..8ab08255 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerRange.java +++ b/src/src/main/java/com/relewise/client/model/IntegerRange.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = IntegerRange.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class IntegerRange { public String $type = "Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java b/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java index 894a8557..5b9d3f27 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerValueFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java index ca5076d6..cc14c453 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerValueFacetResult extends IntegerIntegerValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/KeyMultiplier.java b/src/src/main/java/com/relewise/client/model/KeyMultiplier.java index 6c5c7d12..bec0132a 100644 --- a/src/src/main/java/com/relewise/client/model/KeyMultiplier.java +++ b/src/src/main/java/com/relewise/client/model/KeyMultiplier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = KeyMultiplier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class KeyMultiplier { public String $type = "Relewise.Client.DataTypes.KeyMultiplier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Language.java b/src/src/main/java/com/relewise/client/model/Language.java index 2f465ab6..75677de5 100644 --- a/src/src/main/java/com/relewise/client/model/Language.java +++ b/src/src/main/java/com/relewise/client/model/Language.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Language.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Language { public String $type = "Relewise.Client.DataTypes.Language, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java index e632551e..58a711a3 100644 --- a/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = LanguageIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class LanguageIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.LanguageIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java b/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java index de87e5fb..1e0bd826 100644 --- a/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java +++ b/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = LanguageIndexConfigurationEntry.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class LanguageIndexConfigurationEntry { public String $type = "Relewise.Client.DataTypes.Search.Configuration.LanguageIndexConfigurationEntry, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/LessThanCondition.java b/src/src/main/java/com/relewise/client/model/LessThanCondition.java index 91b062fb..0846d131 100644 --- a/src/src/main/java/com/relewise/client/model/LessThanCondition.java +++ b/src/src/main/java/com/relewise/client/model/LessThanCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = LessThanCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class LessThanCondition extends ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.LessThanCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/LicensedRequest.java b/src/src/main/java/com/relewise/client/model/LicensedRequest.java index 5b920b8b..ec86cf8f 100644 --- a/src/src/main/java/com/relewise/client/model/LicensedRequest.java +++ b/src/src/main/java/com/relewise/client/model/LicensedRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class LicensedRequest { public String $type = "Relewise.Client.Requests.LicensedRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/LineItem.java b/src/src/main/java/com/relewise/client/model/LineItem.java index 0248d6ae..e19f7be0 100644 --- a/src/src/main/java/com/relewise/client/model/LineItem.java +++ b/src/src/main/java/com/relewise/client/model/LineItem.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = LineItem.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class LineItem { public String $type = "Relewise.Client.DataTypes.LineItem, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRule.java b/src/src/main/java/com/relewise/client/model/MerchandisingRule.java index 8e5db378..aef3e356 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRule.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = FixedPositionRule.class, name = "Relewise.Client.DataTypes.Merchandising.Rules.FixedPositionRule, Relewise.Client"), @JsonSubTypes.Type(value = InputModifierRule.class, name = "Relewise.Client.DataTypes.Merchandising.Rules.InputModifierRule, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class MerchandisingRule { public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.MerchandisingRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRuleCollectionResponse.java b/src/src/main/java/com/relewise/client/model/MerchandisingRuleCollectionResponse.java index fc605698..fedc7bb8 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRuleCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRuleCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MerchandisingRuleCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MerchandisingRuleCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Merchandising.MerchandisingRuleCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRuleRequest.java b/src/src/main/java/com/relewise/client/model/MerchandisingRuleRequest.java index fe08d6b5..a7195b90 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRuleRequest.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRuleRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MerchandisingRuleRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MerchandisingRuleRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Merchandising.MerchandisingRuleRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRuleResponse.java b/src/src/main/java/com/relewise/client/model/MerchandisingRuleResponse.java index e9237316..e7bed98c 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRuleResponse.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRuleResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MerchandisingRuleResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MerchandisingRuleResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Merchandising.MerchandisingRuleResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRulesRequest.java b/src/src/main/java/com/relewise/client/model/MerchandisingRulesRequest.java index 78ab1ca2..23caf501 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MerchandisingRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MerchandisingRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Merchandising.MerchandisingRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MixedRecommendationResponseCollection.java b/src/src/main/java/com/relewise/client/model/MixedRecommendationResponseCollection.java index 2ef16001..f8a6f849 100644 --- a/src/src/main/java/com/relewise/client/model/MixedRecommendationResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/MixedRecommendationResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MixedRecommendationResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MixedRecommendationResponseCollection extends TimedResponse { public String $type = "Relewise.Client.Responses.MixedRecommendationResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Money.java b/src/src/main/java/com/relewise/client/model/Money.java index 1a4ebd68..779528e3 100644 --- a/src/src/main/java/com/relewise/client/model/Money.java +++ b/src/src/main/java/com/relewise/client/model/Money.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Money.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Money { public String $type = "Relewise.Client.DataTypes.Money, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MultiCurrency.java b/src/src/main/java/com/relewise/client/model/MultiCurrency.java index 2f9527bc..876cb8f6 100644 --- a/src/src/main/java/com/relewise/client/model/MultiCurrency.java +++ b/src/src/main/java/com/relewise/client/model/MultiCurrency.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MultiCurrency.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MultiCurrency { public String $type = "Relewise.Client.DataTypes.MultiCurrency, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Multilingual.java b/src/src/main/java/com/relewise/client/model/Multilingual.java index 901c4606..4bb00883 100644 --- a/src/src/main/java/com/relewise/client/model/Multilingual.java +++ b/src/src/main/java/com/relewise/client/model/Multilingual.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Multilingual.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Multilingual { public String $type = "Relewise.Client.DataTypes.Multilingual, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/MultilingualValue.java b/src/src/main/java/com/relewise/client/model/MultilingualValue.java index 1d3da1cd..0a491160 100644 --- a/src/src/main/java/com/relewise/client/model/MultilingualValue.java +++ b/src/src/main/java/com/relewise/client/model/MultilingualValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = MultilingualValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class MultilingualValue { public String $type = "Relewise.Client.DataTypes.Multilingual+Value, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java index 80eb6d97..ac45b2d7 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -31,6 +32,7 @@ @JsonSubTypes.Type(value = ObjectValueMinByCondition.class, name = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueMinByCondition, Relewise.Client"), @JsonSubTypes.Type(value = ObjectValueMaxByCondition.class, name = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueMaxByCondition, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueContainsCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueContainsCondition.java index 5bd60b6d..453fe254 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueContainsCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueContainsCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueContainsCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueContainsCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueContainsCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueContainsConditionCompareMode.java b/src/src/main/java/com/relewise/client/model/ObjectValueContainsConditionCompareMode.java index 3748cc6c..0785f3b0 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueContainsConditionCompareMode.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueContainsConditionCompareMode.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueEqualsCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueEqualsCondition.java index 504d8e2d..8a639d68 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueEqualsCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueEqualsCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueEqualsCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueEqualsCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueEqualsCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueGreaterThanCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueGreaterThanCondition.java index b63f3ed3..7bd5c764 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueGreaterThanCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueGreaterThanCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueGreaterThanCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueGreaterThanCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueGreaterThanCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueInRangeCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueInRangeCondition.java index 1cec021e..8ceac8e8 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueInRangeCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueInRangeCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueInRangeCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueInRangeCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueInRangeCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueLessThanCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueLessThanCondition.java index b6cd5990..5de5145b 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueLessThanCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueLessThanCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueLessThanCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueLessThanCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueLessThanCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueMaxByCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueMaxByCondition.java index 64a7f2a3..84516de9 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueMaxByCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueMaxByCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueMaxByCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueMaxByCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueMaxByCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueMinByCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueMinByCondition.java index 68475e54..845c197f 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueMinByCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueMinByCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ObjectValueMinByCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ObjectValueMinByCondition extends ObjectValueCondition { public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueMinByCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OrCondition.java b/src/src/main/java/com/relewise/client/model/OrCondition.java index d5df49d4..9c588adf 100644 --- a/src/src/main/java/com/relewise/client/model/OrCondition.java +++ b/src/src/main/java/com/relewise/client/model/OrCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OrCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OrCondition extends UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.OrCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OrFilter.java b/src/src/main/java/com/relewise/client/model/OrFilter.java index 610cb644..59c3bd59 100644 --- a/src/src/main/java/com/relewise/client/model/OrFilter.java +++ b/src/src/main/java/com/relewise/client/model/OrFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OrFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OrFilter extends Filter implements IProductFilter, IContentFilter, IBrandFilter, ICategoryFilter, IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.OrFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Order.java b/src/src/main/java/com/relewise/client/model/Order.java index 07797656..d14fa92c 100644 --- a/src/src/main/java/com/relewise/client/model/Order.java +++ b/src/src/main/java/com/relewise/client/model/Order.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Order.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Order extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.Order, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java index 9ce5147d..8b652bac 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenContentRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenContentRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.OverriddenContentRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java index 0c5991b4..fa6debbe 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenProductRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenProductRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.OverriddenProductRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java index ce8deb56..4d50311a 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenSelectedBrandPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedBrandPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedBrandPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java index e4e27aa5..4c56a700 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenSelectedContentPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedContentPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedContentPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java index 265eeef7..693b3c66 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenSelectedProductPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedProductPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedProductPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java index cd7a5d16..117ea0e0 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = OverriddenSelectedVariantPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedVariantPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedVariantPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java b/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java index 11e5b6f0..29f220f7 100644 --- a/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PaginatedSearchRequest extends SearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.PaginatedSearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java b/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java index fdcf1cf4..4ecf210a 100644 --- a/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PaginatedSearchResponse extends SearchResponse { public String $type = "Relewise.Client.Responses.Search.PaginatedSearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Parser.java b/src/src/main/java/com/relewise/client/model/Parser.java index dc8d776d..afdfd514 100644 --- a/src/src/main/java/com/relewise/client/model/Parser.java +++ b/src/src/main/java/com/relewise/client/model/Parser.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ClearTextParser.class, name = "Relewise.Client.DataTypes.Search.Configuration.Parsers.ClearTextParser, Relewise.Client"), @JsonSubTypes.Type(value = HtmlParser.class, name = "Relewise.Client.DataTypes.Search.Configuration.Parsers.HtmlParser, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Parser { public String $type = "Relewise.Client.DataTypes.Search.Configuration.Parsers.Parser, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java index 29859af6..5c4e8856 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PersonalBrandRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PersonalBrandRecommendationRequest extends BrandRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PersonalBrandRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java index 8506ad64..a7ccc0af 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PersonalContentCategoryRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PersonalContentCategoryRecommendationRequest extends ContentCategoryRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PersonalContentCategoryRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java index 00e5423f..0725bb29 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PersonalContentRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PersonalContentRecommendationRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PersonalContentRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java index 1e1d4413..868c4551 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PersonalProductCategoryRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PersonalProductCategoryRecommendationRequest extends ProductCategoryRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PersonalProductCategoryRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java index 147d2300..d4a4abff 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PersonalProductRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PersonalProductRecommendationRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PersonalProductRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java index bb84563e..f0ec008a 100644 --- a/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularBrandsRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularBrandsRecommendationRequest extends BrandRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularBrandsRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java index 4da02228..9e5ee3f7 100644 --- a/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularContentCategoriesRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularContentCategoriesRecommendationRequest extends ContentCategoryRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularContentCategoriesRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java b/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java index 1b4c2192..c287e792 100644 --- a/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularContentsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularContentsRequest extends ContentRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularContentsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java index ed090ed6..d3dfb9c5 100644 --- a/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularProductCategoriesRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularProductCategoriesRecommendationRequest extends ProductCategoryRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularProductCategoriesRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java b/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java index f9224e0a..548930cf 100644 --- a/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularProductsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java index ce7cfc39..3eace701 100644 --- a/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PopularSearchTermsRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PopularSearchTermsRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PopularSearchTermsRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PopularityTypes.java b/src/src/main/java/com/relewise/client/model/PopularityTypes.java index 297fdfcd..4a7afca0 100644 --- a/src/src/main/java/com/relewise/client/model/PopularityTypes.java +++ b/src/src/main/java/com/relewise/client/model/PopularityTypes.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRule.java b/src/src/main/java/com/relewise/client/model/PredictionRule.java index d8058e1f..b514ac48 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRule.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRule extends SearchRule { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java b/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java index 042012a4..85f7abe8 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRulePromotion.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulePromotion { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule+Promotion, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java index f97587f1..ae18dadb 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveDecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveStemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSaveSearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java index fd17e93d..e82be7a2 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveDecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveStemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSaveSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java index c2951d9c..600d9b64 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.DecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.StemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java index 94247d10..1001f9f1 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRuleSuppression.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRuleSuppression { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule+Suppression, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequest.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequest.java index d2780392..c01ce2fa 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulesRequest extends PredictionRulesRequestSortBySearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.PredictionRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBy.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBy.java index d61619ce..25d767e4 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBy.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java index a40b39c0..dd0a44c2 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.StemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRulesRequestSortBySearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.PredictionRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java index 1a7b46a8..82d66fce 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRulesRequestSortBySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulesRequestSortBySorting { public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.PredictionRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesResponse.java b/src/src/main/java/com/relewise/client/model/PredictionRulesResponse.java index fd9962df..857d4c69 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PredictionRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulesResponse extends PredictionRuleSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.PredictionRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PredictionSourceType.java b/src/src/main/java/com/relewise/client/model/PredictionSourceType.java index 31bcd82f..712b19fc 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionSourceType.java +++ b/src/src/main/java/com/relewise/client/model/PredictionSourceType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java b/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java index 34698a17..bf649007 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PriceRangeFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PriceRangeFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.PriceRangeFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PriceRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/PriceRangeFacetResult.java index b0d06603..7eebd544 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PriceRangeFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PriceRangeFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.PriceRangeFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java b/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java index e44aa0e7..eec2200b 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PriceRangesFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PriceRangesFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.PriceRangesFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PriceRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/PriceRangesFacetResult.java index 42b08f6c..73bd7e62 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PriceRangesFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PriceRangesFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.PriceRangesFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PriceSelectionStrategy.java b/src/src/main/java/com/relewise/client/model/PriceSelectionStrategy.java index 15ddb7d8..e9258cab 100644 --- a/src/src/main/java/com/relewise/client/model/PriceSelectionStrategy.java +++ b/src/src/main/java/com/relewise/client/model/PriceSelectionStrategy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/Product.java b/src/src/main/java/com/relewise/client/model/Product.java index fd81a913..a5cd48d4 100644 --- a/src/src/main/java/com/relewise/client/model/Product.java +++ b/src/src/main/java/com/relewise/client/model/Product.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Product.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Product { public String $type = "Relewise.Client.DataTypes.Product, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java index b32c37d8..5dbbd856 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAdministrativeAction.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAdministrativeAction extends Trackable { public String $type = "Relewise.Client.DataTypes.ProductAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAdministrativeActionUpdateKind.java b/src/src/main/java/com/relewise/client/model/ProductAdministrativeActionUpdateKind.java index c4d0f1cf..3b5c7a8e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAdministrativeActionUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/ProductAdministrativeActionUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java b/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java index a2ec74c0..f2bd637c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAndVariantId.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAndVariantId { public String $type = "Relewise.Client.DataTypes.ProductAndVariantId, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java index bc928056..d5c5779c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductAndVariantIdAbandonedSearch extends AbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch`1[[Relewise.Client.DataTypes.ProductAndVariantId, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java index ccffc4a4..79bf544b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAndVariantIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAndVariantIdFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductAndVariantIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java b/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java index 47b96c3b..beb2c316 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAssortmentFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAssortmentFacet extends AssortmentFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductAssortmentFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAssortmentFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductAssortmentFacetResult.java index 95945063..9c985610 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAssortmentFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAssortmentFacetResult extends AssortmentFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductAssortmentFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java index e022cf0d..500f3bb7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAssortmentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAssortmentFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductAssortmentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAssortmentRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductAssortmentRelevanceModifier.java index b2e221ff..11053027 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAssortmentRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAssortmentRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductAssortmentRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAttributeSorting.java b/src/src/main/java/com/relewise/client/model/ProductAttributeSorting.java index fc9d9a69..60e9658f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAttributeSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductAttributeSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductAttributeSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductAttributeSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductAttributeSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductAttributeSortingSortableAttribute.java b/src/src/main/java/com/relewise/client/model/ProductAttributeSortingSortableAttribute.java index 01c74dcb..600732a9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAttributeSortingSortableAttribute.java +++ b/src/src/main/java/com/relewise/client/model/ProductAttributeSortingSortableAttribute.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategory.java b/src/src/main/java/com/relewise/client/model/ProductCategory.java index 7c827f43..0376c170 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategory.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategory.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategory.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategory extends Category { public String $type = "Relewise.Client.DataTypes.ProductCategory, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java index 1ffd24bd..9e9d0ce3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryAdministrativeAction.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryAdministrativeAction extends CategoryAdministrativeAction { public String $type = "Relewise.Client.DataTypes.ProductCategoryAdministrativeAction, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java index 9b3f60e1..296dfac9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryAssortmentFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryAssortmentFacet extends AssortmentFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryAssortmentFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacetResult.java index 7ce4fe80..9b07b5ff 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryAssortmentFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryAssortmentFacetResult extends AssortmentFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryAssortmentFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java index bcaf7256..ae91783d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryAssortmentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryAssortmentFilter extends Filter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryAssortmentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSorting.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSorting.java index d08b247b..598c47cf 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryAttributeSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryAttributeSorting extends ProductCategorySorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryAttributeSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSortingSortableAttribute.java b/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSortingSortableAttribute.java index 58c5915b..613c9253 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSortingSortableAttribute.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAttributeSortingSortableAttribute.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java index c87289f3..0b24b3a6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataBooleanValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataBooleanValueFacet extends BooleanProductCategoryDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataBooleanValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacetResult.java index 7aaa1785..23fd0e02 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataBooleanValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataBooleanValueFacetResult extends BooleanProductCategoryDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataBooleanValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java index 96d9c509..752e70c2 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleRangeFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleRangeFacet extends DoubleProductCategoryDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataDoubleRangeFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacetResult.java index e45c7e1b..230cfcdd 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleRangeFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleRangeFacetResult extends DoubleProductCategoryDataRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataDoubleRangeFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java index 7d0213b0..8bc2b9c7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleRangesFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleRangesFacet extends DoubleProductCategoryDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataDoubleRangesFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacetResult.java index 88dfbeda..e7a54e9b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleRangesFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleRangesFacetResult extends DoubleProductCategoryDataRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataDoubleRangesFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java index cf5210d9..3bf8829a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleValueFacet extends DoubleProductCategoryDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataDoubleValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacetResult.java index 09b1d480..0c47d4d1 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataDoubleValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataDoubleValueFacetResult extends DoubleProductCategoryDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataDoubleValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java index 139c9e28..80f4acd5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataFilter extends DataFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java index 14cfb682..f6b6f167 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataObjectFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataObjectFacet extends DataObjectFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataObjectFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacetResult.java index 44c9247a..fc0be949 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataObjectFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataObjectFacetResult extends DataObjectFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataObjectFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataSorting.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataSorting.java index 593e1422..fff5726b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataSorting extends ProductCategorySorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryDataSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java index dcd95f7e..799b390e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataStringValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataStringValueFacet extends StringProductCategoryDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataStringValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacetResult.java index 6f82baae..9e6c5328 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDataStringValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDataStringValueFacetResult extends StringProductCategoryDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataStringValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDetailsCollectionResponse.java index 932a5d4c..4a2abae9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.ProductCategoryDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java index 887d1835..84e6ebb7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryFacetQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryFacetQuery { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryFacetQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java index b0a62c67..7e346d24 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java index c9513ca3..4e62d7a9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryHasAncestorFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryHasAncestorFilter extends HasAncestorCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryHasAncestorFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java index d17d0596..4f86ae69 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryHasChildFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryHasChildFilter extends HasChildCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryHasChildFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java index 2b417a03..e0b9907e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryHasParentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryHasParentFilter extends HasParentCategoryFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryHasParentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java index 6362517b..d47fe920 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryIdFilter extends CategoryIdFilter implements IProductFilter, ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java index 026b3a7c..0d324f2f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryIdFilterCategoryQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.CategoryQuery`1[[Relewise.Client.Requests.Filters.ProductCategoryIdFilter, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryIdRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductCategoryIdRelevanceModifier.java index 2e6fc8cb..ed17d54a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryIdRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryIdRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductCategoryIdRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductCategoryIndexConfiguration.java index 968cb007..eee9feda 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryIndexConfiguration extends CategoryIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.ProductCategoryIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerConfiguration.java index 18c5cd9d..5c1d3917 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryInterestTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryInterestTriggerConfiguration extends ProductCategoryInterestTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.ProductCategoryInterestTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResult.java index 09fa231d..fd860aca 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryInterestTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryInterestTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java index 17653ccc..7ddacdfc 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryInterestTriggerResultCategory.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryInterestTriggerResultCategory { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult+Category, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java index 8b982448..c345c3ca 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java index 00e35928..d80fd0d3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryLevelFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryLevelFilter extends CategoryLevelFilter implements ICategoryFilter { public String $type = "Relewise.Client.Requests.Filters.ProductCategoryLevelFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryPopularitySorting.java b/src/src/main/java/com/relewise/client/model/ProductCategoryPopularitySorting.java index fd328c6e..54915c9e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryPopularitySorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryPopularitySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryPopularitySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryPopularitySorting extends ProductCategorySorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryPopularitySorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java b/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java index 0be235f0..e9cfeaa6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryQuery extends ProductCategoryIdFilterCategoryQuery { public String $type = "Relewise.Client.Requests.Queries.ProductCategoryQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java index a2ecf8a1..5d131239 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = PopularProductCategoriesRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PopularProductCategoriesRecommendationRequest, Relewise.Client"), @JsonSubTypes.Type(value = PersonalProductCategoryRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalProductCategoryRecommendationRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestCollection.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestCollection.java index 79b804c0..6054b089 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRecommendationRequestCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationRequestCollection extends LicensedRequest { public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationRequestCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java index f5f5fb90..fe688f7e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponse.java index 86d50709..84c11b49 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.ProductCategoryRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponseCollection.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponseCollection.java index 6e5c4450..500cafbd 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRecommendationResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationResponseCollection extends TimedResponse { public String $type = "Relewise.Client.Responses.ProductCategoryRecommendationResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java index ff4539cb..97c6d905 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRecommendationWeights.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationWeights { public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationWeights, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRelevanceSorting.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRelevanceSorting.java index 0e13b447..860c1629 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRelevanceSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRelevanceSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryRelevanceSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRelevanceSorting extends ProductCategorySorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryRelevanceSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryResult.java index 5edf64c6..470d429a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryResult extends CategoryResult { public String $type = "Relewise.Client.DataTypes.ProductCategoryResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetails.java index 8a2092ec..0721f61a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryResultDetails extends ProductCategoryResultDetailsCategoryResultDetails { public String $type = "Relewise.Client.DataTypes.ProductCategoryResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java index 3cdad9be..7b6c08a5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = ContentCategoryResultDetails.class, name = "Relewise.Client.DataTypes.ContentCategoryResultDetails, Relewise.Client"), @JsonSubTypes.Type(value = ProductCategoryResultDetails.class, name = "Relewise.Client.DataTypes.ProductCategoryResultDetails, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryResultDetailsCategoryResultDetails { public String $type = "Relewise.Client.DataTypes.CategoryResultDetails`1[[Relewise.Client.DataTypes.ProductCategoryResultDetails, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java b/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java index ea80e4d2..4b02690d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategorySearchRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategorySearchRequest extends PaginatedSearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.ProductCategorySearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySearchResponse.java b/src/src/main/java/com/relewise/client/model/ProductCategorySearchResponse.java index 4919f058..2c76bf00 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategorySearchResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategorySearchResponse extends PaginatedSearchResponse { public String $type = "Relewise.Client.Responses.Search.ProductCategorySearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java b/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java index b460f24e..eec23e7e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategorySearchSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategorySearchSettings extends SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.ProductCategorySearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java b/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java index f0289238..65edbaf2 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategorySortBySpecification.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategorySortBySpecification { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySortBySpecification, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java b/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java index 79e9dea0..c93e9802 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = ProductCategoryPopularitySorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryPopularitySorting, Relewise.Client"), @JsonSubTypes.Type(value = ProductCategoryRelevanceSorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategoryRelevanceSorting, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategorySorting extends ProductCategorySortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java b/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java index 3a93c656..2223bf23 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategorySortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryUpdate.java b/src/src/main/java/com/relewise/client/model/ProductCategoryUpdate.java index 4649fd27..674bcceb 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryUpdate.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryUpdate extends CategoryUpdate { public String $type = "Relewise.Client.DataTypes.ProductCategoryUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryView.java b/src/src/main/java/com/relewise/client/model/ProductCategoryView.java index 941f8e2f..68aa7a00 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryView.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryView.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductCategoryView.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryView extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.ProductCategoryView, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java index 75afd20b..9b22911e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataBooleanValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataBooleanValueFacet extends BooleanProductDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataBooleanValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacetResult.java index 1fb3c46e..a11e27e2 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataBooleanValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataBooleanValueFacetResult extends BooleanProductDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataBooleanValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java index 9625d515..129a5f7c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleRangeFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleRangeFacet extends DoubleProductDataRangeFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataDoubleRangeFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacetResult.java index 11a5d123..57d91d33 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleRangeFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleRangeFacetResult extends DoubleProductDataRangeFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataDoubleRangeFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java index 0747e2ba..4dac1a00 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleRangesFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleRangesFacet extends DoubleProductDataRangesFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataDoubleRangesFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacetResult.java index 76fe2e18..45976ee9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleRangesFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleRangesFacetResult extends DoubleProductDataRangesFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataDoubleRangesFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java index 26163166..a6cfffbb 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleValueFacet extends DoubleProductDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataDoubleValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacetResult.java index 3a096912..4797e350 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataDoubleValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataDoubleValueFacetResult extends DoubleProductDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataDoubleValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataFilter.java b/src/src/main/java/com/relewise/client/model/ProductDataFilter.java index fa7fe778..81d6c66c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataFilter extends DataFilter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java index 0990628e..5556508d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataIntegerValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataIntegerValueFacet extends IntegerProductDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataIntegerValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacetResult.java index f0efcf54..3544578e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataIntegerValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataIntegerValueFacetResult extends IntegerProductDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataIntegerValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java index eaa55b25..f3da94d3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataObjectFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataObjectFacet extends DataObjectFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataObjectFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataObjectFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataObjectFacetResult.java index 80d7c8be..129a0863 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataObjectFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataObjectFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataObjectFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataObjectFacetResult extends DataObjectFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataObjectFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataObjectSorting.java b/src/src/main/java/com/relewise/client/model/ProductDataObjectSorting.java index 5efe278d..2ee2a098 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataObjectSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataObjectSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataObjectSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataObjectSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductDataObjectSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductDataRelevanceModifier.java index 5b0fd196..6f20df65 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductDataRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataSorting.java b/src/src/main/java/com/relewise/client/model/ProductDataSorting.java index d080c26c..7a197d25 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductDataSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java b/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java index b8f65630..f4e728c7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataStringValueFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataStringValueFacet extends StringProductDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataStringValueFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacetResult.java index f9f063fc..1cbd3e83 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDataStringValueFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDataStringValueFacetResult extends StringProductDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataStringValueFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/ProductDetailsCollectionResponse.java index 9cde5197..065e919e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.ProductDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java b/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java index f5a8b92d..2417e972 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductDisplayNameFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductDisplayNameFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductDisplayNameFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java b/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java index d66d9917..82b1788e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductFacetQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductFacetQuery { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductFacetQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductFacetResult.java index 004b6770..c4f3f06c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java b/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java index 82731cda..916de1e7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductHasVariantsFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductHasVariantsFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductHasVariantsFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductIdFilter.java b/src/src/main/java/com/relewise/client/model/ProductIdFilter.java index fb6bb749..3a576574 100644 --- a/src/src/main/java/com/relewise/client/model/ProductIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductIdFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductIdRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductIdRelevanceModifier.java index c727cb53..0e1453b6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductIdRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductIdRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductIdRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductIdRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductIdRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java index 9bb6558b..12b91910 100644 --- a/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.ProductIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerConfiguration.java index 2d6c3275..c6983258 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductInterestTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerConfiguration extends ProductInterestTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.ProductInterestTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResult.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResult.java index c436be59..aa438ab5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductInterestTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java index a3cffb2f..a83b2f09 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductInterestTriggerResultProductAndVariant.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerResultProductAndVariant { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult+ProductAndVariant, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java index ac3ea669..4e6c770b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductInterestTriggerResultResultSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerResultResultSettings { public String $type = "Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult+ResultSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java index 15130214..3ae0f8a6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java b/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java index fca53939..4ea43a08 100644 --- a/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductListPriceFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductListPriceFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductListPriceFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java index 7a5c04bc..ddcbb9ec 100644 --- a/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductListPriceRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductListPriceRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductListPriceRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java index aa60aecc..0e05598f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceRequest extends AnalyzerRequest { public String $type = "Relewise.Client.Requests.Analyzers.ProductPerformanceRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestOrderByOptions.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestOrderByOptions.java index e23bc8c8..ffa9eb26 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestOrderByOptions.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestOrderByOptions.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestVariantDataOptions.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestVariantDataOptions.java index d3b93e2d..1f8b053a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestVariantDataOptions.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequestVariantDataOptions.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResponse.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResponse.java index 8cdbbd76..1943c4ee 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Analyzers.ProductPerformanceResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java index dfb65095..00fa91c0 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResult { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java index ef698459..0fe83834 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultCartMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultCartMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+CartMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java index 3c9c3f87..6daec7b1 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultCategoryMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultCategoryMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+CategoryMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java index 2f480488..d7276775 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultClassificationMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultClassificationMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ClassificationMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java index 51014c04..b17a4e6e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultRankMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultRankMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+RankMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java index b7054efb..691680c6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultSalesByCurrency.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesByCurrency { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesByCurrency, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java index c6b7b7d9..0c69407d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultSalesMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java index 1666a176..7a86c685 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultSalesWithKnownCartOpenerMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesWithKnownCartOpenerMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesWithKnownCartOpenerMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java index 236f701b..526230b8 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultViewsAndSalesMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultViewsAndSalesMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ViewsAndSalesMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java index d9193ffe..cc07d721 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPerformanceResultViewsMetrics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultViewsMetrics { public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ViewsMetrics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductPopularitySorting.java b/src/src/main/java/com/relewise/client/model/ProductPopularitySorting.java index 4a46333e..f1b19c8f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPopularitySorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductPopularitySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductPopularitySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductPopularitySorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductPopularitySorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductQuery.java b/src/src/main/java/com/relewise/client/model/ProductQuery.java index 427dcf6a..bc96a2c6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.ProductQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserFilter.java b/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserFilter.java index c61d45af..0b3b8adb 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecentlyPurchasedByUserFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecentlyPurchasedByUserFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductRecentlyPurchasedByUserFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserRelevanceModifier.java index 7e316c53..b24b4767 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecentlyPurchasedByUserRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecentlyPurchasedByUserRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecentlyPurchasedByUserRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductRecentlyPurchasedByUserRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserFilter.java b/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserFilter.java index 7a5fac60..5c8b2c25 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecentlyViewedByUserFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecentlyViewedByUserFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductRecentlyViewedByUserFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserRelevanceModifier.java index c82f626a..fa1979e5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecentlyViewedByUserRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecentlyViewedByUserRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecentlyViewedByUserRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductRecentlyViewedByUserRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java index 264ad69b..c564fbad 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -37,6 +38,7 @@ @JsonSubTypes.Type(value = ProductsViewedAfterViewingContentRequest.class, name = "Relewise.Client.Requests.Recommendations.ProductsViewedAfterViewingContentRequest, Relewise.Client"), @JsonSubTypes.Type(value = SearchTermBasedProductRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.SearchTermBasedProductRecommendationRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductRecommendationRequest extends RecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ProductRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestCollection.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestCollection.java index a6a75bbe..9965fc33 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecommendationRequestCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecommendationRequestCollection extends LicensedRequest { public String $type = "Relewise.Client.Requests.Recommendations.ProductRecommendationRequestCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java index a4c21233..92252adf 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecommendationRequestSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecommendationRequestSettings { public String $type = "Relewise.Client.Requests.Recommendations.ProductRecommendationRequestSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationResponse.java index 35b94ceb..05f78bdf 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.ProductRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationResponseCollection.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationResponseCollection.java index 96280d5b..c60c94aa 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRecommendationResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecommendationResponseCollection extends TimedResponse { public String $type = "Relewise.Client.Responses.ProductRecommendationResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductRelevanceSorting.java b/src/src/main/java/com/relewise/client/model/ProductRelevanceSorting.java index 3a9b888d..6203ec02 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRelevanceSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductRelevanceSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductRelevanceSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductRelevanceSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductRelevanceSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductResult.java b/src/src/main/java/com/relewise/client/model/ProductResult.java index fe0fee7f..31052ba4 100644 --- a/src/src/main/java/com/relewise/client/model/ProductResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductResult { public String $type = "Relewise.Client.DataTypes.ProductResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductResultDetails.java b/src/src/main/java/com/relewise/client/model/ProductResultDetails.java index c6692f4d..a544b89f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ProductResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductResultDetails { public String $type = "Relewise.Client.DataTypes.ProductResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSalesPriceFilter.java b/src/src/main/java/com/relewise/client/model/ProductSalesPriceFilter.java index 16dd1c8a..647bb255 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSalesPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductSalesPriceFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSalesPriceFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSalesPriceFilter extends Filter implements IProductFilter { public String $type = "Relewise.Client.Requests.Filters.ProductSalesPriceFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSalesPriceRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/ProductSalesPriceRelevanceModifier.java index c1a2c471..d8605ddf 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSalesPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductSalesPriceRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSalesPriceRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSalesPriceRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ProductSalesPriceRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSearchRequest.java b/src/src/main/java/com/relewise/client/model/ProductSearchRequest.java index 9e8005ea..60c91c6f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductSearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSearchRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSearchRequest extends PaginatedSearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.ProductSearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSearchResponse.java b/src/src/main/java/com/relewise/client/model/ProductSearchResponse.java index 3c7ece73..e8bf867b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/ProductSearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSearchResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSearchResponse extends PaginatedSearchResponse { public String $type = "Relewise.Client.Responses.Search.ProductSearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSearchSettings.java b/src/src/main/java/com/relewise/client/model/ProductSearchSettings.java index 3f1605cf..7b7f33b0 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductSearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSearchSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSearchSettings extends SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.ProductSearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java b/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java index c804a620..c92f6ffe 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductSortBySpecification.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductSortBySpecification { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductSortBySpecification, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSorting.java b/src/src/main/java/com/relewise/client/model/ProductSorting.java index bd069bd8..eb46b111 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -31,6 +32,7 @@ @JsonSubTypes.Type(value = ProductVariantAttributeSorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductVariantAttributeSorting, Relewise.Client"), @JsonSubTypes.Type(value = ProductDataObjectSorting.class, name = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductDataObjectSorting, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductSorting extends ProductSortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java b/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java index 4c816cbe..a5f56426 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductSortingSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.Product.ProductSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductUpdate.java b/src/src/main/java/com/relewise/client/model/ProductUpdate.java index 7facdc9a..d46eff66 100644 --- a/src/src/main/java/com/relewise/client/model/ProductUpdate.java +++ b/src/src/main/java/com/relewise/client/model/ProductUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductUpdate extends Trackable { public String $type = "Relewise.Client.DataTypes.ProductUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductUpdateUpdateKind.java b/src/src/main/java/com/relewise/client/model/ProductUpdateUpdateKind.java index d2dfbe31..19b9ef35 100644 --- a/src/src/main/java/com/relewise/client/model/ProductUpdateUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/ProductUpdateUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductVariant.java b/src/src/main/java/com/relewise/client/model/ProductVariant.java index fda9f9cc..5b705ed4 100644 --- a/src/src/main/java/com/relewise/client/model/ProductVariant.java +++ b/src/src/main/java/com/relewise/client/model/ProductVariant.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductVariant.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductVariant { public String $type = "Relewise.Client.DataTypes.ProductVariant, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSorting.java b/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSorting.java index 5dd8e095..c88cf70c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductVariantAttributeSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductVariantAttributeSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductVariantAttributeSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSortingSortableAttribute.java b/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSortingSortableAttribute.java index aa0e7454..559db787 100644 --- a/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSortingSortableAttribute.java +++ b/src/src/main/java/com/relewise/client/model/ProductVariantAttributeSortingSortableAttribute.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ProductVariantSpecificationSorting.java b/src/src/main/java/com/relewise/client/model/ProductVariantSpecificationSorting.java index 280cf572..b7473d87 100644 --- a/src/src/main/java/com/relewise/client/model/ProductVariantSpecificationSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductVariantSpecificationSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductVariantSpecificationSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductVariantSpecificationSorting extends ProductSorting { public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductVariantSpecificationSorting, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductView.java b/src/src/main/java/com/relewise/client/model/ProductView.java index b6c00f09..99caeffe 100644 --- a/src/src/main/java/com/relewise/client/model/ProductView.java +++ b/src/src/main/java/com/relewise/client/model/ProductView.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductView.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductView extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.ProductView, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java index 3de4378e..f8934577 100644 --- a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductsViewedAfterViewingContentRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductsViewedAfterViewingContentRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ProductsViewedAfterViewingContentRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java index a1e952e6..49ff1e4a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ProductsViewedAfterViewingProductRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ProductsViewedAfterViewingProductRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.ProductsViewedAfterViewingProductRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PromotionPosition.java b/src/src/main/java/com/relewise/client/model/PromotionPosition.java index e98cc2c3..1afbe8db 100644 --- a/src/src/main/java/com/relewise/client/model/PromotionPosition.java +++ b/src/src/main/java/com/relewise/client/model/PromotionPosition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java b/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java index e43bf78c..d1e0cb26 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PurchasedByUserInfo.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PurchasedByUserInfo { public String $type = "Relewise.Client.DataTypes.PurchasedByUserInfo, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java b/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java index 51f17e06..9d7ce7f2 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PurchasedWithCurrentCartRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PurchasedWithCurrentCartRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PurchasedWithCurrentCartRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java b/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java index 5bfbb5b3..f52d274a 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PurchasedWithMultipleProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PurchasedWithMultipleProductsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PurchasedWithMultipleProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java b/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java index c9b8a700..3f455a77 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = PurchasedWithProductRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class PurchasedWithProductRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.PurchasedWithProductRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java b/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java index 9c575d77..5476210b 100644 --- a/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RecentlyViewedProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RecentlyViewedProductsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.RecentlyViewedProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java b/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java index 52bbc120..014a92ef 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java +++ b/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RecommendPopularSearchTermSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RecommendPopularSearchTermSettings { public String $type = "Relewise.Client.Requests.Recommendations.RecommendPopularSearchTermSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecommendationRequest.java b/src/src/main/java/com/relewise/client/model/RecommendationRequest.java index 7d420676..eb174bea 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -50,6 +51,7 @@ @JsonSubTypes.Type(value = PersonalContentCategoryRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalContentCategoryRecommendationRequest, Relewise.Client"), @JsonSubTypes.Type(value = PersonalBrandRecommendationRequest.class, name = "Relewise.Client.Requests.Recommendations.PersonalBrandRecommendationRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RecommendationRequest extends LicensedRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.RecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecommendationResponse.java b/src/src/main/java/com/relewise/client/model/RecommendationResponse.java index 8c50b1ba..d69ffa4e 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RecommendationResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.RecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecommendationSettings.java b/src/src/main/java/com/relewise/client/model/RecommendationSettings.java index dc09f39c..13eabb7e 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationSettings.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RecommendationSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RecommendationSettings { public String $type = "Relewise.Client.Requests.Search.Settings.RecommendationSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java b/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java index 57d1505a..a469a4aa 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RecommendationTypeCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RecommendationTypeCollection { public String $type = "Relewise.Client.DataTypes.Merchandising.RecommendationTypeCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectResult.java b/src/src/main/java/com/relewise/client/model/RedirectResult.java index f6986e7d..cdbe73aa 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectResult.java +++ b/src/src/main/java/com/relewise/client/model/RedirectResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RedirectResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RedirectResult { public String $type = "Relewise.Client.DataTypes.RedirectResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRule.java b/src/src/main/java/com/relewise/client/model/RedirectRule.java index 21d3cd55..74b51366 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRule.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RedirectRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RedirectRule extends SearchRule { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java index 7bbba925..92e87ab1 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveDecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveStemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSaveSearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java index 71440b6a..c54e0d44 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveDecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveStemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSaveSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java index ac8b3958..0a3eb37d 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.DecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.StemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequest.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequest.java index fa35408a..ca647f16 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RedirectRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RedirectRulesRequest extends RedirectRulesRequestSortBySearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.RedirectRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBy.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBy.java index 978cadad..6417d749 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBy.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java index 43a0bb01..a4022f08 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.StemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRulesRequestSortBySearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.RedirectRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java index 7c54321c..de6d67e2 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RedirectRulesRequestSortBySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RedirectRulesRequestSortBySorting { public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.RedirectRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesResponse.java b/src/src/main/java/com/relewise/client/model/RedirectRulesResponse.java index 47af46a1..5475fc3e 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RedirectRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RedirectRulesResponse extends RedirectRuleSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.RedirectRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RelevanceModifier.java b/src/src/main/java/com/relewise/client/model/RelevanceModifier.java index a0e40c7d..10500a35 100644 --- a/src/src/main/java/com/relewise/client/model/RelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/RelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -40,6 +41,7 @@ @JsonSubTypes.Type(value = VariantSalesPriceRelevanceModifier.class, name = "Relewise.Client.Requests.RelevanceModifiers.VariantSalesPriceRelevanceModifier, Relewise.Client"), @JsonSubTypes.Type(value = UserFavoriteProductRelevanceModifier.class, name = "Relewise.Client.Requests.RelevanceModifiers.UserFavoriteProductRelevanceModifier, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class RelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.RelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java b/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java index 1e2a29ca..dd9c8ace 100644 --- a/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java +++ b/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RelevanceModifierCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RelevanceModifierCollection { public String $type = "Relewise.Client.Requests.RelevanceModifiers.RelevanceModifierCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RequestConfiguration.java b/src/src/main/java/com/relewise/client/model/RequestConfiguration.java index 9b804403..4c4ea8b7 100644 --- a/src/src/main/java/com/relewise/client/model/RequestConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/RequestConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RequestConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RequestConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.RequestConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/RequestConfigurationPrioritization.java b/src/src/main/java/com/relewise/client/model/RequestConfigurationPrioritization.java index 4c1f4e84..ea7d297f 100644 --- a/src/src/main/java/com/relewise/client/model/RequestConfigurationPrioritization.java +++ b/src/src/main/java/com/relewise/client/model/RequestConfigurationPrioritization.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/RequestContextFilter.java b/src/src/main/java/com/relewise/client/model/RequestContextFilter.java index 356a9c52..5360e91a 100644 --- a/src/src/main/java/com/relewise/client/model/RequestContextFilter.java +++ b/src/src/main/java/com/relewise/client/model/RequestContextFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = RequestContextFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class RequestContextFilter { public String $type = "Relewise.Client.DataTypes.Merchandising.RequestContextFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesRequest.java b/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesRequest.java index 8050bd12..51025244 100644 --- a/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveDecompoundRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveDecompoundRulesRequest extends DecompoundRuleSaveSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveDecompoundRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesResponse.java b/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesResponse.java index fa01ce94..e8af2b5a 100644 --- a/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/SaveDecompoundRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveDecompoundRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveDecompoundRulesResponse extends DecompoundRuleSaveSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveDecompoundRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveGlobalTriggerConfigurationRequest.java b/src/src/main/java/com/relewise/client/model/SaveGlobalTriggerConfigurationRequest.java index 29ac1b99..64a574b8 100644 --- a/src/src/main/java/com/relewise/client/model/SaveGlobalTriggerConfigurationRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveGlobalTriggerConfigurationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveGlobalTriggerConfigurationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveGlobalTriggerConfigurationRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.SaveGlobalTriggerConfigurationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveMerchandisingRuleRequest.java b/src/src/main/java/com/relewise/client/model/SaveMerchandisingRuleRequest.java index cddcadd0..fd869b65 100644 --- a/src/src/main/java/com/relewise/client/model/SaveMerchandisingRuleRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveMerchandisingRuleRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveMerchandisingRuleRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveMerchandisingRuleRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Merchandising.SaveMerchandisingRuleRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SavePredictionRulesRequest.java b/src/src/main/java/com/relewise/client/model/SavePredictionRulesRequest.java index 45c398cd..db50d5f5 100644 --- a/src/src/main/java/com/relewise/client/model/SavePredictionRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/SavePredictionRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SavePredictionRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SavePredictionRulesRequest extends PredictionRuleSaveSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SavePredictionRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SavePredictionRulesResponse.java b/src/src/main/java/com/relewise/client/model/SavePredictionRulesResponse.java index c03bfea3..f40ffbcb 100644 --- a/src/src/main/java/com/relewise/client/model/SavePredictionRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/SavePredictionRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SavePredictionRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SavePredictionRulesResponse extends PredictionRuleSaveSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SavePredictionRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveRedirectRulesRequest.java b/src/src/main/java/com/relewise/client/model/SaveRedirectRulesRequest.java index b54a4f53..58044106 100644 --- a/src/src/main/java/com/relewise/client/model/SaveRedirectRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveRedirectRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveRedirectRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveRedirectRulesRequest extends RedirectRuleSaveSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveRedirectRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveRedirectRulesResponse.java b/src/src/main/java/com/relewise/client/model/SaveRedirectRulesResponse.java index f406c098..5067f542 100644 --- a/src/src/main/java/com/relewise/client/model/SaveRedirectRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/SaveRedirectRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveRedirectRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveRedirectRulesResponse extends RedirectRuleSaveSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveRedirectRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveSearchIndexRequest.java b/src/src/main/java/com/relewise/client/model/SaveSearchIndexRequest.java index 1ff6d8a4..ebae8159 100644 --- a/src/src/main/java/com/relewise/client/model/SaveSearchIndexRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveSearchIndexRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveSearchIndexRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveSearchIndexRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.SaveSearchIndexRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveStemmingRulesRequest.java b/src/src/main/java/com/relewise/client/model/SaveStemmingRulesRequest.java index 0cc7b12f..fc2e5d34 100644 --- a/src/src/main/java/com/relewise/client/model/SaveStemmingRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveStemmingRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveStemmingRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveStemmingRulesRequest extends StemmingRuleSaveSearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveStemmingRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveStemmingRulesResponse.java b/src/src/main/java/com/relewise/client/model/SaveStemmingRulesResponse.java index c71ec007..d7a65079 100644 --- a/src/src/main/java/com/relewise/client/model/SaveStemmingRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/SaveStemmingRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveStemmingRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveStemmingRulesResponse extends StemmingRuleSaveSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveStemmingRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveSynonymsRequest.java b/src/src/main/java/com/relewise/client/model/SaveSynonymsRequest.java index 50898782..017cefca 100644 --- a/src/src/main/java/com/relewise/client/model/SaveSynonymsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveSynonymsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveSynonymsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveSynonymsRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.SaveSynonymsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveSynonymsResponse.java b/src/src/main/java/com/relewise/client/model/SaveSynonymsResponse.java index 6895d24f..eb0fcb4b 100644 --- a/src/src/main/java/com/relewise/client/model/SaveSynonymsResponse.java +++ b/src/src/main/java/com/relewise/client/model/SaveSynonymsResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveSynonymsResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveSynonymsResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.SaveSynonymsResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SaveTriggerConfigurationRequest.java b/src/src/main/java/com/relewise/client/model/SaveTriggerConfigurationRequest.java index b4d975cc..736493c0 100644 --- a/src/src/main/java/com/relewise/client/model/SaveTriggerConfigurationRequest.java +++ b/src/src/main/java/com/relewise/client/model/SaveTriggerConfigurationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SaveTriggerConfigurationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SaveTriggerConfigurationRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.SaveTriggerConfigurationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndex.java b/src/src/main/java/com/relewise/client/model/SearchIndex.java index d34690d4..ee26a0c0 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndex.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndex.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndex.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndex { public String $type = "Relewise.Client.DataTypes.Search.SearchIndex, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexCollectionResponse.java b/src/src/main/java/com/relewise/client/model/SearchIndexCollectionResponse.java index c48fe1c2..dcc46335 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndexCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.SearchIndexCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexRequest.java b/src/src/main/java/com/relewise/client/model/SearchIndexRequest.java index 3e33a944..4c91077e 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndexRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.SearchIndexRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexResponse.java b/src/src/main/java/com/relewise/client/model/SearchIndexResponse.java index 09458185..24dcd962 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndexResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.SearchIndexResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java b/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java index bc4cde88..59a21489 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndexSelector.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexSelector { public String $type = "Relewise.Client.DataTypes.Search.SearchIndexSelector, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexesRequest.java b/src/src/main/java/com/relewise/client/model/SearchIndexesRequest.java index 67308313..053ceed1 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexesRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchIndexesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.SearchIndexesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchRequest.java b/src/src/main/java/com/relewise/client/model/SearchRequest.java index 9208d136..76cf9f55 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -30,6 +31,7 @@ @JsonSubTypes.Type(value = SearchTermPredictionRequest.class, name = "Relewise.Client.Requests.Search.SearchTermPredictionRequest, Relewise.Client"), @JsonSubTypes.Type(value = SearchRequestCollection.class, name = "Relewise.Client.Requests.Search.SearchRequestCollection, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchRequest extends LicensedRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.SearchRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java b/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java index 8c6bfae9..0d7b4d5e 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchRequestCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchRequestCollection extends SearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.SearchRequestCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchResponse.java b/src/src/main/java/com/relewise/client/model/SearchResponse.java index e6dbb7e1..54267738 100644 --- a/src/src/main/java/com/relewise/client/model/SearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -30,6 +31,7 @@ @JsonSubTypes.Type(value = SearchResponseCollection.class, name = "Relewise.Client.Responses.Search.SearchResponseCollection, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategorySearchResponse.class, name = "Relewise.Client.Responses.Search.ContentCategorySearchResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.SearchResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchResponseCollection.java b/src/src/main/java/com/relewise/client/model/SearchResponseCollection.java index 432be0fc..2ca6b126 100644 --- a/src/src/main/java/com/relewise/client/model/SearchResponseCollection.java +++ b/src/src/main/java/com/relewise/client/model/SearchResponseCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchResponseCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchResponseCollection extends SearchResponse { public String $type = "Relewise.Client.Responses.Search.SearchResponseCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchRule.java b/src/src/main/java/com/relewise/client/model/SearchRule.java index 63dc264e..dae51824 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRule.java +++ b/src/src/main/java/com/relewise/client/model/SearchRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRule.class, name = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRule.class, name = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchRule { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.SearchRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java b/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java index 6795fe0b..f805f1fb 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java +++ b/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchRuleFilters.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchRuleFilters { public String $type = "Relewise.Client.Requests.Search.Rules.SearchRuleFilters, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchSettings.java b/src/src/main/java/com/relewise/client/model/SearchSettings.java index 3bb6cb03..db2b0ea7 100644 --- a/src/src/main/java/com/relewise/client/model/SearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/SearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -18,6 +19,7 @@ import java.util.Set; import java.util.HashSet; +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.SearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTerm.java b/src/src/main/java/com/relewise/client/model/SearchTerm.java index f9bab84f..13eeddac 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTerm.java +++ b/src/src/main/java/com/relewise/client/model/SearchTerm.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTerm.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTerm extends Trackable implements IUserIdentifier { public String $type = "Relewise.Client.DataTypes.SearchTerm, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java index 8fb62f81..160913c4 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermBasedProductRecommendationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermBasedProductRecommendationRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.SearchTermBasedProductRecommendationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermCondition.java b/src/src/main/java/com/relewise/client/model/SearchTermCondition.java index a9dadf15..df060578 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermCondition.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermCondition.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermCondition { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.SearchTermCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermConditionConditionKind.java b/src/src/main/java/com/relewise/client/model/SearchTermConditionConditionKind.java index cc1e44b0..dd940481 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermConditionConditionKind.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermConditionConditionKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java index 49364289..10cc81a9 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermPredictionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermPredictionRequest extends SearchRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Search.SearchTermPredictionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResponse.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResponse.java index 1f8bd338..3c7158c0 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermPredictionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermPredictionResponse extends SearchResponse { public String $type = "Relewise.Client.Responses.Search.SearchTermPredictionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java index 80ce82a5..845cadca 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermPredictionResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermPredictionResult { public String $type = "Relewise.Client.DataTypes.SearchTermPredictionResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResultPredictionType.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResultPredictionType.java index 04be404e..39738a8c 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResultPredictionType.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResultPredictionType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionSettings.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionSettings.java index 6f5ecfaf..e2e25187 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionSettings.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermPredictionSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermPredictionSettings extends SearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.SearchTermPredictionSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermRecommendationResponse.java b/src/src/main/java/com/relewise/client/model/SearchTermRecommendationResponse.java index 33064b98..15c9e33a 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermRecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermRecommendationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermRecommendationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermRecommendationResponse extends RecommendationResponse { public String $type = "Relewise.Client.Responses.SearchTermRecommendationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermResult.java b/src/src/main/java/com/relewise/client/model/SearchTermResult.java index 86fa7121..6105443d 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermResult.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTermResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermResult { public String $type = "Relewise.Client.DataTypes.SearchTermResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SearchType.java b/src/src/main/java/com/relewise/client/model/SearchType.java index a8c5834e..883d12ed 100644 --- a/src/src/main/java/com/relewise/client/model/SearchType.java +++ b/src/src/main/java/com/relewise/client/model/SearchType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java b/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java index a6c2bf3c..5e632fbc 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java +++ b/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SearchTypeCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SearchTypeCollection { public String $type = "Relewise.Client.DataTypes.Merchandising.SearchTypeCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java index 48df8fd6..7b51d0c5 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedBrandPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedBrandPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedBrandPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java index 05af35ec..462e9002 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedContentCategoryPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedContentCategoryPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedContentCategoryPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java index efd9d2f4..a06cbb00 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedContentPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedContentPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedContentPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java index a7f4e566..eab422b4 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedProductCategoryPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedProductCategoryPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedProductCategoryPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java index 116fb51d..1a8ae698 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedProductPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedProductPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedProductPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java index 06ac6f6b..956fb5ea 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SelectedVariantPropertiesSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SelectedVariantPropertiesSettings { public String $type = "Relewise.Client.Requests.Shared.SelectedVariantPropertiesSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SignificantDataValue.java b/src/src/main/java/com/relewise/client/model/SignificantDataValue.java index 767b60f4..42025cb7 100644 --- a/src/src/main/java/com/relewise/client/model/SignificantDataValue.java +++ b/src/src/main/java/com/relewise/client/model/SignificantDataValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SignificantDataValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SignificantDataValue { public String $type = "Relewise.Client.DataTypes.SignificantDataValue, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SignificantDataValueSignificantDataValueComparer.java b/src/src/main/java/com/relewise/client/model/SignificantDataValueSignificantDataValueComparer.java index ff3df032..5a3399a9 100644 --- a/src/src/main/java/com/relewise/client/model/SignificantDataValueSignificantDataValueComparer.java +++ b/src/src/main/java/com/relewise/client/model/SignificantDataValueSignificantDataValueComparer.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java b/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java index a2ef16a2..774550d5 100644 --- a/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java +++ b/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SimilarProductsEvaluationSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SimilarProductsEvaluationSettings { public String $type = "Relewise.Client.Requests.Recommendations.SimilarProductsEvaluationSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java b/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java index 2682a6a2..5c7367d7 100644 --- a/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SimilarProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SimilarProductsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.SimilarProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SortMode.java b/src/src/main/java/com/relewise/client/model/SortMode.java index 9c6b7408..6a54eeb2 100644 --- a/src/src/main/java/com/relewise/client/model/SortMode.java +++ b/src/src/main/java/com/relewise/client/model/SortMode.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SortOrder.java b/src/src/main/java/com/relewise/client/model/SortOrder.java index 8bf5b75e..a77ce78b 100644 --- a/src/src/main/java/com/relewise/client/model/SortOrder.java +++ b/src/src/main/java/com/relewise/client/model/SortOrder.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SortProductsRequest.java b/src/src/main/java/com/relewise/client/model/SortProductsRequest.java index 2cbe3507..e7420f20 100644 --- a/src/src/main/java/com/relewise/client/model/SortProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SortProductsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SortProductsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SortProductsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.SortProductsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java b/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java index 673b245d..18223011 100644 --- a/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SortVariantsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SortVariantsRequest extends ProductRecommendationRequest implements IUserIdentifier { public String $type = "Relewise.Client.Requests.Recommendations.SortVariantsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java index d76f5eb2..85e83c0e 100644 --- a/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SpecificationsIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SpecificationsIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SpecificationsIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Statistics.java b/src/src/main/java/com/relewise/client/model/Statistics.java index c22f2b80..b775085b 100644 --- a/src/src/main/java/com/relewise/client/model/Statistics.java +++ b/src/src/main/java/com/relewise/client/model/Statistics.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Statistics.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Statistics { public String $type = "Relewise.Client.DataTypes.Statistics, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRule.java b/src/src/main/java/com/relewise/client/model/StemmingRule.java index 384a3851..70d533f3 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRule.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRule.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = StemmingRule.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class StemmingRule extends SearchRule { public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java index d000a829..249b88d1 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveDecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.SaveStemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSaveSearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java index 45cf838e..f953e1c4 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = SaveDecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveDecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = SaveStemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.SaveStemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSaveSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java index 3e243901..84e60af6 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.DecompoundRulesResponse, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesResponse.class, name = "Relewise.Client.Responses.Search.Rules.StemmingRulesResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSearchRulesResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequest.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequest.java index 0a15fef2..e870fdee 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = StemmingRulesRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class StemmingRulesRequest extends StemmingRulesRequestSortBySearchRulesRequest { public String $type = "Relewise.Client.Requests.Search.Rules.StemmingRulesRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBy.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBy.java index 44699fad..3fb0cb57 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBy.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBy.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java index 896b1cf0..a2467c4f 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -28,6 +29,7 @@ @JsonSubTypes.Type(value = DecompoundRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest, Relewise.Client"), @JsonSubTypes.Type(value = StemmingRulesRequest.class, name = "Relewise.Client.Requests.Search.Rules.StemmingRulesRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRulesRequestSortBySearchRulesRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.StemmingRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java index 69ec04ba..357742d6 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = StemmingRulesRequestSortBySorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class StemmingRulesRequestSortBySorting { public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.StemmingRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesResponse.java b/src/src/main/java/com/relewise/client/model/StemmingRulesResponse.java index 13410d1c..b120b43b 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = StemmingRulesResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class StemmingRulesResponse extends StemmingRuleSearchRulesResponse { public String $type = "Relewise.Client.Responses.Search.Rules.StemmingRulesResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java b/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java index d2ca32e7..93e1b895 100644 --- a/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringAbandonedSearch extends AbandonedSearch { public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java index 6d12e205..d7bbba02 100644 --- a/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = StringAvailableFacetValue.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class StringAvailableFacetValue { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java index 096f3f1f..95252bfb 100644 --- a/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringBrandNameAndIdResultValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java index a4cfb4ec..886c0170 100644 --- a/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringCategoryNameAndIdResultValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java index beef836d..004f9c9e 100644 --- a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringContentDataValueFacet extends StringDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java index 980b4070..51cb4618 100644 --- a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringContentDataValueFacetResult extends StringDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java index f7de4daa..2842d0a0 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataObjectValueFacet extends StringDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java index 2c657d76..7971e354 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataObjectValueFacetResult extends StringDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java b/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java index 6c790fea..544aa58a 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataValueFacet extends StringValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java index 5ae448c0..8fb8bfdc 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataValueFacetResult extends StringValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java index 468ef661..62ab2773 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductCategoryDataValueFacet extends StringDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java index 7b32b97c..89e57d41 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductCategoryDataValueFacetResult extends StringDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java index 6aae058f..8c97451d 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductDataValueFacet extends StringDataValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java index 747f5cb8..373375c1 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductDataValueFacetResult extends StringDataValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java index 78267b7a..164ad309 100644 --- a/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringStringValueFacetResult extends FacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringValueFacet.java b/src/src/main/java/com/relewise/client/model/StringValueFacet.java index 8ced46b9..57bfa78f 100644 --- a/src/src/main/java/com/relewise/client/model/StringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringValueFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringValueFacet extends Facet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java index 7f026d4c..61eac6e5 100644 --- a/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringValueFacetResult extends StringStringValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SuppressionConditionKind.java b/src/src/main/java/com/relewise/client/model/SuppressionConditionKind.java index 81cec101..291e7f72 100644 --- a/src/src/main/java/com/relewise/client/model/SuppressionConditionKind.java +++ b/src/src/main/java/com/relewise/client/model/SuppressionConditionKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/Synonym.java b/src/src/main/java/com/relewise/client/model/Synonym.java index eea2ea8e..83149b02 100644 --- a/src/src/main/java/com/relewise/client/model/Synonym.java +++ b/src/src/main/java/com/relewise/client/model/Synonym.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = Synonym.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class Synonym { public String $type = "Relewise.Client.DataTypes.Search.Synonyms.Synonym, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SynonymType.java b/src/src/main/java/com/relewise/client/model/SynonymType.java index c3552cb2..f69f4826 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymType.java +++ b/src/src/main/java/com/relewise/client/model/SynonymType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SynonymsRequest.java b/src/src/main/java/com/relewise/client/model/SynonymsRequest.java index a4c54427..29b13d69 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SynonymsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SynonymsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SynonymsRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Search.SynonymsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSorting.java b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSorting.java index 4739167f..04301bf4 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSorting.java +++ b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java index 7d7c5624..d8f9466e 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SynonymsRequestSynonymSortingSorting.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SynonymsRequestSynonymSortingSorting { public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.SynonymsRequest+SynonymSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/SynonymsResponse.java b/src/src/main/java/com/relewise/client/model/SynonymsResponse.java index 421f2abf..95f0cacf 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymsResponse.java +++ b/src/src/main/java/com/relewise/client/model/SynonymsResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = SynonymsResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class SynonymsResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Search.SynonymsResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java index f568317f..492dd4a8 100644 --- a/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TargetConditionConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TargetConditionConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.TargetConditionConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TimedResponse.java b/src/src/main/java/com/relewise/client/model/TimedResponse.java index 50421bbe..f7131823 100644 --- a/src/src/main/java/com/relewise/client/model/TimedResponse.java +++ b/src/src/main/java/com/relewise/client/model/TimedResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -41,6 +42,7 @@ @JsonSubTypes.Type(value = ContentCategoryRecommendationResponse.class, name = "Relewise.Client.Responses.ContentCategoryRecommendationResponse, Relewise.Client"), @JsonSubTypes.Type(value = BrandRecommendationResponse.class, name = "Relewise.Client.Responses.BrandRecommendationResponse, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class TimedResponse { public String $type = "Relewise.Client.Responses.TimedResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackBrandAdministrativeActionRequest.java b/src/src/main/java/com/relewise/client/model/TrackBrandAdministrativeActionRequest.java index 74a3239f..addfe207 100644 --- a/src/src/main/java/com/relewise/client/model/TrackBrandAdministrativeActionRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackBrandAdministrativeActionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackBrandAdministrativeActionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackBrandAdministrativeActionRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackBrandAdministrativeActionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackBrandUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackBrandUpdateRequest.java index 631ae41b..b3a5fc46 100644 --- a/src/src/main/java/com/relewise/client/model/TrackBrandUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackBrandUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackBrandUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackBrandUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackBrandUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackBrandViewRequest.java b/src/src/main/java/com/relewise/client/model/TrackBrandViewRequest.java index 1673c9ba..9e907257 100644 --- a/src/src/main/java/com/relewise/client/model/TrackBrandViewRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackBrandViewRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackBrandViewRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackBrandViewRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackBrandViewRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackCartRequest.java b/src/src/main/java/com/relewise/client/model/TrackCartRequest.java index 7a60df7b..dd69a38c 100644 --- a/src/src/main/java/com/relewise/client/model/TrackCartRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackCartRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackCartRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackCartRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackCartRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentAdministrativeActionRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentAdministrativeActionRequest.java index 5079fc53..28c79d76 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentAdministrativeActionRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentAdministrativeActionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentAdministrativeActionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentAdministrativeActionRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentAdministrativeActionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentCategoryAdministrativeActionRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentCategoryAdministrativeActionRequest.java index b6a2fbbe..3a8ec696 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentCategoryAdministrativeActionRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentCategoryAdministrativeActionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentCategoryAdministrativeActionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentCategoryAdministrativeActionRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentCategoryAdministrativeActionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentCategoryUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentCategoryUpdateRequest.java index faca5ac4..728b63dc 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentCategoryUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentCategoryUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentCategoryUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentCategoryUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentCategoryUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentCategoryViewRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentCategoryViewRequest.java index d79a52b4..e63bc4a4 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentCategoryViewRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentCategoryViewRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentCategoryViewRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentCategoryViewRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentCategoryViewRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentUpdateRequest.java index 494462e1..3a2a1812 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackContentViewRequest.java b/src/src/main/java/com/relewise/client/model/TrackContentViewRequest.java index 0206f7e0..f6a15ae5 100644 --- a/src/src/main/java/com/relewise/client/model/TrackContentViewRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackContentViewRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackContentViewRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackContentViewRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackContentViewRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackOrderRequest.java b/src/src/main/java/com/relewise/client/model/TrackOrderRequest.java index bb0b6605..f3def83f 100644 --- a/src/src/main/java/com/relewise/client/model/TrackOrderRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackOrderRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackOrderRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackOrderRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackOrderRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductAdministrativeActionRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductAdministrativeActionRequest.java index 4024ddea..2c38dba1 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductAdministrativeActionRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductAdministrativeActionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductAdministrativeActionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductAdministrativeActionRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductAdministrativeActionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductCategoryAdministrativeActionRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductCategoryAdministrativeActionRequest.java index 9f89aa03..e8a8a2ac 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductCategoryAdministrativeActionRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductCategoryAdministrativeActionRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductCategoryAdministrativeActionRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductCategoryAdministrativeActionRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductCategoryAdministrativeActionRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductCategoryUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductCategoryUpdateRequest.java index 1351098c..1b4c0d3d 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductCategoryUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductCategoryUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductCategoryUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductCategoryUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductCategoryUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductCategoryViewRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductCategoryViewRequest.java index a9ce2d33..fb43b8a8 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductCategoryViewRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductCategoryViewRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductCategoryViewRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductCategoryViewRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductCategoryViewRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductUpdateRequest.java index 9674b890..f6e60f2d 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackProductViewRequest.java b/src/src/main/java/com/relewise/client/model/TrackProductViewRequest.java index 07eff3ae..d5995077 100644 --- a/src/src/main/java/com/relewise/client/model/TrackProductViewRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackProductViewRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackProductViewRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackProductViewRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackProductViewRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackSearchTermRequest.java b/src/src/main/java/com/relewise/client/model/TrackSearchTermRequest.java index 54ac01b3..2a2edc58 100644 --- a/src/src/main/java/com/relewise/client/model/TrackSearchTermRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackSearchTermRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackSearchTermRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackSearchTermRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackSearchTermRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackUserUpdateRequest.java b/src/src/main/java/com/relewise/client/model/TrackUserUpdateRequest.java index 23a8d4fc..6b005f5a 100644 --- a/src/src/main/java/com/relewise/client/model/TrackUserUpdateRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackUserUpdateRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrackUserUpdateRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrackUserUpdateRequest extends TrackingRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackUserUpdateRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/Trackable.java b/src/src/main/java/com/relewise/client/model/Trackable.java index 3ee2a404..2566fbf0 100644 --- a/src/src/main/java/com/relewise/client/model/Trackable.java +++ b/src/src/main/java/com/relewise/client/model/Trackable.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -43,6 +44,7 @@ @JsonSubTypes.Type(value = ContentCategoryView.class, name = "Relewise.Client.DataTypes.ContentCategoryView, Relewise.Client"), @JsonSubTypes.Type(value = ContentCategoryUpdate.class, name = "Relewise.Client.DataTypes.ContentCategoryUpdate, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class Trackable { public String $type = "Relewise.Client.Requests.Trackable, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrackingRequest.java b/src/src/main/java/com/relewise/client/model/TrackingRequest.java index a650fc5d..75d99676 100644 --- a/src/src/main/java/com/relewise/client/model/TrackingRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackingRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -44,6 +45,7 @@ @JsonSubTypes.Type(value = TrackContentCategoryUpdateRequest.class, name = "Relewise.Client.Requests.Tracking.TrackContentCategoryUpdateRequest, Relewise.Client"), @JsonSubTypes.Type(value = TrackContentCategoryAdministrativeActionRequest.class, name = "Relewise.Client.Requests.Tracking.TrackContentCategoryAdministrativeActionRequest, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class TrackingRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Tracking.TrackingRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java index 6b396fe6..a0f4c743 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -30,6 +31,7 @@ @JsonSubTypes.Type(value = ContentCategoryInterestTriggerConfiguration.class, name = "Relewise.Client.DataTypes.Triggers.Configurations.ContentCategoryInterestTriggerConfiguration, Relewise.Client"), @JsonSubTypes.Type(value = AbandonedSearchTriggerConfiguration.class, name = "Relewise.Client.DataTypes.Triggers.Configurations.AbandonedSearchTriggerConfiguration, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfigurationCollectionResponse.java b/src/src/main/java/com/relewise/client/model/TriggerConfigurationCollectionResponse.java index afa54511..3e4d2e2f 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfigurationCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfigurationCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerConfigurationCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerConfigurationCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Triggers.TriggerConfigurationCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfigurationRequest.java b/src/src/main/java/com/relewise/client/model/TriggerConfigurationRequest.java index 4c806848..34a39784 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfigurationRequest.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfigurationRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerConfigurationRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerConfigurationRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.TriggerConfigurationRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfigurationResponse.java b/src/src/main/java/com/relewise/client/model/TriggerConfigurationResponse.java index 4b226f56..f025583d 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfigurationResponse.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfigurationResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerConfigurationResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerConfigurationResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Triggers.TriggerConfigurationResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfigurationsRequest.java b/src/src/main/java/com/relewise/client/model/TriggerConfigurationsRequest.java index 5685ea80..ade503ab 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfigurationsRequest.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfigurationsRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerConfigurationsRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerConfigurationsRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.TriggerConfigurationsRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerResultRequest.java b/src/src/main/java/com/relewise/client/model/TriggerResultRequest.java index c66c50ec..490c05ca 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerResultRequest.java +++ b/src/src/main/java/com/relewise/client/model/TriggerResultRequest.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerResultRequest.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerResultRequest extends LicensedRequest { public String $type = "Relewise.Client.Requests.Triggers.TriggerResultRequest, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggerResultResponse.java b/src/src/main/java/com/relewise/client/model/TriggerResultResponse.java index e4347c26..be9e781c 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerResultResponse.java +++ b/src/src/main/java/com/relewise/client/model/TriggerResultResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TriggerResultResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TriggerResultResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Triggers.TriggerResultResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TriggersResponse.java b/src/src/main/java/com/relewise/client/model/TriggersResponse.java index 2caf700a..fcae4595 100644 --- a/src/src/main/java/com/relewise/client/model/TriggersResponse.java +++ b/src/src/main/java/com/relewise/client/model/TriggersResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class TriggersResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.Triggers.TriggersResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java b/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java index 039bb11a..e31c5138 100644 --- a/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java +++ b/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = TrimStringTransformer.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class TrimStringTransformer { public String $type = "Relewise.Client.Requests.Transformers.TrimStringTransformer, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/User.java b/src/src/main/java/com/relewise/client/model/User.java index 655f8e85..22c0a67e 100644 --- a/src/src/main/java/com/relewise/client/model/User.java +++ b/src/src/main/java/com/relewise/client/model/User.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = User.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class User { public String $type = "Relewise.Client.DataTypes.User, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserActivityTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/UserActivityTriggerConfiguration.java index 026580a3..368e03f3 100644 --- a/src/src/main/java/com/relewise/client/model/UserActivityTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/UserActivityTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserActivityTriggerConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserActivityTriggerConfiguration extends UserActivityTriggerResultTriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.UserActivityTriggerConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResult.java b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResult.java index f3b94848..186dfdc0 100644 --- a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResult.java +++ b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserActivityTriggerResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserActivityTriggerResult implements ITriggerResult { public String $type = "Relewise.Client.Responses.Triggers.Results.UserActivityTriggerResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java index 775643ed..eee9eef1 100644 --- a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -24,6 +25,7 @@ property = "$type") @JsonSubTypes({ }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class UserActivityTriggerResultTriggerConfiguration extends TriggerConfiguration { public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.UserActivityTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserCondition.java b/src/src/main/java/com/relewise/client/model/UserCondition.java index 6044eebe..ca439e8f 100644 --- a/src/src/main/java/com/relewise/client/model/UserCondition.java +++ b/src/src/main/java/com/relewise/client/model/UserCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -36,6 +37,7 @@ @JsonSubTypes.Type(value = OrCondition.class, name = "Relewise.Client.DataTypes.UserConditions.OrCondition, Relewise.Client"), @JsonSubTypes.Type(value = AndCondition.class, name = "Relewise.Client.DataTypes.UserConditions.AndCondition, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class UserCondition { public String $type = "Relewise.Client.DataTypes.UserConditions.UserCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserConditionCollection.java b/src/src/main/java/com/relewise/client/model/UserConditionCollection.java index b9a7a012..ee68e0a3 100644 --- a/src/src/main/java/com/relewise/client/model/UserConditionCollection.java +++ b/src/src/main/java/com/relewise/client/model/UserConditionCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserConditionCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserConditionCollection { public String $type = "Relewise.Client.DataTypes.UserConditions.UserConditionCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java index 476f6c31..04f5aa0b 100644 --- a/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserConditionConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserConditionConfiguration { public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.UserConditionConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserDetailsCollectionResponse.java b/src/src/main/java/com/relewise/client/model/UserDetailsCollectionResponse.java index fe89c3ec..cdea9867 100644 --- a/src/src/main/java/com/relewise/client/model/UserDetailsCollectionResponse.java +++ b/src/src/main/java/com/relewise/client/model/UserDetailsCollectionResponse.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserDetailsCollectionResponse.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserDetailsCollectionResponse extends TimedResponse { public String $type = "Relewise.Client.Responses.UserDetailsCollectionResponse, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserFavoriteProductRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/UserFavoriteProductRelevanceModifier.java index fad6be89..d6d6f90a 100644 --- a/src/src/main/java/com/relewise/client/model/UserFavoriteProductRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/UserFavoriteProductRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserFavoriteProductRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserFavoriteProductRelevanceModifier extends RelevanceModifier implements IProductRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.UserFavoriteProductRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserQuery.java b/src/src/main/java/com/relewise/client/model/UserQuery.java index 3b23189b..13abac93 100644 --- a/src/src/main/java/com/relewise/client/model/UserQuery.java +++ b/src/src/main/java/com/relewise/client/model/UserQuery.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserQuery.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserQuery extends LicensedRequest { public String $type = "Relewise.Client.Requests.Queries.UserQuery, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java b/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java index 65e98982..e27cbd89 100644 --- a/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java +++ b/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserQueryCriteria.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserQueryCriteria { public String $type = "Relewise.Client.DataTypes.UserQueryCriteria, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserResultDetails.java b/src/src/main/java/com/relewise/client/model/UserResultDetails.java index 47d3f18a..181b92b9 100644 --- a/src/src/main/java/com/relewise/client/model/UserResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/UserResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserResultDetails { public String $type = "Relewise.Client.DataTypes.UserResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserUpdate.java b/src/src/main/java/com/relewise/client/model/UserUpdate.java index 70c9c5d8..4b498ce9 100644 --- a/src/src/main/java/com/relewise/client/model/UserUpdate.java +++ b/src/src/main/java/com/relewise/client/model/UserUpdate.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = UserUpdate.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class UserUpdate extends Trackable { public String $type = "Relewise.Client.DataTypes.UserUpdate, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/UserUpdateUpdateKind.java b/src/src/main/java/com/relewise/client/model/UserUpdateUpdateKind.java index 8cdbe7b2..59d21f4d 100644 --- a/src/src/main/java/com/relewise/client/model/UserUpdateUpdateKind.java +++ b/src/src/main/java/com/relewise/client/model/UserUpdateUpdateKind.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; diff --git a/src/src/main/java/com/relewise/client/model/ValueCondition.java b/src/src/main/java/com/relewise/client/model/ValueCondition.java index 2f130c3f..dadd0d31 100644 --- a/src/src/main/java/com/relewise/client/model/ValueCondition.java +++ b/src/src/main/java/com/relewise/client/model/ValueCondition.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -29,6 +30,7 @@ @JsonSubTypes.Type(value = LessThanCondition.class, name = "Relewise.Client.Requests.Conditions.LessThanCondition, Relewise.Client"), @JsonSubTypes.Type(value = DistinctCondition.class, name = "Relewise.Client.Requests.Conditions.DistinctCondition, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueCondition { public String $type = "Relewise.Client.Requests.Conditions.ValueCondition, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java b/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java index d042b3bf..77758ed6 100644 --- a/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java +++ b/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ValueConditionCollection.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ValueConditionCollection { public String $type = "Relewise.Client.Requests.RelevanceModifiers.ValueConditionCollection, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ValueSelector.java b/src/src/main/java/com/relewise/client/model/ValueSelector.java index b0e0bb4c..af1be7d4 100644 --- a/src/src/main/java/com/relewise/client/model/ValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/ValueSelector.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -26,6 +27,7 @@ @JsonSubTypes.Type(value = DataDoubleSelector.class, name = "Relewise.Client.Requests.ValueSelectors.DataDoubleSelector, Relewise.Client"), @JsonSubTypes.Type(value = FixedDoubleValueSelector.class, name = "Relewise.Client.Requests.ValueSelectors.FixedDoubleValueSelector, Relewise.Client"), }) +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueSelector { public String $type = "Relewise.Client.Requests.ValueSelectors.ValueSelector, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ValueType.java b/src/src/main/java/com/relewise/client/model/ValueType.java index 433980a9..c818edbc 100644 --- a/src/src/main/java/com/relewise/client/model/ValueType.java +++ b/src/src/main/java/com/relewise/client/model/ValueType.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -18,6 +19,7 @@ import java.util.Set; import java.util.HashSet; +@JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueType { public String $type = "System.ValueType, System.Private.CoreLib"; diff --git a/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java index 79a892ef..4966bde3 100644 --- a/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantAssortmentFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantAssortmentFilter extends Filter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantAssortmentFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantAssortmentRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantAssortmentRelevanceModifier.java index 96484868..d080d7bb 100644 --- a/src/src/main/java/com/relewise/client/model/VariantAssortmentRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantAssortmentRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantAssortmentRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantAssortmentRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantAssortmentRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantDataFilter.java b/src/src/main/java/com/relewise/client/model/VariantDataFilter.java index 120a4698..b01197c2 100644 --- a/src/src/main/java/com/relewise/client/model/VariantDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantDataFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantDataFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantDataFilter extends DataFilter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantDataFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantDataRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantDataRelevanceModifier.java index fdcabce0..4cdc4a5d 100644 --- a/src/src/main/java/com/relewise/client/model/VariantDataRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantDataRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantDataRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantDataRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantDataRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantIdFilter.java b/src/src/main/java/com/relewise/client/model/VariantIdFilter.java index c5ee744f..35587828 100644 --- a/src/src/main/java/com/relewise/client/model/VariantIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantIdFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantIdFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantIdFilter extends Filter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantIdFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java index 6089a625..5c422ce0 100644 --- a/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantIndexConfiguration.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantIndexConfiguration { public String $type = "Relewise.Client.DataTypes.Search.Configuration.VariantIndexConfiguration, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java b/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java index e7ffc9b9..58c089c7 100644 --- a/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantListPriceFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantListPriceFilter extends Filter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantListPriceFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java index 17f51496..01f3715f 100644 --- a/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantListPriceRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantListPriceRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantListPriceRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantResult.java b/src/src/main/java/com/relewise/client/model/VariantResult.java index 56349540..156c3bdd 100644 --- a/src/src/main/java/com/relewise/client/model/VariantResult.java +++ b/src/src/main/java/com/relewise/client/model/VariantResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantResult { public String $type = "Relewise.Client.DataTypes.VariantResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantResultDetails.java b/src/src/main/java/com/relewise/client/model/VariantResultDetails.java index eb0eefef..a0d0b76d 100644 --- a/src/src/main/java/com/relewise/client/model/VariantResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/VariantResultDetails.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantResultDetails.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantResultDetails { public String $type = "Relewise.Client.DataTypes.VariantResultDetails, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java b/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java index 8e6837a5..c2a1d4e4 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSalesPriceFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSalesPriceFilter extends Filter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantSalesPriceFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java index 9b0d30e8..2f37b8d8 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSalesPriceRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSalesPriceRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantSalesPriceRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java b/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java index db80f33c..52aa1983 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSearchSettings.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSearchSettings { public String $type = "Relewise.Client.Requests.Search.Settings.VariantSearchSettings, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java b/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java index 71d503fe..db40dd62 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSpecificationFacet.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSpecificationFacet extends StringValueFacet { public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.VariantSpecificationFacet, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSpecificationFacetResult.java b/src/src/main/java/com/relewise/client/model/VariantSpecificationFacetResult.java index 8cbf9310..a7674139 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationFacetResult.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSpecificationFacetResult.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSpecificationFacetResult extends StringValueFacetResult { public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.VariantSpecificationFacetResult, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java b/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java index 8d0f6a66..6c57ab7e 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSpecificationFilter.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSpecificationFilter extends Filter implements IVariantFilter { public String $type = "Relewise.Client.Requests.Filters.VariantSpecificationFilter, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSpecificationValueRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantSpecificationValueRelevanceModifier.java index dfd5dbae..becf34ad 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationValueRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationValueRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSpecificationValueRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSpecificationValueRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantSpecificationValueRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/VariantSpecificationsInCommonRelevanceModifier.java b/src/src/main/java/com/relewise/client/model/VariantSpecificationsInCommonRelevanceModifier.java index 14c141e2..5ee34610 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationsInCommonRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationsInCommonRelevanceModifier.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = VariantSpecificationsInCommonRelevanceModifier.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class VariantSpecificationsInCommonRelevanceModifier extends RelevanceModifier implements IVariantRelevanceModifier { public String $type = "Relewise.Client.Requests.RelevanceModifiers.VariantSpecificationsInCommonRelevanceModifier, Relewise.Client"; diff --git a/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java b/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java index dfac745b..8f22df00 100644 --- a/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java +++ b/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java @@ -3,6 +3,7 @@ import com.fasterxml.jackson.annotation.JsonTypeInfo; import com.fasterxml.jackson.annotation.JsonSubTypes; import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import javax.annotation.Nullable; import java.io.IOException; import java.time.OffsetDateTime; @@ -23,6 +24,7 @@ include = JsonTypeInfo.As.EXISTING_PROPERTY, property = "$type", defaultImpl = ViewedByUserInfo.class) +@JsonIgnoreProperties(ignoreUnknown = true) public class ViewedByUserInfo { public String $type = "Relewise.Client.DataTypes.ViewedByUserInfo, Relewise.Client";