From 130b676b53f84458731ceaa2b5190b4f13a6e3ed Mon Sep 17 00:00:00 2001 From: KSGRelewise <119578211+KSGRelewise@users.noreply.github.com> Date: Tue, 13 Aug 2024 13:23:50 +0200 Subject: [PATCH] Added nullability annotation on simple setter methods. --- .../JavaPropertySetterMethodsWriter.cs | 2 +- Generator/JavaWriter.cs | 12 ++++++++ .../client/model/AbandonedContentSearch.java | 2 +- .../model/AbandonedProductCategorySearch.java | 2 +- .../client/model/AbandonedProductSearch.java | 2 +- .../client/model/AbandonedSearch.java | 2 +- .../AbandonedSearchTriggerConfiguration.java | 2 +- .../com/relewise/client/model/Advertiser.java | 4 +-- ...rsRequestEntityFiltersEntitiesRequest.java | 4 +-- ...aValuesRetailMediaEntityEntityFilters.java | 2 +- .../model/AdvertiserMetadataValues.java | 6 ++-- .../client/model/AdvertisersRequest.java | 4 +-- .../AdvertisersRequestEntityFilters.java | 2 +- .../client/model/AnalyzerRequest.java | 4 +-- .../com/relewise/client/model/AndFilter.java | 2 +- .../client/model/AssortmentFacet.java | 2 +- .../model/BooleanContentDataValueFacet.java | 2 +- .../model/BooleanDataObjectValueFacet.java | 2 +- .../client/model/BooleanDataValueFacet.java | 2 +- .../BooleanProductCategoryDataValueFacet.java | 2 +- .../model/BooleanProductDataValueFacet.java | 2 +- .../client/model/BooleanValueFacet.java | 2 +- .../java/com/relewise/client/model/Brand.java | 4 +-- .../model/BrandAdministrativeAction.java | 4 +-- .../client/model/BrandAssortmentFilter.java | 2 +- .../client/model/BrandDataFilter.java | 8 +++--- .../client/model/BrandDataHasKeyFilter.java | 2 +- .../client/model/BrandDisabledFilter.java | 2 +- .../com/relewise/client/model/BrandFacet.java | 2 +- .../relewise/client/model/BrandIdFilter.java | 2 +- .../com/relewise/client/model/BrandQuery.java | 4 +-- .../model/BrandRecommendationRequest.java | 8 +++--- .../BrandRecommendationRequestSettings.java | 2 +- .../com/relewise/client/model/BrandView.java | 4 +-- .../com/relewise/client/model/Campaign.java | 2 +- .../model/CampaignAnalyticsRequest.java | 2 +- ...nsRequestEntityFiltersEntitiesRequest.java | 4 +-- ...aValuesRetailMediaEntityEntityFilters.java | 2 +- .../client/model/CampaignMetadataValues.java | 6 ++-- .../client/model/CampaignsRequest.java | 4 +-- .../model/CampaignsRequestEntityFilters.java | 2 +- .../java/com/relewise/client/model/Cart.java | 10 +++---- .../relewise/client/model/CartDataFilter.java | 8 +++--- .../model/CategoryAdministrativeAction.java | 4 +-- .../relewise/client/model/CategoryFacet.java | 2 +- .../client/model/CategoryHierarchyFacet.java | 4 +-- ...egoryHierarchyFacetResultCategoryNode.java | 2 +- .../client/model/CategoryIdFilter.java | 2 +- .../client/model/CategoryLevelFilter.java | 2 +- .../client/model/CategoryNameAndId.java | 2 +- .../client/model/CategoryPathValueFacet.java | 2 +- .../com/relewise/client/model/Channel.java | 2 +- .../com/relewise/client/model/Company.java | 4 +-- .../model/CompanyAdministrativeAction.java | 4 +-- .../client/model/CompanyDataFilter.java | 8 +++--- .../client/model/CompanyDataHasKeyFilter.java | 2 +- .../client/model/CompanyDisabledFilter.java | 2 +- .../client/model/CompanyIdFilter.java | 2 +- .../client/model/ContainsCondition.java | 4 +-- .../com/relewise/client/model/Content.java | 4 +-- .../model/ContentAdministrativeAction.java | 4 +-- .../client/model/ContentAssortmentFacet.java | 2 +- .../client/model/ContentAssortmentFilter.java | 2 +- .../ContentCategoryAdministrativeAction.java | 4 +-- .../ContentCategoryAssortmentFilter.java | 2 +- .../model/ContentCategoryDataFilter.java | 8 +++--- .../ContentCategoryDataHasKeyFilter.java | 2 +- .../model/ContentCategoryDisabledFilter.java | 2 +- .../ContentCategoryHasAncestorFilter.java | 2 +- .../model/ContentCategoryHasChildFilter.java | 2 +- .../ContentCategoryHasContentsFilter.java | 2 +- .../model/ContentCategoryHasParentFilter.java | 2 +- .../client/model/ContentCategoryIdFilter.java | 2 +- .../ContentCategoryIdFilterCategoryQuery.java | 4 +-- .../model/ContentCategoryLevelFilter.java | 2 +- .../client/model/ContentCategoryQuery.java | 4 +-- ...entCategoryRecentlyViewedByUserFilter.java | 2 +- .../ContentCategoryRecommendationRequest.java | 8 +++--- .../model/ContentCategorySearchRequest.java | 20 ++++++------- .../client/model/ContentCategoryView.java | 4 +-- .../model/ContentDataBooleanValueFacet.java | 2 +- .../model/ContentDataDoubleRangeFacet.java | 4 +-- .../model/ContentDataDoubleRangesFacet.java | 2 +- .../model/ContentDataDoubleValueFacet.java | 2 +- .../client/model/ContentDataFilter.java | 8 +++--- .../client/model/ContentDataHasKeyFilter.java | 2 +- .../model/ContentDataIntegerValueFacet.java | 2 +- .../client/model/ContentDataObjectFacet.java | 2 +- .../model/ContentDataStringValueFacet.java | 2 +- .../client/model/ContentDisabledFilter.java | 2 +- .../model/ContentHasCategoriesFilter.java | 2 +- .../client/model/ContentIdFilter.java | 2 +- .../relewise/client/model/ContentQuery.java | 4 +-- .../ContentRecentlyViewedByUserFilter.java | 2 +- .../model/ContentRecommendationRequest.java | 8 +++--- .../ContentRecommendationRequestSettings.java | 2 +- .../client/model/ContentSearchRequest.java | 26 ++++++++--------- .../client/model/ContentSearchSettings.java | 2 +- .../relewise/client/model/ContentView.java | 4 +-- ...tentsViewedAfterViewingContentRequest.java | 8 +++--- ...edAfterViewingMultipleContentsRequest.java | 8 +++--- ...edAfterViewingMultipleProductsRequest.java | 8 +++--- ...tentsViewedAfterViewingProductRequest.java | 8 +++--- .../CustomProductRecommendationRequest.java | 10 +++---- .../com/relewise/client/model/DataFilter.java | 8 +++--- .../model/DataObjectBooleanValueFacet.java | 2 +- .../model/DataObjectDoubleRangeFacet.java | 4 +-- .../model/DataObjectDoubleRangesFacet.java | 2 +- .../model/DataObjectDoubleValueFacet.java | 2 +- .../client/model/DataObjectFacet.java | 2 +- .../model/DataObjectStringValueFacet.java | 2 +- .../client/model/DataObjectValueSelector.java | 6 ++-- .../relewise/client/model/DecompoundRule.java | 6 ++-- .../model/DoubleContentDataRangeFacet.java | 4 +-- .../model/DoubleContentDataRangesFacet.java | 2 +- .../model/DoubleContentDataValueFacet.java | 2 +- .../model/DoubleDataObjectRangeFacet.java | 4 +-- .../model/DoubleDataObjectRangesFacet.java | 2 +- .../model/DoubleDataObjectValueFacet.java | 2 +- .../client/model/DoubleDataRangeFacet.java | 4 +-- .../client/model/DoubleDataRangesFacet.java | 2 +- .../client/model/DoubleDataValueFacet.java | 2 +- .../DoubleProductCategoryDataRangeFacet.java | 4 +-- .../DoubleProductCategoryDataRangesFacet.java | 2 +- .../DoubleProductCategoryDataValueFacet.java | 2 +- .../model/DoubleProductDataRangeFacet.java | 4 +-- .../model/DoubleProductDataRangesFacet.java | 2 +- .../model/DoubleProductDataValueFacet.java | 2 +- .../client/model/DoubleValueFacet.java | 2 +- .../java/com/relewise/client/model/Facet.java | 2 +- .../client/model/FieldIndexConfiguration.java | 4 +-- .../com/relewise/client/model/Filter.java | 2 +- .../relewise/client/model/FilterScopes.java | 4 +-- .../relewise/client/model/FilterSettings.java | 2 +- .../model/FilteredVariantsSettings.java | 2 +- .../model/HasAncestorCategoryFilter.java | 2 +- .../client/model/HasChildCategoryFilter.java | 2 +- .../client/model/HasParentCategoryFilter.java | 2 +- .../model/IntegerContentDataValueFacet.java | 2 +- .../client/model/IntegerDataValueFacet.java | 2 +- .../model/IntegerProductDataValueFacet.java | 2 +- .../client/model/IntegerValueFacet.java | 2 +- .../LanguageIndexConfigurationEntry.java | 2 +- .../com/relewise/client/model/LineItem.java | 4 +-- .../com/relewise/client/model/Location.java | 6 ++-- ...nsRequestEntityFiltersEntitiesRequest.java | 4 +-- ...aValuesRetailMediaEntityEntityFilters.java | 2 +- .../client/model/LocationMetadataValues.java | 6 ++-- .../client/model/LocationPlacement.java | 4 +-- .../model/LocationPlacementVariation.java | 4 +-- .../client/model/LocationsRequest.java | 4 +-- .../model/LocationsRequestEntityFilters.java | 2 +- .../client/model/MultilingualValue.java | 2 +- .../com/relewise/client/model/OrFilter.java | 2 +- .../java/com/relewise/client/model/Order.java | 10 +++---- .../client/model/PaginatedSearchRequest.java | 18 ++++++------ .../PersonalBrandRecommendationRequest.java | 8 +++--- ...lContentCategoryRecommendationRequest.java | 8 +++--- .../PersonalContentRecommendationRequest.java | 8 +++--- ...lProductCategoryRecommendationRequest.java | 8 +++--- .../PersonalProductRecommendationRequest.java | 8 +++--- .../PopularBrandsRecommendationRequest.java | 8 +++--- ...ontentCategoriesRecommendationRequest.java | 8 +++--- .../client/model/PopularContentsRequest.java | 8 +++--- ...roductCategoriesRecommendationRequest.java | 8 +++--- .../client/model/PopularProductsRequest.java | 10 +++---- ...pularSearchTermsRecommendationRequest.java | 12 ++++---- .../relewise/client/model/PredictionRule.java | 4 +-- .../client/model/PriceRangeFacet.java | 4 +-- .../client/model/PriceRangesFacet.java | 2 +- .../com/relewise/client/model/Product.java | 10 +++---- .../model/ProductAdministrativeAction.java | 4 +-- .../client/model/ProductAndVariantId.java | 2 +- .../ProductAndVariantIdAbandonedSearch.java | 2 +- .../model/ProductAndVariantIdFilter.java | 2 +- .../client/model/ProductAssortmentFacet.java | 2 +- .../client/model/ProductAssortmentFilter.java | 2 +- .../ProductCategoryAdministrativeAction.java | 4 +-- .../model/ProductCategoryAssortmentFacet.java | 2 +- .../ProductCategoryAssortmentFilter.java | 2 +- .../ProductCategoryDataBooleanValueFacet.java | 2 +- .../ProductCategoryDataDoubleRangeFacet.java | 4 +-- .../ProductCategoryDataDoubleRangesFacet.java | 2 +- .../ProductCategoryDataDoubleValueFacet.java | 2 +- .../model/ProductCategoryDataFilter.java | 8 +++--- .../ProductCategoryDataHasKeyFilter.java | 2 +- .../model/ProductCategoryDataObjectFacet.java | 2 +- .../ProductCategoryDataStringValueFacet.java | 2 +- .../model/ProductCategoryDisabledFilter.java | 2 +- .../ProductCategoryHasAncestorFilter.java | 2 +- .../model/ProductCategoryHasChildFilter.java | 2 +- .../model/ProductCategoryHasParentFilter.java | 2 +- .../ProductCategoryHasProductsFilter.java | 2 +- .../client/model/ProductCategoryIdFilter.java | 2 +- .../ProductCategoryIdFilterCategoryQuery.java | 4 +-- .../model/ProductCategoryLevelFilter.java | 2 +- .../client/model/ProductCategoryQuery.java | 4 +-- ...uctCategoryRecentlyViewedByUserFilter.java | 2 +- .../ProductCategoryRecommendationRequest.java | 8 +++--- .../model/ProductCategorySearchRequest.java | 26 ++++++++--------- .../model/ProductCategorySearchSettings.java | 2 +- .../client/model/ProductCategoryView.java | 4 +-- .../ProductChangeTriggerConfiguration.java | 4 +-- ...ectorEntityChangeTriggerConfiguration.java | 4 +-- .../model/ProductDataBooleanValueFacet.java | 2 +- .../model/ProductDataDoubleRangeFacet.java | 4 +-- .../model/ProductDataDoubleRangesFacet.java | 2 +- .../model/ProductDataDoubleValueFacet.java | 2 +- .../client/model/ProductDataFilter.java | 8 +++--- .../client/model/ProductDataHasKeyFilter.java | 2 +- .../model/ProductDataIntegerValueFacet.java | 2 +- .../client/model/ProductDataObjectFacet.java | 2 +- .../model/ProductDataStringValueFacet.java | 2 +- .../client/model/ProductDisabledFilter.java | 2 +- .../model/ProductDisplayNameFilter.java | 6 ++-- .../model/ProductHasCategoriesFilter.java | 2 +- .../model/ProductHasVariantsFilter.java | 2 +- .../client/model/ProductIdFilter.java | 2 +- .../client/model/ProductListPriceFilter.java | 4 +-- .../ProductListPriceRelevanceModifier.java | 2 +- .../model/ProductPerformanceRequest.java | 12 ++++---- .../client/model/ProductPromotion.java | 4 +-- .../model/ProductPromotionSpecification.java | 2 +- .../relewise/client/model/ProductQuery.java | 6 ++-- ...oductRecentlyPurchasedByCompanyFilter.java | 2 +- ...tRecentlyPurchasedByUserCompanyFilter.java | 2 +- .../ProductRecentlyPurchasedByUserFilter.java | 2 +- ...tlyPurchasedByUserParentCompanyFilter.java | 2 +- .../ProductRecentlyViewedByCompanyFilter.java | 2 +- ...ductRecentlyViewedByUserCompanyFilter.java | 2 +- .../ProductRecentlyViewedByUserFilter.java | 2 +- ...centlyViewedByUserParentCompanyFilter.java | 2 +- .../model/ProductRecommendationRequest.java | 8 +++--- .../ProductRecommendationRequestSettings.java | 6 ++-- .../client/model/ProductSalesPriceFilter.java | 4 +-- .../ProductSalesPriceRelevanceModifier.java | 2 +- .../client/model/ProductSearchRequest.java | 28 +++++++++---------- .../client/model/ProductSearchSettings.java | 10 +++---- .../relewise/client/model/ProductVariant.java | 10 +++---- .../relewise/client/model/ProductView.java | 6 ++-- ...ductsViewedAfterViewingContentRequest.java | 8 +++--- ...ductsViewedAfterViewingProductRequest.java | 8 +++--- .../com/relewise/client/model/Promotion.java | 2 +- .../client/model/PromotionLocation.java | 2 +- .../PromotionSpecificationCollection.java | 2 +- ...otionSpecificationVariationCollection.java | 2 +- .../PurchasedWithCurrentCartRequest.java | 8 +++--- .../PurchasedWithMultipleProductsRequest.java | 8 +++--- .../model/PurchasedWithProductRequest.java | 8 +++--- .../model/RecentlyViewedProductsRequest.java | 8 +++--- .../client/model/RecommendationRequest.java | 8 +++--- .../relewise/client/model/RedirectResult.java | 4 +-- .../relewise/client/model/RedirectRule.java | 8 +++--- .../client/model/RequestFilterCriteria.java | 2 +- .../client/model/RetailMediaResult.java | 2 +- ...etailMediaResultPlacementResultEntity.java | 2 +- .../relewise/client/model/SearchRequest.java | 18 ++++++------ .../client/model/SearchRequestCollection.java | 18 ++++++------ .../model/SearchResultModifierRule.java | 4 +-- .../com/relewise/client/model/SearchRule.java | 4 +-- .../client/model/SearchRuleFilters.java | 2 +- .../com/relewise/client/model/SearchTerm.java | 2 +- ...TermBasedProductRecommendationRequest.java | 8 +++--- .../client/model/SearchTermCondition.java | 2 +- .../client/model/SearchTermModifierRule.java | 4 +-- ...archTermModifierRuleReplaceTermAction.java | 2 +- ...mModifierRuleReplaceWordsInTermAction.java | 2 +- .../model/SearchTermPredictionRequest.java | 20 ++++++------- .../SelectedProductPropertiesSettings.java | 2 +- .../client/model/SignificantDataValue.java | 2 +- .../SimilarProductsEvaluationSettings.java | 4 +-- .../client/model/SimilarProductsRequest.java | 14 +++++----- .../client/model/SortProductsRequest.java | 8 +++--- .../client/model/SortVariantsRequest.java | 8 +++--- .../relewise/client/model/StemmingRule.java | 6 ++-- .../client/model/StringAbandonedSearch.java | 2 +- .../model/StringContentDataValueFacet.java | 2 +- .../model/StringDataObjectValueFacet.java | 2 +- .../client/model/StringDataValueFacet.java | 2 +- .../StringProductCategoryDataValueFacet.java | 2 +- .../model/StringProductDataValueFacet.java | 2 +- .../client/model/StringValueFacet.java | 2 +- .../java/com/relewise/client/model/User.java | 18 ++++++------ .../UserAssociatedCompanyResultDetails.java | 4 +-- .../com/relewise/client/model/UserQuery.java | 4 +-- .../client/model/UserQueryCriteria.java | 12 ++++---- .../client/model/UserResultDetails.java | 4 +-- .../client/model/VariantAssortmentFilter.java | 2 +- .../VariantChangeTriggerConfiguration.java | 4 +-- ...ectorEntityChangeTriggerConfiguration.java | 4 +-- .../client/model/VariantDataFilter.java | 8 +++--- .../client/model/VariantDataHasKeyFilter.java | 2 +- .../client/model/VariantDisabledFilter.java | 2 +- .../client/model/VariantIdFilter.java | 2 +- .../client/model/VariantListPriceFilter.java | 4 +-- .../VariantListPriceRelevanceModifier.java | 2 +- .../client/model/VariantSalesPriceFilter.java | 4 +-- .../VariantSalesPriceRelevanceModifier.java | 2 +- .../model/VariantSpecificationFacet.java | 2 +- .../model/VariantSpecificationFilter.java | 2 +- 300 files changed, 646 insertions(+), 634 deletions(-) diff --git a/Generator/JavaMemberWriters/JavaPropertySetterMethodsWriter.cs b/Generator/JavaMemberWriters/JavaPropertySetterMethodsWriter.cs index b859601..8500653 100644 --- a/Generator/JavaMemberWriters/JavaPropertySetterMethodsWriter.cs +++ b/Generator/JavaMemberWriters/JavaPropertySetterMethodsWriter.cs @@ -44,7 +44,7 @@ public void Write(IndentedTextWriter writer, Type returnType, string returnTypeN javaWriter.XmlDocumentation.GetSummary(returnType, propertyName), deprecationComment ); - var parameterType = javaWriter.BetterTypedParameterTypeName(propertyType, new NullabilityInfoContext().Create(info)); + var parameterType = javaWriter.BetterTypedParameterTypeName(info, new NullabilityInfoContext().Create(info)); if (!ownedProperties.Any(p => p.ToLower() == lowerCaseName.ToLower())) { writer.WriteLine("@Override"); diff --git a/Generator/JavaWriter.cs b/Generator/JavaWriter.cs index bc51ef3..b64f443 100644 --- a/Generator/JavaWriter.cs +++ b/Generator/JavaWriter.cs @@ -117,6 +117,18 @@ parameterType.GenericTypeArguments is [var elementType] : TypeName(parameterType); } + public string BetterTypedParameterTypeName(PropertyInfo property, NullabilityInfo nullabilityInfo) + { + Type parameterType = property.PropertyType; + + return parameterType.IsGenericType && parameterType.GetGenericTypeDefinition() == typeof(List<>) && + parameterType.GenericTypeArguments is [var elementType] + ? TypeName(elementType) + "..." + : parameterType.IsArray + ? TypeName(parameterType.GetElementType()!) + "..." + : TypeName(property); + } + public string ValueSetter(Type toType, string toName, Type fromType, string fromName) => (toType, fromType) switch { { fromType: { IsArray: true }, toType: { IsGenericType: true } generic } when generic.GetGenericTypeDefinition() == typeof(List<>) => $"{toName} = new ArrayList<>(Arrays.asList({fromName}));", 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 914dc2a..7061183 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedContentSearch.java @@ -66,7 +66,7 @@ public AbandonedContentSearch setHits(Integer hits) return this; } @Override - public AbandonedContentSearch setLanguage(Language language) + public AbandonedContentSearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 11f4932..04c8ee2 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedProductCategorySearch.java @@ -66,7 +66,7 @@ public AbandonedProductCategorySearch setHits(Integer hits) return this; } @Override - public AbandonedProductCategorySearch setLanguage(Language language) + public AbandonedProductCategorySearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 63dbf6e..4eb65ae 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedProductSearch.java @@ -66,7 +66,7 @@ public AbandonedProductSearch setHits(Integer hits) return this; } @Override - public AbandonedProductSearch setLanguage(Language language) + public AbandonedProductSearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 657af17..df78698 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearch.java @@ -55,7 +55,7 @@ public AbandonedSearch setHits(Integer hits) this.hits = hits; return this; } - public AbandonedSearch setLanguage(Language language) + public AbandonedSearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 88ddadb..aeb2288 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerConfiguration.java @@ -94,7 +94,7 @@ public AbandonedSearchTriggerConfiguration addToSearchTypesInPrioritizedOrder(Se } return this; } - public AbandonedSearchTriggerConfiguration setSearchTermCondition(SearchTermCondition searchTermCondition) + public AbandonedSearchTriggerConfiguration setSearchTermCondition(@Nullable SearchTermCondition searchTermCondition) { this.searchTermCondition = searchTermCondition; return this; diff --git a/src/src/main/java/com/relewise/client/model/Advertiser.java b/src/src/main/java/com/relewise/client/model/Advertiser.java index 81600ea..7abd5f3 100644 --- a/src/src/main/java/com/relewise/client/model/Advertiser.java +++ b/src/src/main/java/com/relewise/client/model/Advertiser.java @@ -66,13 +66,13 @@ public Advertiser setName(String name) return this; } /** Defines what kind of promotions an advertiser is allowed to create, and constraints to what may be promoted. Constraints could as an example be all products belonging to the brand(s) this Advertiser is associated with. If null or empty, an advertiser will not be allowed to make any promotions anywhere, only useful for Advertisers in draft. */ - public Advertiser setAllowedPromotions(PromotionSpecificationCollection allowedPromotions) + public Advertiser setAllowedPromotions(@Nullable PromotionSpecificationCollection allowedPromotions) { this.allowedPromotions = allowedPromotions; return this; } /** Defines locations/placements/variations where this advertiser is allowed to make promotions at. If null or empty, an advertiser will not be allowed to make any promotions anywhere, only useful for Advertisers in draft. */ - public Advertiser setAllowedLocations(PromotionLocationCollection allowedLocations) + public Advertiser setAllowedLocations(@Nullable PromotionLocationCollection allowedLocations) { this.allowedLocations = allowedLocations; return this; diff --git a/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest.java b/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest.java index 2664a95..cd55feb 100644 --- a/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest.java +++ b/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest.java @@ -47,12 +47,12 @@ public Integer getTake() { return this.take; } - public AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest setFilters(AdvertisersRequestEntityFilters filters) + public AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest setFilters(@Nullable AdvertisersRequestEntityFilters filters) { this.filters = filters; return this; } - public AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest setSorting(AdvertisersRequestSortBySorting sorting) + public AdvertiserEntityStateAdvertiserMetadataValuesAdvertisersRequestSortByAdvertisersRequestEntityFiltersEntitiesRequest setSorting(@Nullable AdvertisersRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters.java b/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters.java index 69bddd2..84d942a 100644 --- a/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters.java @@ -37,7 +37,7 @@ public abstract class AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEn { return this.states; } - public AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters setTerm(String term) + public AdvertiserEntityStateAdvertiserMetadataValuesRetailMediaEntityEntityFilters setTerm(@Nullable String term) { this.term = term; return this; diff --git a/src/src/main/java/com/relewise/client/model/AdvertiserMetadataValues.java b/src/src/main/java/com/relewise/client/model/AdvertiserMetadataValues.java index 171e25f..6d12028 100644 --- a/src/src/main/java/com/relewise/client/model/AdvertiserMetadataValues.java +++ b/src/src/main/java/com/relewise/client/model/AdvertiserMetadataValues.java @@ -68,7 +68,7 @@ public AdvertiserMetadataValues setInactivated(@Nullable OffsetDateTime inactiva this.inactivated = inactivated; return this; } - public AdvertiserMetadataValues setInactivatedBy(String inactivatedBy) + public AdvertiserMetadataValues setInactivatedBy(@Nullable String inactivatedBy) { this.inactivatedBy = inactivatedBy; return this; @@ -78,7 +78,7 @@ public AdvertiserMetadataValues setActivated(@Nullable OffsetDateTime activated) this.activated = activated; return this; } - public AdvertiserMetadataValues setActivatedBy(String activatedBy) + public AdvertiserMetadataValues setActivatedBy(@Nullable String activatedBy) { this.activatedBy = activatedBy; return this; @@ -88,7 +88,7 @@ public AdvertiserMetadataValues setArchived(@Nullable OffsetDateTime archived) this.archived = archived; return this; } - public AdvertiserMetadataValues setArchivedBy(String archivedBy) + public AdvertiserMetadataValues setArchivedBy(@Nullable String archivedBy) { this.archivedBy = archivedBy; return this; diff --git a/src/src/main/java/com/relewise/client/model/AdvertisersRequest.java b/src/src/main/java/com/relewise/client/model/AdvertisersRequest.java index 8a76979..25f5b97 100644 --- a/src/src/main/java/com/relewise/client/model/AdvertisersRequest.java +++ b/src/src/main/java/com/relewise/client/model/AdvertisersRequest.java @@ -41,13 +41,13 @@ public AdvertisersRequest() { } @Override - public AdvertisersRequest setFilters(AdvertisersRequestEntityFilters filters) + public AdvertisersRequest setFilters(@Nullable AdvertisersRequestEntityFilters filters) { this.filters = filters; return this; } @Override - public AdvertisersRequest setSorting(AdvertisersRequestSortBySorting sorting) + public AdvertisersRequest setSorting(@Nullable AdvertisersRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/AdvertisersRequestEntityFilters.java b/src/src/main/java/com/relewise/client/model/AdvertisersRequestEntityFilters.java index a2de7ba..5c75d56 100644 --- a/src/src/main/java/com/relewise/client/model/AdvertisersRequestEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/AdvertisersRequestEntityFilters.java @@ -58,7 +58,7 @@ public AdvertisersRequestEntityFilters addToIds(UUID id) return this; } @Override - public AdvertisersRequestEntityFilters setTerm(String term) + public AdvertisersRequestEntityFilters setTerm(@Nullable String term) { this.term = term; return this; 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 8b1960f..fdb3289 100644 --- a/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java +++ b/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java @@ -38,12 +38,12 @@ public abstract class AnalyzerRequest extends LicensedRequest { return this.currency; } - public AnalyzerRequest setLanguage(Language language) + public AnalyzerRequest setLanguage(@Nullable Language language) { this.language = language; return this; } - public AnalyzerRequest setCurrency(Currency currency) + public AnalyzerRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 cf564ef..fc9f16d 100644 --- a/src/src/main/java/com/relewise/client/model/AndFilter.java +++ b/src/src/main/java/com/relewise/client/model/AndFilter.java @@ -79,7 +79,7 @@ public AndFilter setNegated(Boolean negated) return this; } @Override - public AndFilter setSettings(FilterSettings settings) + public AndFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 6761b49..79f97d4 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFacet.java @@ -59,7 +59,7 @@ public AssortmentFacet setField(FacetingField field) return this; } @Override - public AssortmentFacet setSettings(FacetSettings settings) + public AssortmentFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 41d2498..fe4f41b 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java @@ -61,7 +61,7 @@ public BooleanContentDataValueFacet setField(FacetingField field) return this; } @Override - public BooleanContentDataValueFacet setSettings(FacetSettings settings) + public BooleanContentDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 5cf44eb..af9f12e 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java @@ -61,7 +61,7 @@ public BooleanDataObjectValueFacet setField(FacetingField field) return this; } @Override - public BooleanDataObjectValueFacet setSettings(FacetSettings settings) + public BooleanDataObjectValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 d8b48a1..20c7c7a 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java @@ -69,7 +69,7 @@ public BooleanDataValueFacet setField(FacetingField field) return this; } @Override - public BooleanDataValueFacet setSettings(FacetSettings settings) + public BooleanDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 3b4740d..638a982 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java @@ -61,7 +61,7 @@ public BooleanProductCategoryDataValueFacet setField(FacetingField field) return this; } @Override - public BooleanProductCategoryDataValueFacet setSettings(FacetSettings settings) + public BooleanProductCategoryDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 0843b22..e1dd5cc 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java @@ -71,7 +71,7 @@ public BooleanProductDataValueFacet setField(FacetingField field) return this; } @Override - public BooleanProductDataValueFacet setSettings(FacetSettings settings) + public BooleanProductDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 710efa1..e3e6f3b 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java @@ -53,7 +53,7 @@ public BooleanValueFacet setField(FacetingField field) return this; } @Override - public BooleanValueFacet setSettings(FacetSettings settings) + public BooleanValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 6071c8c..a759049 100644 --- a/src/src/main/java/com/relewise/client/model/Brand.java +++ b/src/src/main/java/com/relewise/client/model/Brand.java @@ -56,7 +56,7 @@ public Brand setId(String id) this.id = id; return this; } - public Brand setDisplayName(String displayName) + public Brand setDisplayName(@Nullable String displayName) { this.displayName = displayName; return this; @@ -84,7 +84,7 @@ public Brand addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Brand setData(HashMap data) + public Brand setData(@Nullable HashMap data) { this.data = data; return this; 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 678c969..284e952 100644 --- a/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/BrandAdministrativeAction.java @@ -65,7 +65,7 @@ public BrandAdministrativeAction setFilters(FilterCollection filters) this.filters = filters; return this; } - public BrandAdministrativeAction setLanguage(Language language) + public BrandAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -75,7 +75,7 @@ public BrandAdministrativeAction setKind(BrandAdministrativeActionUpdateKind kin this.kind = kind; return this; } - public BrandAdministrativeAction setCurrency(Currency currency) + public BrandAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 bfe0e9a..e0300e2 100644 --- a/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandAssortmentFilter.java @@ -68,7 +68,7 @@ public BrandAssortmentFilter setNegated(Boolean negated) return this; } @Override - public BrandAssortmentFilter setSettings(FilterSettings settings) + public BrandAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 e0aba4a..c68b070 100644 --- a/src/src/main/java/com/relewise/client/model/BrandDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandDataFilter.java @@ -107,19 +107,19 @@ public BrandDataFilter setMustMatchAllConditions(Boolean mustMatchAllConditions) return this; } @Override - public BrandDataFilter setConditions(ValueConditionCollection conditions) + public BrandDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public BrandDataFilter setLanguage(Language language) + public BrandDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public BrandDataFilter setCurrency(Currency currency) + public BrandDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public BrandDataFilter setNegated(Boolean negated) return this; } @Override - public BrandDataFilter setSettings(FilterSettings settings) + public BrandDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/BrandDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/BrandDataHasKeyFilter.java index c9f67f0..cbc4643 100644 --- a/src/src/main/java/com/relewise/client/model/BrandDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandDataHasKeyFilter.java @@ -65,7 +65,7 @@ public BrandDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public BrandDataHasKeyFilter setSettings(FilterSettings settings) + public BrandDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/BrandDisabledFilter.java b/src/src/main/java/com/relewise/client/model/BrandDisabledFilter.java index 2659723..1cb62d8 100644 --- a/src/src/main/java/com/relewise/client/model/BrandDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandDisabledFilter.java @@ -49,7 +49,7 @@ public BrandDisabledFilter setNegated(Boolean negated) return this; } @Override - public BrandDisabledFilter setSettings(FilterSettings settings) + public BrandDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 992029d..578a65e 100644 --- a/src/src/main/java/com/relewise/client/model/BrandFacet.java +++ b/src/src/main/java/com/relewise/client/model/BrandFacet.java @@ -59,7 +59,7 @@ public BrandFacet setField(FacetingField field) return this; } @Override - public BrandFacet setSettings(FacetSettings settings) + public BrandFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 d61945c..60ccf70 100644 --- a/src/src/main/java/com/relewise/client/model/BrandIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/BrandIdFilter.java @@ -68,7 +68,7 @@ public BrandIdFilter setNegated(Boolean negated) return this; } @Override - public BrandIdFilter setSettings(FilterSettings settings) + public BrandIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 e027050..e397f7b 100644 --- a/src/src/main/java/com/relewise/client/model/BrandQuery.java +++ b/src/src/main/java/com/relewise/client/model/BrandQuery.java @@ -89,12 +89,12 @@ public BrandQuery setNumberOfResults(Integer numberOfResults) this.numberOfResults = numberOfResults; return this; } - public BrandQuery setLanguage(Language language) + public BrandQuery setLanguage(@Nullable Language language) { this.language = language; return this; } - public BrandQuery setCurrency(Currency currency) + public BrandQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 fcdef5c..eb077f3 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java @@ -40,13 +40,13 @@ public BrandRecommendationRequest setSettings(BrandRecommendationRequestSettings return this; } @Override - public BrandRecommendationRequest setLanguage(Language language) + public BrandRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public BrandRecommendationRequest setUser(User user) + public BrandRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -70,14 +70,14 @@ public BrandRecommendationRequest setDisplayedAtLocationType(String displayedAtL return this; } @Override - public BrandRecommendationRequest setCurrency(Currency currency) + public BrandRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public BrandRecommendationRequest setChannel(Channel channel) + public BrandRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 6310f43..382ec44 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java @@ -77,7 +77,7 @@ public BrandRecommendationRequestSettings setPrioritizeDiversityBetweenRequests( this.prioritizeDiversityBetweenRequests = prioritizeDiversityBetweenRequests; return this; } - public BrandRecommendationRequestSettings setSelectedBrandProperties(SelectedBrandPropertiesSettings selectedBrandProperties) + public BrandRecommendationRequestSettings setSelectedBrandProperties(@Nullable SelectedBrandPropertiesSettings selectedBrandProperties) { this.selectedBrandProperties = selectedBrandProperties; return this; 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 6704dfd..09d40f4 100644 --- a/src/src/main/java/com/relewise/client/model/BrandView.java +++ b/src/src/main/java/com/relewise/client/model/BrandView.java @@ -55,7 +55,7 @@ public Brand getBrand() { return this.channel; } - public BrandView setUser(User user) + public BrandView setUser(@Nullable User user) { this.user = user; return this; @@ -66,7 +66,7 @@ public BrandView setBrand(Brand brand) return this; } /** @deprecated Use User.Channel instead. */ - public BrandView setChannel(Channel channel) + public BrandView setChannel(@Nullable Channel channel) { this.channel = channel; return this; diff --git a/src/src/main/java/com/relewise/client/model/Campaign.java b/src/src/main/java/com/relewise/client/model/Campaign.java index 7b0f99c..e348d10 100644 --- a/src/src/main/java/com/relewise/client/model/Campaign.java +++ b/src/src/main/java/com/relewise/client/model/Campaign.java @@ -78,7 +78,7 @@ public Campaign setName(String name) this.name = name; return this; } - public Campaign setSchedule(ISchedule schedule) + public Campaign setSchedule(@Nullable ISchedule schedule) { this.schedule = schedule; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignAnalyticsRequest.java b/src/src/main/java/com/relewise/client/model/CampaignAnalyticsRequest.java index 92c8ef5..e5d478a 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignAnalyticsRequest.java +++ b/src/src/main/java/com/relewise/client/model/CampaignAnalyticsRequest.java @@ -68,7 +68,7 @@ public CampaignAnalyticsRequest setPeriodUtc(LocalDateTimeRange periodUtc) this.periodUtc = periodUtc; return this; } - public CampaignAnalyticsRequest setFilters(FilterCollection filters) + public CampaignAnalyticsRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest.java b/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest.java index c507a0c..95e7341 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest.java +++ b/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest.java @@ -47,12 +47,12 @@ public Integer getTake() { return this.take; } - public CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest setFilters(CampaignsRequestEntityFilters filters) + public CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest setFilters(@Nullable CampaignsRequestEntityFilters filters) { this.filters = filters; return this; } - public CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest setSorting(CampaignsRequestSortBySorting sorting) + public CampaignEntityStateCampaignMetadataValuesCampaignsRequestSortByCampaignsRequestEntityFiltersEntitiesRequest setSorting(@Nullable CampaignsRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters.java b/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters.java index ee3b85d..d31c2fe 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters.java @@ -37,7 +37,7 @@ public abstract class CampaignEntityStateCampaignMetadataValuesRetailMediaEntity { return this.states; } - public CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters setTerm(String term) + public CampaignEntityStateCampaignMetadataValuesRetailMediaEntityEntityFilters setTerm(@Nullable String term) { this.term = term; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignMetadataValues.java b/src/src/main/java/com/relewise/client/model/CampaignMetadataValues.java index 910e9ad..7e0dba5 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignMetadataValues.java +++ b/src/src/main/java/com/relewise/client/model/CampaignMetadataValues.java @@ -68,7 +68,7 @@ public CampaignMetadataValues setProposed(@Nullable OffsetDateTime proposed) this.proposed = proposed; return this; } - public CampaignMetadataValues setProposedBy(String proposedBy) + public CampaignMetadataValues setProposedBy(@Nullable String proposedBy) { this.proposedBy = proposedBy; return this; @@ -78,7 +78,7 @@ public CampaignMetadataValues setApproved(@Nullable OffsetDateTime approved) this.approved = approved; return this; } - public CampaignMetadataValues setApprovedBy(String approvedBy) + public CampaignMetadataValues setApprovedBy(@Nullable String approvedBy) { this.approvedBy = approvedBy; return this; @@ -88,7 +88,7 @@ public CampaignMetadataValues setArchived(@Nullable OffsetDateTime archived) this.archived = archived; return this; } - public CampaignMetadataValues setArchivedBy(String archivedBy) + public CampaignMetadataValues setArchivedBy(@Nullable String archivedBy) { this.archivedBy = archivedBy; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignsRequest.java b/src/src/main/java/com/relewise/client/model/CampaignsRequest.java index 412d8d8..24059b4 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignsRequest.java +++ b/src/src/main/java/com/relewise/client/model/CampaignsRequest.java @@ -41,13 +41,13 @@ public CampaignsRequest() { } @Override - public CampaignsRequest setFilters(CampaignsRequestEntityFilters filters) + public CampaignsRequest setFilters(@Nullable CampaignsRequestEntityFilters filters) { this.filters = filters; return this; } @Override - public CampaignsRequest setSorting(CampaignsRequestSortBySorting sorting) + public CampaignsRequest setSorting(@Nullable CampaignsRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/CampaignsRequestEntityFilters.java b/src/src/main/java/com/relewise/client/model/CampaignsRequestEntityFilters.java index 0a97c8f..4f2b1c9 100644 --- a/src/src/main/java/com/relewise/client/model/CampaignsRequestEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/CampaignsRequestEntityFilters.java @@ -82,7 +82,7 @@ public CampaignsRequestEntityFilters addToAdvertiserIds(UUID advertiserId) return this; } @Override - public CampaignsRequestEntityFilters setTerm(String term) + public CampaignsRequestEntityFilters setTerm(@Nullable String term) { this.term = term; return this; 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 3050540..da027e6 100644 --- a/src/src/main/java/com/relewise/client/model/Cart.java +++ b/src/src/main/java/com/relewise/client/model/Cart.java @@ -83,17 +83,17 @@ public Cart() { return this.channel; } - public Cart setUser(User user) + public Cart setUser(@Nullable User user) { this.user = user; return this; } - public Cart setName(String name) + public Cart setName(@Nullable String name) { this.name = name; return this; } - public Cart setSubtotal(Money subtotal) + public Cart setSubtotal(@Nullable Money subtotal) { this.subtotal = subtotal; return this; @@ -121,13 +121,13 @@ public Cart addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Cart setData(HashMap data) + public Cart setData(@Nullable HashMap data) { this.data = data; return this; } /** @deprecated Use User.Channel instead. */ - public Cart setChannel(Channel channel) + public Cart setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 3c19dc2..2109646 100644 --- a/src/src/main/java/com/relewise/client/model/CartDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/CartDataFilter.java @@ -105,17 +105,17 @@ public CartDataFilter setMustMatchAllConditions(Boolean mustMatchAllConditions) this.mustMatchAllConditions = mustMatchAllConditions; return this; } - public CartDataFilter setConditions(ValueConditionCollection conditions) + public CartDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } - public CartDataFilter setLanguage(Language language) + public CartDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } - public CartDataFilter setCurrency(Currency currency) + public CartDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -127,7 +127,7 @@ public CartDataFilter setNegated(Boolean negated) return this; } @Override - public CartDataFilter setSettings(FilterSettings settings) + public CartDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 dddfc3a..707ec34 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java @@ -52,7 +52,7 @@ public CategoryAdministrativeAction setFilters(FilterCollection filters) this.filters = filters; return this; } - public CategoryAdministrativeAction setLanguage(Language language) + public CategoryAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -62,7 +62,7 @@ public CategoryAdministrativeAction setKind(CategoryAdministrativeActionUpdateKi this.kind = kind; return this; } - public CategoryAdministrativeAction setCurrency(Currency currency) + public CategoryAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 6d85947..0feb61f 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryFacet.java +++ b/src/src/main/java/com/relewise/client/model/CategoryFacet.java @@ -70,7 +70,7 @@ public CategoryFacet setField(FacetingField field) return this; } @Override - public CategoryFacet setSettings(FacetSettings settings) + public CategoryFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacet.java b/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacet.java index 71ef61d..e841838 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacet.java +++ b/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacet.java @@ -53,7 +53,7 @@ public CategoryHierarchyFacet setCategorySelectionStrategy(CategorySelectionStra this.categorySelectionStrategy = categorySelectionStrategy; return this; } - public CategoryHierarchyFacet setSelectedPropertiesSettings(SelectedCategoryPropertiesSettings selectedPropertiesSettings) + public CategoryHierarchyFacet setSelectedPropertiesSettings(@Nullable SelectedCategoryPropertiesSettings selectedPropertiesSettings) { this.selectedPropertiesSettings = selectedPropertiesSettings; return this; @@ -80,7 +80,7 @@ public CategoryHierarchyFacet setField(FacetingField field) return this; } @Override - public CategoryHierarchyFacet setSettings(FacetSettings settings) + public CategoryHierarchyFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacetResultCategoryNode.java b/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacetResultCategoryNode.java index 4482529..11870a5 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacetResultCategoryNode.java +++ b/src/src/main/java/com/relewise/client/model/CategoryHierarchyFacetResultCategoryNode.java @@ -70,7 +70,7 @@ public CategoryHierarchyFacetResultCategoryNode setHits(Integer hits) this.hits = hits; return this; } - public CategoryHierarchyFacetResultCategoryNode setParentId(String parentId) + public CategoryHierarchyFacetResultCategoryNode setParentId(@Nullable String parentId) { this.parentId = parentId; return this; 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 3e76591..bcc49bd 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java @@ -65,7 +65,7 @@ public CategoryIdFilter setNegated(Boolean negated) return this; } @Override - public CategoryIdFilter setSettings(FilterSettings settings) + public CategoryIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 6e2ed21..1a2e152 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java @@ -55,7 +55,7 @@ public CategoryLevelFilter setNegated(Boolean negated) return this; } @Override - public CategoryLevelFilter setSettings(FilterSettings settings) + public CategoryLevelFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 3e4eded..b458e84 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java @@ -68,7 +68,7 @@ public CategoryNameAndId setId(String id) this.id = id; return this; } - public CategoryNameAndId setDisplayName(Multilingual displayName) + public CategoryNameAndId setDisplayName(@Nullable Multilingual displayName) { this.displayName = displayName; return this; diff --git a/src/src/main/java/com/relewise/client/model/CategoryPathValueFacet.java b/src/src/main/java/com/relewise/client/model/CategoryPathValueFacet.java index 5ec80e5..2891be3 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPathValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPathValueFacet.java @@ -53,7 +53,7 @@ public CategoryPathValueFacet setField(FacetingField field) return this; } @Override - public CategoryPathValueFacet setSettings(FacetSettings settings) + public CategoryPathValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/Channel.java b/src/src/main/java/com/relewise/client/model/Channel.java index f64745e..bdb679d 100644 --- a/src/src/main/java/com/relewise/client/model/Channel.java +++ b/src/src/main/java/com/relewise/client/model/Channel.java @@ -55,7 +55,7 @@ public Channel setName(String name) this.name = name; return this; } - public Channel setSubChannel(Channel subChannel) + public Channel setSubChannel(@Nullable Channel subChannel) { this.subChannel = subChannel; return this; diff --git a/src/src/main/java/com/relewise/client/model/Company.java b/src/src/main/java/com/relewise/client/model/Company.java index 32a143b..c354dbc 100644 --- a/src/src/main/java/com/relewise/client/model/Company.java +++ b/src/src/main/java/com/relewise/client/model/Company.java @@ -51,7 +51,7 @@ public Company setId(String id) this.id = id; return this; } - public Company setParent(Company parent) + public Company setParent(@Nullable Company parent) { this.parent = parent; return this; @@ -65,7 +65,7 @@ public Company addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Company setData(HashMap data) + public Company setData(@Nullable HashMap data) { this.data = data; return this; diff --git a/src/src/main/java/com/relewise/client/model/CompanyAdministrativeAction.java b/src/src/main/java/com/relewise/client/model/CompanyAdministrativeAction.java index 644c5c0..abfec0f 100644 --- a/src/src/main/java/com/relewise/client/model/CompanyAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/CompanyAdministrativeAction.java @@ -65,7 +65,7 @@ public CompanyAdministrativeAction setFilters(FilterCollection filters) this.filters = filters; return this; } - public CompanyAdministrativeAction setLanguage(Language language) + public CompanyAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -75,7 +75,7 @@ public CompanyAdministrativeAction setKind(CompanyAdministrativeActionUpdateKind this.kind = kind; return this; } - public CompanyAdministrativeAction setCurrency(Currency currency) + public CompanyAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; diff --git a/src/src/main/java/com/relewise/client/model/CompanyDataFilter.java b/src/src/main/java/com/relewise/client/model/CompanyDataFilter.java index 6a9e4ae..01dc9db 100644 --- a/src/src/main/java/com/relewise/client/model/CompanyDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/CompanyDataFilter.java @@ -107,19 +107,19 @@ public CompanyDataFilter setMustMatchAllConditions(Boolean mustMatchAllCondition return this; } @Override - public CompanyDataFilter setConditions(ValueConditionCollection conditions) + public CompanyDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public CompanyDataFilter setLanguage(Language language) + public CompanyDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public CompanyDataFilter setCurrency(Currency currency) + public CompanyDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public CompanyDataFilter setNegated(Boolean negated) return this; } @Override - public CompanyDataFilter setSettings(FilterSettings settings) + public CompanyDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/CompanyDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/CompanyDataHasKeyFilter.java index 97bbdfc..2041b29 100644 --- a/src/src/main/java/com/relewise/client/model/CompanyDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/CompanyDataHasKeyFilter.java @@ -65,7 +65,7 @@ public CompanyDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public CompanyDataHasKeyFilter setSettings(FilterSettings settings) + public CompanyDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/CompanyDisabledFilter.java b/src/src/main/java/com/relewise/client/model/CompanyDisabledFilter.java index 2a0a900..aaf1206 100644 --- a/src/src/main/java/com/relewise/client/model/CompanyDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/CompanyDisabledFilter.java @@ -49,7 +49,7 @@ public CompanyDisabledFilter setNegated(Boolean negated) return this; } @Override - public CompanyDisabledFilter setSettings(FilterSettings settings) + public CompanyDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/CompanyIdFilter.java b/src/src/main/java/com/relewise/client/model/CompanyIdFilter.java index 2a4ac72..d981c74 100644 --- a/src/src/main/java/com/relewise/client/model/CompanyIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/CompanyIdFilter.java @@ -68,7 +68,7 @@ public CompanyIdFilter setNegated(Boolean negated) return this; } @Override - public CompanyIdFilter setSettings(FilterSettings settings) + public CompanyIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 b624056..4a8a814 100644 --- a/src/src/main/java/com/relewise/client/model/ContainsCondition.java +++ b/src/src/main/java/com/relewise/client/model/ContainsCondition.java @@ -83,7 +83,7 @@ public ContainsConditionCollectionArgumentEvaluationMode getValueCollectionEvalu { return this.objectFilter; } - public ContainsCondition setValue(DataValue value) + public ContainsCondition setValue(@Nullable DataValue value) { this.value = value; return this; @@ -93,7 +93,7 @@ public ContainsCondition setValueCollectionEvaluationMode(ContainsConditionColle this.valueCollectionEvaluationMode = valueCollectionEvaluationMode; return this; } - public ContainsCondition setObjectFilter(DataObjectFilter objectFilter) + public ContainsCondition setObjectFilter(@Nullable DataObjectFilter objectFilter) { this.objectFilter = objectFilter; return this; 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 d5e1e3b..bd0094b 100644 --- a/src/src/main/java/com/relewise/client/model/Content.java +++ b/src/src/main/java/com/relewise/client/model/Content.java @@ -61,7 +61,7 @@ public Content setId(String id) this.id = id; return this; } - public Content setDisplayName(Multilingual displayName) + public Content setDisplayName(@Nullable Multilingual displayName) { this.displayName = displayName; return this; @@ -103,7 +103,7 @@ public Content addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Content setData(HashMap data) + public Content setData(@Nullable HashMap data) { this.data = data; return this; 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 18fe35b..baa3c9f 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ContentAdministrativeAction.java @@ -65,7 +65,7 @@ public ContentAdministrativeAction setFilters(FilterCollection filters) this.filters = filters; return this; } - public ContentAdministrativeAction setLanguage(Language language) + public ContentAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -75,7 +75,7 @@ public ContentAdministrativeAction setKind(ContentAdministrativeActionUpdateKind this.kind = kind; return this; } - public ContentAdministrativeAction setCurrency(Currency currency) + public ContentAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 0219214..19892bc 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentAssortmentFacet.java @@ -66,7 +66,7 @@ public ContentAssortmentFacet setField(FacetingField field) return this; } @Override - public ContentAssortmentFacet setSettings(FacetSettings settings) + public ContentAssortmentFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentAssortmentFilter.java b/src/src/main/java/com/relewise/client/model/ContentAssortmentFilter.java index 998edc6..0c82a03 100644 --- a/src/src/main/java/com/relewise/client/model/ContentAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentAssortmentFilter.java @@ -68,7 +68,7 @@ public ContentAssortmentFilter setNegated(Boolean negated) return this; } @Override - public ContentAssortmentFilter setSettings(FilterSettings settings) + public ContentAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 eb2d863..18096cb 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryAdministrativeAction.java @@ -47,7 +47,7 @@ public ContentCategoryAdministrativeAction setFilters(FilterCollection filters) return this; } @Override - public ContentCategoryAdministrativeAction setLanguage(Language language) + public ContentCategoryAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -59,7 +59,7 @@ public ContentCategoryAdministrativeAction setKind(CategoryAdministrativeActionU return this; } @Override - public ContentCategoryAdministrativeAction setCurrency(Currency currency) + public ContentCategoryAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 fd4e75c..32a14ba 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryAssortmentFilter.java @@ -68,7 +68,7 @@ public ContentCategoryAssortmentFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryAssortmentFilter setSettings(FilterSettings settings) + public ContentCategoryAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 db6684c..b981f56 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryDataFilter.java @@ -107,19 +107,19 @@ public ContentCategoryDataFilter setMustMatchAllConditions(Boolean mustMatchAllC return this; } @Override - public ContentCategoryDataFilter setConditions(ValueConditionCollection conditions) + public ContentCategoryDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public ContentCategoryDataFilter setLanguage(Language language) + public ContentCategoryDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentCategoryDataFilter setCurrency(Currency currency) + public ContentCategoryDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public ContentCategoryDataFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryDataFilter setSettings(FilterSettings settings) + public ContentCategoryDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryDataHasKeyFilter.java index c607dbc..942e771 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryDataHasKeyFilter.java @@ -65,7 +65,7 @@ public ContentCategoryDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryDataHasKeyFilter setSettings(FilterSettings settings) + public ContentCategoryDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryDisabledFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryDisabledFilter.java index 7c4785f..e2bca50 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryDisabledFilter.java @@ -49,7 +49,7 @@ public ContentCategoryDisabledFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryDisabledFilter setSettings(FilterSettings settings) + public ContentCategoryDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 cfb93ee..231c387 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasAncestorFilter.java @@ -64,7 +64,7 @@ public ContentCategoryHasAncestorFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryHasAncestorFilter setSettings(FilterSettings settings) + public ContentCategoryHasAncestorFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 eaa2f67..5abacc5 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasChildFilter.java @@ -64,7 +64,7 @@ public ContentCategoryHasChildFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryHasChildFilter setSettings(FilterSettings settings) + public ContentCategoryHasChildFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryHasContentsFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryHasContentsFilter.java index 1f8e383..1599a4a 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasContentsFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasContentsFilter.java @@ -44,7 +44,7 @@ public ContentCategoryHasContentsFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryHasContentsFilter setSettings(FilterSettings settings) + public ContentCategoryHasContentsFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 4f99409..425a606 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryHasParentFilter.java @@ -64,7 +64,7 @@ public ContentCategoryHasParentFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryHasParentFilter setSettings(FilterSettings settings) + public ContentCategoryHasParentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 951949f..6dc2cd7 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilter.java @@ -76,7 +76,7 @@ public ContentCategoryIdFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryIdFilter setSettings(FilterSettings settings) + public ContentCategoryIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 63f2e1a..00fb6e0 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java @@ -82,12 +82,12 @@ public ContentCategoryIdFilterCategoryQuery setNumberOfResults(Integer numberOfR this.numberOfResults = numberOfResults; return this; } - public ContentCategoryIdFilterCategoryQuery setLanguage(Language language) + public ContentCategoryIdFilterCategoryQuery setLanguage(@Nullable Language language) { this.language = language; return this; } - public ContentCategoryIdFilterCategoryQuery setCurrency(Currency currency) + public ContentCategoryIdFilterCategoryQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 c560461..a3f381d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryLevelFilter.java @@ -64,7 +64,7 @@ public ContentCategoryLevelFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryLevelFilter setSettings(FilterSettings settings) + public ContentCategoryLevelFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 9578066..b78a76c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryQuery.java @@ -57,13 +57,13 @@ public ContentCategoryQuery setNumberOfResults(Integer numberOfResults) return this; } @Override - public ContentCategoryQuery setLanguage(Language language) + public ContentCategoryQuery setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentCategoryQuery setCurrency(Currency currency) + public ContentCategoryQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecentlyViewedByUserFilter.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecentlyViewedByUserFilter.java index a3147b0..0b3d00f 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecentlyViewedByUserFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecentlyViewedByUserFilter.java @@ -75,7 +75,7 @@ public ContentCategoryRecentlyViewedByUserFilter setNegated(Boolean negated) return this; } @Override - public ContentCategoryRecentlyViewedByUserFilter setSettings(FilterSettings settings) + public ContentCategoryRecentlyViewedByUserFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 61b6483..adc339b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java @@ -40,13 +40,13 @@ public ContentCategoryRecommendationRequest setSettings(ContentCategoryRecommend return this; } @Override - public ContentCategoryRecommendationRequest setLanguage(Language language) + public ContentCategoryRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentCategoryRecommendationRequest setUser(User user) + public ContentCategoryRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -70,14 +70,14 @@ public ContentCategoryRecommendationRequest setDisplayedAtLocationType(String di return this; } @Override - public ContentCategoryRecommendationRequest setCurrency(Currency currency) + public ContentCategoryRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentCategoryRecommendationRequest setChannel(Channel channel) + public ContentCategoryRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 57e8a31..2bd51d8 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategorySearchRequest.java @@ -73,7 +73,7 @@ public ContentCategorySearchRequest setTerm(String term) this.term = term; return this; } - public ContentCategorySearchRequest setSettings(ContentCategorySearchSettings settings) + public ContentCategorySearchRequest setSettings(@Nullable ContentCategorySearchSettings settings) { this.settings = settings; return this; @@ -91,56 +91,56 @@ public ContentCategorySearchRequest setTake(Integer take) return this; } @Override - public ContentCategorySearchRequest setLanguage(Language language) + public ContentCategorySearchRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentCategorySearchRequest setCurrency(Currency currency) + public ContentCategorySearchRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public ContentCategorySearchRequest setUser(User user) + public ContentCategorySearchRequest setUser(@Nullable User user) { this.user = user; return this; } @Override - public ContentCategorySearchRequest setDisplayedAtLocation(String displayedAtLocation) + public ContentCategorySearchRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public ContentCategorySearchRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public ContentCategorySearchRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public ContentCategorySearchRequest setFilters(FilterCollection filters) + public ContentCategorySearchRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public ContentCategorySearchRequest setIndexSelector(SearchIndexSelector indexSelector) + public ContentCategorySearchRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public ContentCategorySearchRequest setPostFilters(FilterCollection postFilters) + public ContentCategorySearchRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentCategorySearchRequest setChannel(Channel channel) + public ContentCategorySearchRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 5f2bd3a..2813684 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryView.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryView.java @@ -55,7 +55,7 @@ public String[] getIdPath() { return this.channel; } - public ContentCategoryView setUser(User user) + public ContentCategoryView setUser(@Nullable User user) { this.user = user; return this; @@ -80,7 +80,7 @@ public ContentCategoryView addToIdPath(String idPath) return this; } /** @deprecated Use User.Channel instead. */ - public ContentCategoryView setChannel(Channel channel) + public ContentCategoryView setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 abdc9fa..22c6715 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataBooleanValueFacet.java @@ -73,7 +73,7 @@ public ContentDataBooleanValueFacet setField(FacetingField field) return this; } @Override - public ContentDataBooleanValueFacet setSettings(FacetSettings settings) + public ContentDataBooleanValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 4690def..49219e5 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangeFacet.java @@ -39,7 +39,7 @@ public ContentDataDoubleRangeFacet() { } @Override - public ContentDataDoubleRangeFacet setSelected(DoubleRange selected) + public ContentDataDoubleRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -57,7 +57,7 @@ public ContentDataDoubleRangeFacet setField(FacetingField field) return this; } @Override - public ContentDataDoubleRangeFacet setSettings(FacetSettings settings) + public ContentDataDoubleRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 7c0ff75..da2e2ca 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleRangesFacet.java @@ -89,7 +89,7 @@ public ContentDataDoubleRangesFacet setField(FacetingField field) return this; } @Override - public ContentDataDoubleRangesFacet setSettings(FacetSettings settings) + public ContentDataDoubleRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 b992dd6..1a9ebc4 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataDoubleValueFacet.java @@ -73,7 +73,7 @@ public ContentDataDoubleValueFacet setField(FacetingField field) return this; } @Override - public ContentDataDoubleValueFacet setSettings(FacetSettings settings) + public ContentDataDoubleValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 b05d1a4..389465c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataFilter.java @@ -107,19 +107,19 @@ public ContentDataFilter setMustMatchAllConditions(Boolean mustMatchAllCondition return this; } @Override - public ContentDataFilter setConditions(ValueConditionCollection conditions) + public ContentDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public ContentDataFilter setLanguage(Language language) + public ContentDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentDataFilter setCurrency(Currency currency) + public ContentDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public ContentDataFilter setNegated(Boolean negated) return this; } @Override - public ContentDataFilter setSettings(FilterSettings settings) + public ContentDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/ContentDataHasKeyFilter.java index ad11513..f981f0d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataHasKeyFilter.java @@ -65,7 +65,7 @@ public ContentDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public ContentDataHasKeyFilter setSettings(FilterSettings settings) + public ContentDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 31700c6..051e1ab 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataIntegerValueFacet.java @@ -73,7 +73,7 @@ public ContentDataIntegerValueFacet setField(FacetingField field) return this; } @Override - public ContentDataIntegerValueFacet setSettings(FacetSettings settings) + public ContentDataIntegerValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e8e4a96..74b672e 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataObjectFacet.java @@ -71,7 +71,7 @@ public ContentDataObjectFacet setField(FacetingField field) return this; } @Override - public ContentDataObjectFacet setSettings(FacetSettings settings) + public ContentDataObjectFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 9717684..0338eab 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ContentDataStringValueFacet.java @@ -73,7 +73,7 @@ public ContentDataStringValueFacet setField(FacetingField field) return this; } @Override - public ContentDataStringValueFacet setSettings(FacetSettings settings) + public ContentDataStringValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentDisabledFilter.java b/src/src/main/java/com/relewise/client/model/ContentDisabledFilter.java index 2d6c166..9038bdc 100644 --- a/src/src/main/java/com/relewise/client/model/ContentDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentDisabledFilter.java @@ -49,7 +49,7 @@ public ContentDisabledFilter setNegated(Boolean negated) return this; } @Override - public ContentDisabledFilter setSettings(FilterSettings settings) + public ContentDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentHasCategoriesFilter.java b/src/src/main/java/com/relewise/client/model/ContentHasCategoriesFilter.java index fe947b2..5c5382d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentHasCategoriesFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentHasCategoriesFilter.java @@ -44,7 +44,7 @@ public ContentHasCategoriesFilter setNegated(Boolean negated) return this; } @Override - public ContentHasCategoriesFilter setSettings(FilterSettings settings) + public ContentHasCategoriesFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 cefd679..e997a2e 100644 --- a/src/src/main/java/com/relewise/client/model/ContentIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentIdFilter.java @@ -68,7 +68,7 @@ public ContentIdFilter setNegated(Boolean negated) return this; } @Override - public ContentIdFilter setSettings(FilterSettings settings) + public ContentIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 e1e820e..d00e2de 100644 --- a/src/src/main/java/com/relewise/client/model/ContentQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentQuery.java @@ -89,12 +89,12 @@ public ContentQuery setNumberOfResults(Integer numberOfResults) this.numberOfResults = numberOfResults; return this; } - public ContentQuery setLanguage(Language language) + public ContentQuery setLanguage(@Nullable Language language) { this.language = language; return this; } - public ContentQuery setCurrency(Currency currency) + public ContentQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; diff --git a/src/src/main/java/com/relewise/client/model/ContentRecentlyViewedByUserFilter.java b/src/src/main/java/com/relewise/client/model/ContentRecentlyViewedByUserFilter.java index 2a10e7d..bf244e2 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecentlyViewedByUserFilter.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecentlyViewedByUserFilter.java @@ -75,7 +75,7 @@ public ContentRecentlyViewedByUserFilter setNegated(Boolean negated) return this; } @Override - public ContentRecentlyViewedByUserFilter setSettings(FilterSettings settings) + public ContentRecentlyViewedByUserFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 25ba787..6aa05ef 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java @@ -44,13 +44,13 @@ public ContentRecommendationRequest setSettings(ContentRecommendationRequestSett return this; } @Override - public ContentRecommendationRequest setLanguage(Language language) + public ContentRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentRecommendationRequest setUser(User user) + public ContentRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -74,14 +74,14 @@ public ContentRecommendationRequest setDisplayedAtLocationType(String displayedA return this; } @Override - public ContentRecommendationRequest setCurrency(Currency currency) + public ContentRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentRecommendationRequest setChannel(Channel channel) + public ContentRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 53df75a..45fe0f4 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java @@ -72,7 +72,7 @@ public ContentRecommendationRequestSettings setAllowReplacingOfRecentlyShownReco this.allowReplacingOfRecentlyShownRecommendations = allowReplacingOfRecentlyShownRecommendations; return this; } - public ContentRecommendationRequestSettings setSelectedContentProperties(SelectedContentPropertiesSettings selectedContentProperties) + public ContentRecommendationRequestSettings setSelectedContentProperties(@Nullable SelectedContentPropertiesSettings selectedContentProperties) { this.selectedContentProperties = selectedContentProperties; return this; 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 212ecf5..d89b905 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentSearchRequest.java @@ -78,22 +78,22 @@ public ContentSearchRequest() { return this.sorting; } - public ContentSearchRequest setTerm(String term) + public ContentSearchRequest setTerm(@Nullable String term) { this.term = term; return this; } - public ContentSearchRequest setFacets(ContentFacetQuery facets) + public ContentSearchRequest setFacets(@Nullable ContentFacetQuery facets) { this.facets = facets; return this; } - public ContentSearchRequest setSettings(ContentSearchSettings settings) + public ContentSearchRequest setSettings(@Nullable ContentSearchSettings settings) { this.settings = settings; return this; } - public ContentSearchRequest setSorting(ContentSortBySpecification sorting) + public ContentSearchRequest setSorting(@Nullable ContentSortBySpecification sorting) { this.sorting = sorting; return this; @@ -111,56 +111,56 @@ public ContentSearchRequest setTake(Integer take) return this; } @Override - public ContentSearchRequest setLanguage(Language language) + public ContentSearchRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentSearchRequest setCurrency(Currency currency) + public ContentSearchRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public ContentSearchRequest setUser(User user) + public ContentSearchRequest setUser(@Nullable User user) { this.user = user; return this; } @Override - public ContentSearchRequest setDisplayedAtLocation(String displayedAtLocation) + public ContentSearchRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public ContentSearchRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public ContentSearchRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public ContentSearchRequest setFilters(FilterCollection filters) + public ContentSearchRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public ContentSearchRequest setIndexSelector(SearchIndexSelector indexSelector) + public ContentSearchRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public ContentSearchRequest setPostFilters(FilterCollection postFilters) + public ContentSearchRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentSearchRequest setChannel(Channel channel) + public ContentSearchRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 ee58be8..76499c1 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentSearchSettings.java @@ -43,7 +43,7 @@ public RecommendationSettings getRecommendations() { return this.recommendations; } - public ContentSearchSettings setSelectedContentProperties(SelectedContentPropertiesSettings selectedContentProperties) + public ContentSearchSettings setSelectedContentProperties(@Nullable SelectedContentPropertiesSettings selectedContentProperties) { this.selectedContentProperties = selectedContentProperties; return this; 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 128dafc..ca74d72 100644 --- a/src/src/main/java/com/relewise/client/model/ContentView.java +++ b/src/src/main/java/com/relewise/client/model/ContentView.java @@ -55,7 +55,7 @@ public Content getContent() { return this.channel; } - public ContentView setUser(User user) + public ContentView setUser(@Nullable User user) { this.user = user; return this; @@ -66,7 +66,7 @@ public ContentView setContent(Content content) return this; } /** @deprecated Use User.Channel instead. */ - public ContentView setChannel(Channel channel) + public ContentView setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 187dd7e..74af3d9 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingContentRequest.java @@ -58,13 +58,13 @@ public ContentsViewedAfterViewingContentRequest setSettings(ContentRecommendatio return this; } @Override - public ContentsViewedAfterViewingContentRequest setLanguage(Language language) + public ContentsViewedAfterViewingContentRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentsViewedAfterViewingContentRequest setUser(User user) + public ContentsViewedAfterViewingContentRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public ContentsViewedAfterViewingContentRequest setDisplayedAtLocationType(Strin return this; } @Override - public ContentsViewedAfterViewingContentRequest setCurrency(Currency currency) + public ContentsViewedAfterViewingContentRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentsViewedAfterViewingContentRequest setChannel(Channel channel) + public ContentsViewedAfterViewingContentRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 7f69cda..ab20b2c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleContentsRequest.java @@ -72,13 +72,13 @@ public ContentsViewedAfterViewingMultipleContentsRequest setSettings(ContentReco return this; } @Override - public ContentsViewedAfterViewingMultipleContentsRequest setLanguage(Language language) + public ContentsViewedAfterViewingMultipleContentsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentsViewedAfterViewingMultipleContentsRequest setUser(User user) + public ContentsViewedAfterViewingMultipleContentsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -102,14 +102,14 @@ public ContentsViewedAfterViewingMultipleContentsRequest setDisplayedAtLocationT return this; } @Override - public ContentsViewedAfterViewingMultipleContentsRequest setCurrency(Currency currency) + public ContentsViewedAfterViewingMultipleContentsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentsViewedAfterViewingMultipleContentsRequest setChannel(Channel channel) + public ContentsViewedAfterViewingMultipleContentsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 15a528e..39992c2 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingMultipleProductsRequest.java @@ -72,13 +72,13 @@ public ContentsViewedAfterViewingMultipleProductsRequest setSettings(ContentReco return this; } @Override - public ContentsViewedAfterViewingMultipleProductsRequest setLanguage(Language language) + public ContentsViewedAfterViewingMultipleProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentsViewedAfterViewingMultipleProductsRequest setUser(User user) + public ContentsViewedAfterViewingMultipleProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -102,14 +102,14 @@ public ContentsViewedAfterViewingMultipleProductsRequest setDisplayedAtLocationT return this; } @Override - public ContentsViewedAfterViewingMultipleProductsRequest setCurrency(Currency currency) + public ContentsViewedAfterViewingMultipleProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentsViewedAfterViewingMultipleProductsRequest setChannel(Channel channel) + public ContentsViewedAfterViewingMultipleProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 2c4edf4..57a4145 100644 --- a/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentsViewedAfterViewingProductRequest.java @@ -58,13 +58,13 @@ public ContentsViewedAfterViewingProductRequest setSettings(ContentRecommendatio return this; } @Override - public ContentsViewedAfterViewingProductRequest setLanguage(Language language) + public ContentsViewedAfterViewingProductRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ContentsViewedAfterViewingProductRequest setUser(User user) + public ContentsViewedAfterViewingProductRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public ContentsViewedAfterViewingProductRequest setDisplayedAtLocationType(Strin return this; } @Override - public ContentsViewedAfterViewingProductRequest setCurrency(Currency currency) + public ContentsViewedAfterViewingProductRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ContentsViewedAfterViewingProductRequest setChannel(Channel channel) + public ContentsViewedAfterViewingProductRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 de24aba..23d2f8f 100644 --- a/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/CustomProductRecommendationRequest.java @@ -65,7 +65,7 @@ public CustomProductRecommendationRequest addToParameters(String key, String val this.parameters.put(key, value); return this; } - public CustomProductRecommendationRequest setParameters(HashMap parameters) + public CustomProductRecommendationRequest setParameters(@Nullable HashMap parameters) { this.parameters = parameters; return this; @@ -77,13 +77,13 @@ public CustomProductRecommendationRequest setSettings(ProductRecommendationReque return this; } @Override - public CustomProductRecommendationRequest setLanguage(Language language) + public CustomProductRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public CustomProductRecommendationRequest setUser(User user) + public CustomProductRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -107,14 +107,14 @@ public CustomProductRecommendationRequest setDisplayedAtLocationType(String disp return this; } @Override - public CustomProductRecommendationRequest setCurrency(Currency currency) + public CustomProductRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public CustomProductRecommendationRequest setChannel(Channel channel) + public CustomProductRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 e9120ef..b0c65a1 100644 --- a/src/src/main/java/com/relewise/client/model/DataFilter.java +++ b/src/src/main/java/com/relewise/client/model/DataFilter.java @@ -77,17 +77,17 @@ public DataFilter setMustMatchAllConditions(Boolean mustMatchAllConditions) this.mustMatchAllConditions = mustMatchAllConditions; return this; } - public DataFilter setConditions(ValueConditionCollection conditions) + public DataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } - public DataFilter setLanguage(Language language) + public DataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } - public DataFilter setCurrency(Currency currency) + public DataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -118,7 +118,7 @@ public DataFilter setNegated(Boolean negated) return this; } @Override - public DataFilter setSettings(FilterSettings settings) + public DataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 442f07d..0fc8c86 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectBooleanValueFacet.java @@ -73,7 +73,7 @@ public DataObjectBooleanValueFacet setField(FacetingField field) return this; } @Override - public DataObjectBooleanValueFacet setSettings(FacetSettings settings) + public DataObjectBooleanValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 57b8df2..6ca3b55 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangeFacet.java @@ -39,7 +39,7 @@ public DataObjectDoubleRangeFacet() { } @Override - public DataObjectDoubleRangeFacet setSelected(DoubleRange selected) + public DataObjectDoubleRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -57,7 +57,7 @@ public DataObjectDoubleRangeFacet setField(FacetingField field) return this; } @Override - public DataObjectDoubleRangeFacet setSettings(FacetSettings settings) + public DataObjectDoubleRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 3036f2c..b279793 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleRangesFacet.java @@ -89,7 +89,7 @@ public DataObjectDoubleRangesFacet setField(FacetingField field) return this; } @Override - public DataObjectDoubleRangesFacet setSettings(FacetSettings settings) + public DataObjectDoubleRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e073eb9..473b5aa 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectDoubleValueFacet.java @@ -73,7 +73,7 @@ public DataObjectDoubleValueFacet setField(FacetingField field) return this; } @Override - public DataObjectDoubleValueFacet setSettings(FacetSettings settings) + public DataObjectDoubleValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 7a2c39a..5b1c71f 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectFacet.java @@ -83,7 +83,7 @@ public DataObjectFacet setField(FacetingField field) return this; } @Override - public DataObjectFacet setSettings(FacetSettings settings) + public DataObjectFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 901a118..a1a7bf5 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectStringValueFacet.java @@ -73,7 +73,7 @@ public DataObjectStringValueFacet setField(FacetingField field) return this; } @Override - public DataObjectStringValueFacet setSettings(FacetSettings settings) + public DataObjectStringValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 5812557..6673fe1 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java @@ -67,17 +67,17 @@ public DataObjectValueSelector setKey(String key) this.key = key; return this; } - public DataObjectValueSelector setFilter(DataObjectFilter filter) + public DataObjectValueSelector setFilter(@Nullable DataObjectFilter filter) { this.filter = filter; return this; } - public DataObjectValueSelector setChildSelector(DataObjectValueSelector childSelector) + public DataObjectValueSelector setChildSelector(@Nullable DataObjectValueSelector childSelector) { this.childSelector = childSelector; return this; } - public DataObjectValueSelector setFallbackSelector(DataObjectValueSelector fallbackSelector) + public DataObjectValueSelector setFallbackSelector(@Nullable DataObjectValueSelector fallbackSelector) { this.fallbackSelector = fallbackSelector; return this; 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 74a19ca..3a0eeb5 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRule.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRule.java @@ -63,7 +63,7 @@ public DecompoundRule setWord(String word) this.word = word; return this; } - public DecompoundRule setHead(String head) + public DecompoundRule setHead(@Nullable String head) { this.head = head; return this; @@ -94,13 +94,13 @@ public DecompoundRule setId(UUID id) return this; } @Override - public DecompoundRule setIndexes(ApplicableIndexes indexes) + public DecompoundRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public DecompoundRule setLanguages(ApplicableLanguages languages) + public DecompoundRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; 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 9c231f4..17ee656 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacet.java @@ -28,7 +28,7 @@ public abstract class DoubleContentDataRangeFacet extends DoubleDataRangeFacet { public String $type = ""; @Override - public DoubleContentDataRangeFacet setSelected(DoubleRange selected) + public DoubleContentDataRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -46,7 +46,7 @@ public DoubleContentDataRangeFacet setField(FacetingField field) return this; } @Override - public DoubleContentDataRangeFacet setSettings(FacetSettings settings) + public DoubleContentDataRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 90d54f1..6ac013a 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java @@ -76,7 +76,7 @@ public DoubleContentDataRangesFacet setField(FacetingField field) return this; } @Override - public DoubleContentDataRangesFacet setSettings(FacetSettings settings) + public DoubleContentDataRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 8f7c278..434d52b 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java @@ -61,7 +61,7 @@ public DoubleContentDataValueFacet setField(FacetingField field) return this; } @Override - public DoubleContentDataValueFacet setSettings(FacetSettings settings) + public DoubleContentDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 5e90c7d..2654153 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacet.java @@ -28,7 +28,7 @@ public abstract class DoubleDataObjectRangeFacet extends DoubleDataRangeFacet { public String $type = ""; @Override - public DoubleDataObjectRangeFacet setSelected(DoubleRange selected) + public DoubleDataObjectRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -46,7 +46,7 @@ public DoubleDataObjectRangeFacet setField(FacetingField field) return this; } @Override - public DoubleDataObjectRangeFacet setSettings(FacetSettings settings) + public DoubleDataObjectRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 b025c96..d145ca6 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java @@ -76,7 +76,7 @@ public DoubleDataObjectRangesFacet setField(FacetingField field) return this; } @Override - public DoubleDataObjectRangesFacet setSettings(FacetSettings settings) + public DoubleDataObjectRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e50d5cf..80cc6df 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java @@ -61,7 +61,7 @@ public DoubleDataObjectValueFacet setField(FacetingField field) return this; } @Override - public DoubleDataObjectValueFacet setSettings(FacetSettings settings) + public DoubleDataObjectValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 98587a7..534e0c7 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java @@ -37,7 +37,7 @@ public String getKey() { return this.key; } - public DoubleDataRangeFacet setSelected(DoubleRange selected) + public DoubleDataRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -54,7 +54,7 @@ public DoubleDataRangeFacet setField(FacetingField field) return this; } @Override - public DoubleDataRangeFacet setSettings(FacetSettings settings) + public DoubleDataRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 a71a01b..c7ab4e1 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java @@ -92,7 +92,7 @@ public DoubleDataRangesFacet setField(FacetingField field) return this; } @Override - public DoubleDataRangesFacet setSettings(FacetSettings settings) + public DoubleDataRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 a363447..983f670 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java @@ -69,7 +69,7 @@ public DoubleDataValueFacet setField(FacetingField field) return this; } @Override - public DoubleDataValueFacet setSettings(FacetSettings settings) + public DoubleDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 dd25e86..30d6a4d 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacet.java @@ -28,7 +28,7 @@ public abstract class DoubleProductCategoryDataRangeFacet extends DoubleDataRang { public String $type = ""; @Override - public DoubleProductCategoryDataRangeFacet setSelected(DoubleRange selected) + public DoubleProductCategoryDataRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -46,7 +46,7 @@ public DoubleProductCategoryDataRangeFacet setField(FacetingField field) return this; } @Override - public DoubleProductCategoryDataRangeFacet setSettings(FacetSettings settings) + public DoubleProductCategoryDataRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 dcb74cb..015cf00 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java @@ -76,7 +76,7 @@ public DoubleProductCategoryDataRangesFacet setField(FacetingField field) return this; } @Override - public DoubleProductCategoryDataRangesFacet setSettings(FacetSettings settings) + public DoubleProductCategoryDataRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 937211c..ded41c6 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java @@ -61,7 +61,7 @@ public DoubleProductCategoryDataValueFacet setField(FacetingField field) return this; } @Override - public DoubleProductCategoryDataValueFacet setSettings(FacetSettings settings) + public DoubleProductCategoryDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 c12b6b2..e6586b1 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java @@ -38,7 +38,7 @@ public DoubleProductDataRangeFacet setDataSelectionStrategy(DataSelectionStrateg return this; } @Override - public DoubleProductDataRangeFacet setSelected(DoubleRange selected) + public DoubleProductDataRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -56,7 +56,7 @@ public DoubleProductDataRangeFacet setField(FacetingField field) return this; } @Override - public DoubleProductDataRangeFacet setSettings(FacetSettings settings) + public DoubleProductDataRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 d6d5aad..d50e057 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java @@ -86,7 +86,7 @@ public DoubleProductDataRangesFacet setField(FacetingField field) return this; } @Override - public DoubleProductDataRangesFacet setSettings(FacetSettings settings) + public DoubleProductDataRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 70760f8..6319724 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java @@ -71,7 +71,7 @@ public DoubleProductDataValueFacet setField(FacetingField field) return this; } @Override - public DoubleProductDataValueFacet setSettings(FacetSettings settings) + public DoubleProductDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 16c15f2..caecd44 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java @@ -53,7 +53,7 @@ public DoubleValueFacet setField(FacetingField field) return this; } @Override - public DoubleValueFacet setSettings(FacetSettings settings) + public DoubleValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 b60a966..e4ebbbb 100644 --- a/src/src/main/java/com/relewise/client/model/Facet.java +++ b/src/src/main/java/com/relewise/client/model/Facet.java @@ -77,7 +77,7 @@ public Facet setField(FacetingField field) this.field = field; return this; } - public Facet setSettings(FacetSettings settings) + public Facet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 2776c7d..d947d11 100644 --- a/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java @@ -110,12 +110,12 @@ public FieldIndexConfiguration setPredictionSourceType(PredictionSourceType pred this.predictionSourceType = predictionSourceType; return this; } - public FieldIndexConfiguration setParser(Parser parser) + public FieldIndexConfiguration setParser(@Nullable Parser parser) { this.parser = parser; return this; } - public FieldIndexConfiguration setMatchTypeSettings(MatchTypeSettings matchTypeSettings) + public FieldIndexConfiguration setMatchTypeSettings(@Nullable MatchTypeSettings matchTypeSettings) { this.matchTypeSettings = matchTypeSettings; return this; 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 514af52..f19b7da 100644 --- a/src/src/main/java/com/relewise/client/model/Filter.java +++ b/src/src/main/java/com/relewise/client/model/Filter.java @@ -114,7 +114,7 @@ public Filter setNegated(Boolean negated) this.negated = negated; return this; } - public Filter setSettings(FilterSettings settings) + public Filter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/FilterScopes.java b/src/src/main/java/com/relewise/client/model/FilterScopes.java index 9c9d752..cde99f9 100644 --- a/src/src/main/java/com/relewise/client/model/FilterScopes.java +++ b/src/src/main/java/com/relewise/client/model/FilterScopes.java @@ -38,12 +38,12 @@ public FilterScopes() { return this.fill; } - public FilterScopes setDefault(FilterScopeSettings _default) + public FilterScopes setDefault(@Nullable FilterScopeSettings _default) { this._default = _default; return this; } - public FilterScopes setFill(FilterScopeSettings fill) + public FilterScopes setFill(@Nullable FilterScopeSettings fill) { this.fill = fill; return this; diff --git a/src/src/main/java/com/relewise/client/model/FilterSettings.java b/src/src/main/java/com/relewise/client/model/FilterSettings.java index 59afe63..3f78571 100644 --- a/src/src/main/java/com/relewise/client/model/FilterSettings.java +++ b/src/src/main/java/com/relewise/client/model/FilterSettings.java @@ -32,7 +32,7 @@ public FilterSettings() { return this.scopes; } - public FilterSettings setScopes(FilterScopes scopes) + public FilterSettings setScopes(@Nullable FilterScopes scopes) { this.scopes = scopes; return this; diff --git a/src/src/main/java/com/relewise/client/model/FilteredVariantsSettings.java b/src/src/main/java/com/relewise/client/model/FilteredVariantsSettings.java index fb3b5c3..13c602c 100644 --- a/src/src/main/java/com/relewise/client/model/FilteredVariantsSettings.java +++ b/src/src/main/java/com/relewise/client/model/FilteredVariantsSettings.java @@ -37,7 +37,7 @@ public FilteredVariantsSettings() { return this.inheritFiltersFromRequest; } - public FilteredVariantsSettings setFilters(FilterCollection filters) + public FilteredVariantsSettings setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; 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 95326c2..6d93673 100644 --- a/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java @@ -55,7 +55,7 @@ public HasAncestorCategoryFilter setNegated(Boolean negated) return this; } @Override - public HasAncestorCategoryFilter setSettings(FilterSettings settings) + public HasAncestorCategoryFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 d4dd613..5a4ee14 100644 --- a/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java @@ -55,7 +55,7 @@ public HasChildCategoryFilter setNegated(Boolean negated) return this; } @Override - public HasChildCategoryFilter setSettings(FilterSettings settings) + public HasChildCategoryFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 ae34cdf..03d5b71 100644 --- a/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java @@ -55,7 +55,7 @@ public HasParentCategoryFilter setNegated(Boolean negated) return this; } @Override - public HasParentCategoryFilter setSettings(FilterSettings settings) + public HasParentCategoryFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 d5bfd0c..b43c054 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java @@ -61,7 +61,7 @@ public IntegerContentDataValueFacet setField(FacetingField field) return this; } @Override - public IntegerContentDataValueFacet setSettings(FacetSettings settings) + public IntegerContentDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 d7f48a3..4c8b5ee 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java @@ -69,7 +69,7 @@ public IntegerDataValueFacet setField(FacetingField field) return this; } @Override - public IntegerDataValueFacet setSettings(FacetSettings settings) + public IntegerDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 9bef85e..c97785d 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java @@ -71,7 +71,7 @@ public IntegerProductDataValueFacet setField(FacetingField field) return this; } @Override - public IntegerProductDataValueFacet setSettings(FacetSettings settings) + public IntegerProductDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e53e4e6..468eede 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java @@ -53,7 +53,7 @@ public IntegerValueFacet setField(FacetingField field) return this; } @Override - public IntegerValueFacet setSettings(FacetSettings settings) + public IntegerValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 982e9da..ac7f32e 100644 --- a/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java +++ b/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java @@ -71,7 +71,7 @@ public LanguageIndexConfigurationEntry setIncluded(Boolean included) return this; } /** The ISO639-1 code for the selected language, this is used for spelling correction, stemming, phonetic analysis etc. This is optional if the specified "Language" already follows the official codes, e.g. "en" for English, "da" for Danish etc (case-insensitive). https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes */ - public LanguageIndexConfigurationEntry setISO639_1(String iSO639_1) + public LanguageIndexConfigurationEntry setISO639_1(@Nullable String iSO639_1) { this.iSO639_1 = iSO639_1; return this; 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 eebaf49..b3920ef 100644 --- a/src/src/main/java/com/relewise/client/model/LineItem.java +++ b/src/src/main/java/com/relewise/client/model/LineItem.java @@ -73,7 +73,7 @@ public LineItem setProduct(Product product) this.product = product; return this; } - public LineItem setVariant(ProductVariant variant) + public LineItem setVariant(@Nullable ProductVariant variant) { this.variant = variant; return this; @@ -97,7 +97,7 @@ public LineItem addToData(String key, DataValue value) this.data.put(key, value); return this; } - public LineItem setData(HashMap data) + public LineItem setData(@Nullable HashMap data) { this.data = data; return this; diff --git a/src/src/main/java/com/relewise/client/model/Location.java b/src/src/main/java/com/relewise/client/model/Location.java index f22ce10..bacaa89 100644 --- a/src/src/main/java/com/relewise/client/model/Location.java +++ b/src/src/main/java/com/relewise/client/model/Location.java @@ -87,19 +87,19 @@ public Location setName(String name) return this; } /** A key which is automatically computed based on the name of the location. This will be used as identifier to reference this location when retrieving Retail Media content for it from the consuming client This value gets created the first time the location is saved and cannot be modified in the future. Manually assigning a value to this will have no effect. */ - public Location setKey(String key) + public Location setKey(@Nullable String key) { this.key = key; return this; } /** The placements where promotions may be displayed at this location If null or empty, no promotions will be shown at this location */ - public Location setPlacements(LocationPlacementCollection placements) + public Location setPlacements(@Nullable LocationPlacementCollection placements) { this.placements = placements; return this; } /** Defines what kinds of promotions are supported by this location */ - public Location setSupportedPromotions(PromotionSpecificationCollection supportedPromotions) + public Location setSupportedPromotions(@Nullable PromotionSpecificationCollection supportedPromotions) { this.supportedPromotions = supportedPromotions; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest.java b/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest.java index cef6ac2..220142e 100644 --- a/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest.java +++ b/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest.java @@ -47,12 +47,12 @@ public Integer getTake() { return this.take; } - public LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest setFilters(LocationsRequestEntityFilters filters) + public LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest setFilters(@Nullable LocationsRequestEntityFilters filters) { this.filters = filters; return this; } - public LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest setSorting(LocationsRequestSortBySorting sorting) + public LocationEntityStateLocationMetadataValuesLocationsRequestSortByLocationsRequestEntityFiltersEntitiesRequest setSorting(@Nullable LocationsRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters.java b/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters.java index 1fe7d2e..16bfc6c 100644 --- a/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters.java @@ -37,7 +37,7 @@ public abstract class LocationEntityStateLocationMetadataValuesRetailMediaEntity { return this.states; } - public LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters setTerm(String term) + public LocationEntityStateLocationMetadataValuesRetailMediaEntityEntityFilters setTerm(@Nullable String term) { this.term = term; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationMetadataValues.java b/src/src/main/java/com/relewise/client/model/LocationMetadataValues.java index 1c11dd8..2c57bc7 100644 --- a/src/src/main/java/com/relewise/client/model/LocationMetadataValues.java +++ b/src/src/main/java/com/relewise/client/model/LocationMetadataValues.java @@ -68,7 +68,7 @@ public LocationMetadataValues setInactivated(@Nullable OffsetDateTime inactivate this.inactivated = inactivated; return this; } - public LocationMetadataValues setInactivatedBy(String inactivatedBy) + public LocationMetadataValues setInactivatedBy(@Nullable String inactivatedBy) { this.inactivatedBy = inactivatedBy; return this; @@ -78,7 +78,7 @@ public LocationMetadataValues setActivated(@Nullable OffsetDateTime activated) this.activated = activated; return this; } - public LocationMetadataValues setActivatedBy(String activatedBy) + public LocationMetadataValues setActivatedBy(@Nullable String activatedBy) { this.activatedBy = activatedBy; return this; @@ -88,7 +88,7 @@ public LocationMetadataValues setArchived(@Nullable OffsetDateTime archived) this.archived = archived; return this; } - public LocationMetadataValues setArchivedBy(String archivedBy) + public LocationMetadataValues setArchivedBy(@Nullable String archivedBy) { this.archivedBy = archivedBy; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationPlacement.java b/src/src/main/java/com/relewise/client/model/LocationPlacement.java index 515e2fc..ad046d9 100644 --- a/src/src/main/java/com/relewise/client/model/LocationPlacement.java +++ b/src/src/main/java/com/relewise/client/model/LocationPlacement.java @@ -69,13 +69,13 @@ public LocationPlacement setName(String name) return this; } /** A key which is automatically computed based on the name. This value gets created the first time the placement is saved and cannot be modified in the future. Manually assigning a value to this will have no effect. */ - public LocationPlacement setKey(String key) + public LocationPlacement setKey(@Nullable String key) { this.key = key; return this; } /** The variations of this placement, e.g. to support multiple different views, like Mobile, Tablet, Desktop, Email template etc. If null or empty, no promotions will be shown for this placement */ - public LocationPlacement setVariations(LocationPlacementVariationCollection variations) + public LocationPlacement setVariations(@Nullable LocationPlacementVariationCollection variations) { this.variations = variations; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationPlacementVariation.java b/src/src/main/java/com/relewise/client/model/LocationPlacementVariation.java index fea8d0b..e63e19d 100644 --- a/src/src/main/java/com/relewise/client/model/LocationPlacementVariation.java +++ b/src/src/main/java/com/relewise/client/model/LocationPlacementVariation.java @@ -60,12 +60,12 @@ public LocationPlacementVariation setName(String name) this.name = name; return this; } - public LocationPlacementVariation setKey(String key) + public LocationPlacementVariation setKey(@Nullable String key) { this.key = key; return this; } - public LocationPlacementVariation setSupportedPromotions(PromotionSpecificationVariationCollection supportedPromotions) + public LocationPlacementVariation setSupportedPromotions(@Nullable PromotionSpecificationVariationCollection supportedPromotions) { this.supportedPromotions = supportedPromotions; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationsRequest.java b/src/src/main/java/com/relewise/client/model/LocationsRequest.java index ac99d95..0bbc6d8 100644 --- a/src/src/main/java/com/relewise/client/model/LocationsRequest.java +++ b/src/src/main/java/com/relewise/client/model/LocationsRequest.java @@ -41,13 +41,13 @@ public LocationsRequest() { } @Override - public LocationsRequest setFilters(LocationsRequestEntityFilters filters) + public LocationsRequest setFilters(@Nullable LocationsRequestEntityFilters filters) { this.filters = filters; return this; } @Override - public LocationsRequest setSorting(LocationsRequestSortBySorting sorting) + public LocationsRequest setSorting(@Nullable LocationsRequestSortBySorting sorting) { this.sorting = sorting; return this; diff --git a/src/src/main/java/com/relewise/client/model/LocationsRequestEntityFilters.java b/src/src/main/java/com/relewise/client/model/LocationsRequestEntityFilters.java index b56d06d..deab7b0 100644 --- a/src/src/main/java/com/relewise/client/model/LocationsRequestEntityFilters.java +++ b/src/src/main/java/com/relewise/client/model/LocationsRequestEntityFilters.java @@ -82,7 +82,7 @@ public LocationsRequestEntityFilters addToKeys(String key) return this; } @Override - public LocationsRequestEntityFilters setTerm(String term) + public LocationsRequestEntityFilters setTerm(@Nullable String term) { this.term = term; return this; 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 6842d05..393a8c1 100644 --- a/src/src/main/java/com/relewise/client/model/MultilingualValue.java +++ b/src/src/main/java/com/relewise/client/model/MultilingualValue.java @@ -47,7 +47,7 @@ public MultilingualValue setLanguage(Language language) this.language = language; return this; } - public MultilingualValue setText(String text) + public MultilingualValue setText(@Nullable String text) { this.text = text; return this; 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 9e1fea1..39578af 100644 --- a/src/src/main/java/com/relewise/client/model/OrFilter.java +++ b/src/src/main/java/com/relewise/client/model/OrFilter.java @@ -79,7 +79,7 @@ public OrFilter setNegated(Boolean negated) return this; } @Override - public OrFilter setSettings(FilterSettings settings) + public OrFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 56fb6a3..613b236 100644 --- a/src/src/main/java/com/relewise/client/model/Order.java +++ b/src/src/main/java/com/relewise/client/model/Order.java @@ -105,7 +105,7 @@ public String getCartName() { return this.trackingNumber; } - public Order setUser(User user) + public Order setUser(@Nullable User user) { this.user = user; return this; @@ -140,13 +140,13 @@ public Order setCartName(String cartName) return this; } /** @deprecated Use User.Channel instead. */ - public Order setChannel(Channel channel) + public Order setChannel(@Nullable Channel channel) { this.channel = channel; return this; } /** @deprecated Use Channel.SubChannel instead. */ - public Order setSubChannel(String subChannel) + public Order setSubChannel(@Nullable String subChannel) { this.subChannel = subChannel; return this; @@ -160,13 +160,13 @@ public Order addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Order setData(HashMap data) + public Order setData(@Nullable HashMap data) { this.data = data; return this; } /** @deprecated Use OrderNumber instead. */ - public Order setTrackingNumber(String trackingNumber) + public Order setTrackingNumber(@Nullable String trackingNumber) { this.trackingNumber = trackingNumber; return this; 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 58d37d1..722bca5 100644 --- a/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java @@ -48,56 +48,56 @@ public PaginatedSearchRequest setTake(Integer take) return this; } @Override - public PaginatedSearchRequest setLanguage(Language language) + public PaginatedSearchRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PaginatedSearchRequest setCurrency(Currency currency) + public PaginatedSearchRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public PaginatedSearchRequest setUser(User user) + public PaginatedSearchRequest setUser(@Nullable User user) { this.user = user; return this; } @Override - public PaginatedSearchRequest setDisplayedAtLocation(String displayedAtLocation) + public PaginatedSearchRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public PaginatedSearchRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public PaginatedSearchRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public PaginatedSearchRequest setFilters(FilterCollection filters) + public PaginatedSearchRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public PaginatedSearchRequest setIndexSelector(SearchIndexSelector indexSelector) + public PaginatedSearchRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public PaginatedSearchRequest setPostFilters(FilterCollection postFilters) + public PaginatedSearchRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PaginatedSearchRequest setChannel(Channel channel) + public PaginatedSearchRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 97bb8de..290c4b9 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalBrandRecommendationRequest.java @@ -69,13 +69,13 @@ public PersonalBrandRecommendationRequest setSettings(BrandRecommendationRequest return this; } @Override - public PersonalBrandRecommendationRequest setLanguage(Language language) + public PersonalBrandRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PersonalBrandRecommendationRequest setUser(User user) + public PersonalBrandRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PersonalBrandRecommendationRequest setDisplayedAtLocationType(String disp return this; } @Override - public PersonalBrandRecommendationRequest setCurrency(Currency currency) + public PersonalBrandRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PersonalBrandRecommendationRequest setChannel(Channel channel) + public PersonalBrandRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 c0c4635..c722ff6 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalContentCategoryRecommendationRequest.java @@ -69,13 +69,13 @@ public PersonalContentCategoryRecommendationRequest setSettings(ContentCategoryR return this; } @Override - public PersonalContentCategoryRecommendationRequest setLanguage(Language language) + public PersonalContentCategoryRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PersonalContentCategoryRecommendationRequest setUser(User user) + public PersonalContentCategoryRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PersonalContentCategoryRecommendationRequest setDisplayedAtLocationType(S return this; } @Override - public PersonalContentCategoryRecommendationRequest setCurrency(Currency currency) + public PersonalContentCategoryRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PersonalContentCategoryRecommendationRequest setChannel(Channel channel) + public PersonalContentCategoryRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 7193b08..5b58d4b 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalContentRecommendationRequest.java @@ -47,13 +47,13 @@ public PersonalContentRecommendationRequest setSettings(ContentRecommendationReq return this; } @Override - public PersonalContentRecommendationRequest setLanguage(Language language) + public PersonalContentRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PersonalContentRecommendationRequest setUser(User user) + public PersonalContentRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -77,14 +77,14 @@ public PersonalContentRecommendationRequest setDisplayedAtLocationType(String di return this; } @Override - public PersonalContentRecommendationRequest setCurrency(Currency currency) + public PersonalContentRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PersonalContentRecommendationRequest setChannel(Channel channel) + public PersonalContentRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 669df5b..922d9b8 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalProductCategoryRecommendationRequest.java @@ -69,13 +69,13 @@ public PersonalProductCategoryRecommendationRequest setSettings(ProductCategoryR return this; } @Override - public PersonalProductCategoryRecommendationRequest setLanguage(Language language) + public PersonalProductCategoryRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PersonalProductCategoryRecommendationRequest setUser(User user) + public PersonalProductCategoryRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PersonalProductCategoryRecommendationRequest setDisplayedAtLocationType(S return this; } @Override - public PersonalProductCategoryRecommendationRequest setCurrency(Currency currency) + public PersonalProductCategoryRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PersonalProductCategoryRecommendationRequest setChannel(Channel channel) + public PersonalProductCategoryRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 fbd4378..1c55a50 100644 --- a/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PersonalProductRecommendationRequest.java @@ -47,13 +47,13 @@ public PersonalProductRecommendationRequest setSettings(ProductRecommendationReq return this; } @Override - public PersonalProductRecommendationRequest setLanguage(Language language) + public PersonalProductRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PersonalProductRecommendationRequest setUser(User user) + public PersonalProductRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -77,14 +77,14 @@ public PersonalProductRecommendationRequest setDisplayedAtLocationType(String di return this; } @Override - public PersonalProductRecommendationRequest setCurrency(Currency currency) + public PersonalProductRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PersonalProductRecommendationRequest setChannel(Channel channel) + public PersonalProductRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 95b7f3b..794d549 100644 --- a/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularBrandsRecommendationRequest.java @@ -69,13 +69,13 @@ public PopularBrandsRecommendationRequest setSettings(BrandRecommendationRequest return this; } @Override - public PopularBrandsRecommendationRequest setLanguage(Language language) + public PopularBrandsRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularBrandsRecommendationRequest setUser(User user) + public PopularBrandsRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PopularBrandsRecommendationRequest setDisplayedAtLocationType(String disp return this; } @Override - public PopularBrandsRecommendationRequest setCurrency(Currency currency) + public PopularBrandsRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularBrandsRecommendationRequest setChannel(Channel channel) + public PopularBrandsRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 e15744d..f4d49d9 100644 --- a/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularContentCategoriesRecommendationRequest.java @@ -69,13 +69,13 @@ public PopularContentCategoriesRecommendationRequest setSettings(ContentCategory return this; } @Override - public PopularContentCategoriesRecommendationRequest setLanguage(Language language) + public PopularContentCategoriesRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularContentCategoriesRecommendationRequest setUser(User user) + public PopularContentCategoriesRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PopularContentCategoriesRecommendationRequest setDisplayedAtLocationType( return this; } @Override - public PopularContentCategoriesRecommendationRequest setCurrency(Currency currency) + public PopularContentCategoriesRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularContentCategoriesRecommendationRequest setChannel(Channel channel) + public PopularContentCategoriesRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 a809045..1750b53 100644 --- a/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularContentsRequest.java @@ -58,13 +58,13 @@ public PopularContentsRequest setSettings(ContentRecommendationRequestSettings s return this; } @Override - public PopularContentsRequest setLanguage(Language language) + public PopularContentsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularContentsRequest setUser(User user) + public PopularContentsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public PopularContentsRequest setDisplayedAtLocationType(String displayedAtLocat return this; } @Override - public PopularContentsRequest setCurrency(Currency currency) + public PopularContentsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularContentsRequest setChannel(Channel channel) + public PopularContentsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 0a1dbc7..f3f3a18 100644 --- a/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularProductCategoriesRecommendationRequest.java @@ -69,13 +69,13 @@ public PopularProductCategoriesRecommendationRequest setSettings(ProductCategory return this; } @Override - public PopularProductCategoriesRecommendationRequest setLanguage(Language language) + public PopularProductCategoriesRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularProductCategoriesRecommendationRequest setUser(User user) + public PopularProductCategoriesRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -99,14 +99,14 @@ public PopularProductCategoriesRecommendationRequest setDisplayedAtLocationType( return this; } @Override - public PopularProductCategoriesRecommendationRequest setCurrency(Currency currency) + public PopularProductCategoriesRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularProductCategoriesRecommendationRequest setChannel(Channel channel) + public PopularProductCategoriesRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 3f8b954..e964636 100644 --- a/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularProductsRequest.java @@ -70,7 +70,7 @@ public PopularProductsRequest setSinceMinutesAgo(Integer sinceMinutesAgo) return this; } /** A selector for changing the weighing of observed views or purchases on an entity basis when making the recommendation. */ - public PopularProductsRequest setPopularityMultiplier(PopularityMultiplierSelector popularityMultiplier) + public PopularProductsRequest setPopularityMultiplier(@Nullable PopularityMultiplierSelector popularityMultiplier) { this.popularityMultiplier = popularityMultiplier; return this; @@ -82,13 +82,13 @@ public PopularProductsRequest setSettings(ProductRecommendationRequestSettings s return this; } @Override - public PopularProductsRequest setLanguage(Language language) + public PopularProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularProductsRequest setUser(User user) + public PopularProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -112,14 +112,14 @@ public PopularProductsRequest setDisplayedAtLocationType(String displayedAtLocat return this; } @Override - public PopularProductsRequest setCurrency(Currency currency) + public PopularProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularProductsRequest setChannel(Channel channel) + public PopularProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 e2be8e1..ba9b43c 100644 --- a/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/PopularSearchTermsRecommendationRequest.java @@ -62,24 +62,24 @@ public PopularSearchTermsRecommendationRequest() { return this.settings; } - public PopularSearchTermsRecommendationRequest setTerm(String term) + public PopularSearchTermsRecommendationRequest setTerm(@Nullable String term) { this.term = term; return this; } - public PopularSearchTermsRecommendationRequest setSettings(RecommendPopularSearchTermSettings settings) + public PopularSearchTermsRecommendationRequest setSettings(@Nullable RecommendPopularSearchTermSettings settings) { this.settings = settings; return this; } @Override - public PopularSearchTermsRecommendationRequest setLanguage(Language language) + public PopularSearchTermsRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PopularSearchTermsRecommendationRequest setUser(User user) + public PopularSearchTermsRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -103,14 +103,14 @@ public PopularSearchTermsRecommendationRequest setDisplayedAtLocationType(String return this; } @Override - public PopularSearchTermsRecommendationRequest setCurrency(Currency currency) + public PopularSearchTermsRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PopularSearchTermsRecommendationRequest setChannel(Channel channel) + public PopularSearchTermsRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 6f7821a..68e1c6c 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRule.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRule.java @@ -93,13 +93,13 @@ public PredictionRule setId(UUID id) return this; } @Override - public PredictionRule setIndexes(ApplicableIndexes indexes) + public PredictionRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public PredictionRule setLanguages(ApplicableLanguages languages) + public PredictionRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; 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 0b09551..066001b 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangeFacet.java @@ -49,7 +49,7 @@ public PriceSelectionStrategy getPriceSelectionStrategy() { return this.priceSelectionStrategy; } - public PriceRangeFacet setSelected(DoubleRange selected) + public PriceRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -66,7 +66,7 @@ public PriceRangeFacet setField(FacetingField field) return this; } @Override - public PriceRangeFacet setSettings(FacetSettings settings) + public PriceRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e245892..a76cabf 100644 --- a/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/PriceRangesFacet.java @@ -106,7 +106,7 @@ public PriceRangesFacet setField(FacetingField field) return this; } @Override - public PriceRangesFacet setSettings(FacetSettings settings) + public PriceRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 cda084c..ce236e6 100644 --- a/src/src/main/java/com/relewise/client/model/Product.java +++ b/src/src/main/java/com/relewise/client/model/Product.java @@ -76,7 +76,7 @@ public Product setId(String id) this.id = id; return this; } - public Product setDisplayName(Multilingual displayName) + public Product setDisplayName(@Nullable Multilingual displayName) { this.displayName = displayName; return this; @@ -118,22 +118,22 @@ public Product addToData(String key, DataValue value) this.data.put(key, value); return this; } - public Product setData(HashMap data) + public Product setData(@Nullable HashMap data) { this.data = data; return this; } - public Product setListPrice(MultiCurrency listPrice) + public Product setListPrice(@Nullable MultiCurrency listPrice) { this.listPrice = listPrice; return this; } - public Product setSalesPrice(MultiCurrency salesPrice) + public Product setSalesPrice(@Nullable MultiCurrency salesPrice) { this.salesPrice = salesPrice; return this; } - public Product setBrand(Brand brand) + public Product setBrand(@Nullable Brand brand) { this.brand = brand; return this; 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 cf3b87e..bbae829 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ProductAdministrativeAction.java @@ -82,7 +82,7 @@ public ProductAdministrativeAction setFilters(FilterCollection filters) this.filters = filters; return this; } - public ProductAdministrativeAction setLanguage(Language language) + public ProductAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -97,7 +97,7 @@ public ProductAdministrativeAction setVariantUpdateKind(ProductAdministrativeAct this.variantUpdateKind = variantUpdateKind; return this; } - public ProductAdministrativeAction setCurrency(Currency currency) + public ProductAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 7f621c9..9f20493 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java @@ -57,7 +57,7 @@ public ProductAndVariantId setProductId(String productId) this.productId = productId; return this; } - public ProductAndVariantId setVariantId(String variantId) + public ProductAndVariantId setVariantId(@Nullable String variantId) { this.variantId = variantId; return this; 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 0375464..e94509f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java @@ -50,7 +50,7 @@ public ProductAndVariantIdAbandonedSearch setHits(Integer hits) return this; } @Override - public ProductAndVariantIdAbandonedSearch setLanguage(Language language) + public ProductAndVariantIdAbandonedSearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 b9e7cb7..84e081b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdFilter.java @@ -68,7 +68,7 @@ public ProductAndVariantIdFilter setNegated(Boolean negated) return this; } @Override - public ProductAndVariantIdFilter setSettings(FilterSettings settings) + public ProductAndVariantIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 6b9d65e..ac39b6d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentFacet.java @@ -77,7 +77,7 @@ public ProductAssortmentFacet setField(FacetingField field) return this; } @Override - public ProductAssortmentFacet setSettings(FacetSettings settings) + public ProductAssortmentFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 a4cfe07..e466b57 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductAssortmentFilter.java @@ -68,7 +68,7 @@ public ProductAssortmentFilter setNegated(Boolean negated) return this; } @Override - public ProductAssortmentFilter setSettings(FilterSettings settings) + public ProductAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 c6ba43e..8d0c376 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAdministrativeAction.java @@ -47,7 +47,7 @@ public ProductCategoryAdministrativeAction setFilters(FilterCollection filters) return this; } @Override - public ProductCategoryAdministrativeAction setLanguage(Language language) + public ProductCategoryAdministrativeAction setLanguage(@Nullable Language language) { this.language = language; return this; @@ -59,7 +59,7 @@ public ProductCategoryAdministrativeAction setKind(CategoryAdministrativeActionU return this; } @Override - public ProductCategoryAdministrativeAction setCurrency(Currency currency) + public ProductCategoryAdministrativeAction setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 a942a94..6b74c6c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFacet.java @@ -66,7 +66,7 @@ public ProductCategoryAssortmentFacet setField(FacetingField field) return this; } @Override - public ProductCategoryAssortmentFacet setSettings(FacetSettings settings) + public ProductCategoryAssortmentFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 2b761f0..8672c9e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryAssortmentFilter.java @@ -68,7 +68,7 @@ public ProductCategoryAssortmentFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryAssortmentFilter setSettings(FilterSettings settings) + public ProductCategoryAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 c0e03c1..1b3dc45 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataBooleanValueFacet.java @@ -73,7 +73,7 @@ public ProductCategoryDataBooleanValueFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataBooleanValueFacet setSettings(FacetSettings settings) + public ProductCategoryDataBooleanValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 e3be998..dd7d775 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangeFacet.java @@ -39,7 +39,7 @@ public ProductCategoryDataDoubleRangeFacet() { } @Override - public ProductCategoryDataDoubleRangeFacet setSelected(DoubleRange selected) + public ProductCategoryDataDoubleRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -57,7 +57,7 @@ public ProductCategoryDataDoubleRangeFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataDoubleRangeFacet setSettings(FacetSettings settings) + public ProductCategoryDataDoubleRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 39c199a..b2bae67 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleRangesFacet.java @@ -89,7 +89,7 @@ public ProductCategoryDataDoubleRangesFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataDoubleRangesFacet setSettings(FacetSettings settings) + public ProductCategoryDataDoubleRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 878a441..b843e4d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataDoubleValueFacet.java @@ -73,7 +73,7 @@ public ProductCategoryDataDoubleValueFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataDoubleValueFacet setSettings(FacetSettings settings) + public ProductCategoryDataDoubleValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 7446612..ce664be 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataFilter.java @@ -107,19 +107,19 @@ public ProductCategoryDataFilter setMustMatchAllConditions(Boolean mustMatchAllC return this; } @Override - public ProductCategoryDataFilter setConditions(ValueConditionCollection conditions) + public ProductCategoryDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public ProductCategoryDataFilter setLanguage(Language language) + public ProductCategoryDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductCategoryDataFilter setCurrency(Currency currency) + public ProductCategoryDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public ProductCategoryDataFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryDataFilter setSettings(FilterSettings settings) + public ProductCategoryDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDataHasKeyFilter.java index feab2a2..0a26831 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataHasKeyFilter.java @@ -65,7 +65,7 @@ public ProductCategoryDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryDataHasKeyFilter setSettings(FilterSettings settings) + public ProductCategoryDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 2f12af9..b0b20a7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataObjectFacet.java @@ -71,7 +71,7 @@ public ProductCategoryDataObjectFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataObjectFacet setSettings(FacetSettings settings) + public ProductCategoryDataObjectFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 af5f9a7..2c19373 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDataStringValueFacet.java @@ -73,7 +73,7 @@ public ProductCategoryDataStringValueFacet setField(FacetingField field) return this; } @Override - public ProductCategoryDataStringValueFacet setSettings(FacetSettings settings) + public ProductCategoryDataStringValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryDisabledFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryDisabledFilter.java index b0941ff..8992441 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryDisabledFilter.java @@ -49,7 +49,7 @@ public ProductCategoryDisabledFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryDisabledFilter setSettings(FilterSettings settings) + public ProductCategoryDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 ab57f08..1d34f9d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasAncestorFilter.java @@ -64,7 +64,7 @@ public ProductCategoryHasAncestorFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryHasAncestorFilter setSettings(FilterSettings settings) + public ProductCategoryHasAncestorFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 9eeea19..7814b87 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasChildFilter.java @@ -64,7 +64,7 @@ public ProductCategoryHasChildFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryHasChildFilter setSettings(FilterSettings settings) + public ProductCategoryHasChildFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 77bf5f3..6db93ae 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasParentFilter.java @@ -64,7 +64,7 @@ public ProductCategoryHasParentFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryHasParentFilter setSettings(FilterSettings settings) + public ProductCategoryHasParentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryHasProductsFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryHasProductsFilter.java index 2935493..016676f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryHasProductsFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryHasProductsFilter.java @@ -44,7 +44,7 @@ public ProductCategoryHasProductsFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryHasProductsFilter setSettings(FilterSettings settings) + public ProductCategoryHasProductsFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 eb0e80e..3b86d7f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilter.java @@ -76,7 +76,7 @@ public ProductCategoryIdFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryIdFilter setSettings(FilterSettings settings) + public ProductCategoryIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 f7a1bd1..6d76f7b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java @@ -82,12 +82,12 @@ public ProductCategoryIdFilterCategoryQuery setNumberOfResults(Integer numberOfR this.numberOfResults = numberOfResults; return this; } - public ProductCategoryIdFilterCategoryQuery setLanguage(Language language) + public ProductCategoryIdFilterCategoryQuery setLanguage(@Nullable Language language) { this.language = language; return this; } - public ProductCategoryIdFilterCategoryQuery setCurrency(Currency currency) + public ProductCategoryIdFilterCategoryQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 068caba..d77e45b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryLevelFilter.java @@ -64,7 +64,7 @@ public ProductCategoryLevelFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryLevelFilter setSettings(FilterSettings settings) + public ProductCategoryLevelFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 cf6ac47..eb27d14 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryQuery.java @@ -57,13 +57,13 @@ public ProductCategoryQuery setNumberOfResults(Integer numberOfResults) return this; } @Override - public ProductCategoryQuery setLanguage(Language language) + public ProductCategoryQuery setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductCategoryQuery setCurrency(Currency currency) + public ProductCategoryQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecentlyViewedByUserFilter.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecentlyViewedByUserFilter.java index 45ee273..ff4c90f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecentlyViewedByUserFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecentlyViewedByUserFilter.java @@ -75,7 +75,7 @@ public ProductCategoryRecentlyViewedByUserFilter setNegated(Boolean negated) return this; } @Override - public ProductCategoryRecentlyViewedByUserFilter setSettings(FilterSettings settings) + public ProductCategoryRecentlyViewedByUserFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 1855ec8..bd53208 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java @@ -40,13 +40,13 @@ public ProductCategoryRecommendationRequest setSettings(ProductCategoryRecommend return this; } @Override - public ProductCategoryRecommendationRequest setLanguage(Language language) + public ProductCategoryRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductCategoryRecommendationRequest setUser(User user) + public ProductCategoryRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -70,14 +70,14 @@ public ProductCategoryRecommendationRequest setDisplayedAtLocationType(String di return this; } @Override - public ProductCategoryRecommendationRequest setCurrency(Currency currency) + public ProductCategoryRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ProductCategoryRecommendationRequest setChannel(Channel channel) + public ProductCategoryRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 a301836..3590e6f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySearchRequest.java @@ -78,22 +78,22 @@ public ProductCategorySearchRequest() { return this.sorting; } - public ProductCategorySearchRequest setTerm(String term) + public ProductCategorySearchRequest setTerm(@Nullable String term) { this.term = term; return this; } - public ProductCategorySearchRequest setSettings(ProductCategorySearchSettings settings) + public ProductCategorySearchRequest setSettings(@Nullable ProductCategorySearchSettings settings) { this.settings = settings; return this; } - public ProductCategorySearchRequest setFacets(ProductCategoryFacetQuery facets) + public ProductCategorySearchRequest setFacets(@Nullable ProductCategoryFacetQuery facets) { this.facets = facets; return this; } - public ProductCategorySearchRequest setSorting(ProductCategorySortBySpecification sorting) + public ProductCategorySearchRequest setSorting(@Nullable ProductCategorySortBySpecification sorting) { this.sorting = sorting; return this; @@ -111,56 +111,56 @@ public ProductCategorySearchRequest setTake(Integer take) return this; } @Override - public ProductCategorySearchRequest setLanguage(Language language) + public ProductCategorySearchRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductCategorySearchRequest setCurrency(Currency currency) + public ProductCategorySearchRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public ProductCategorySearchRequest setUser(User user) + public ProductCategorySearchRequest setUser(@Nullable User user) { this.user = user; return this; } @Override - public ProductCategorySearchRequest setDisplayedAtLocation(String displayedAtLocation) + public ProductCategorySearchRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public ProductCategorySearchRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public ProductCategorySearchRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public ProductCategorySearchRequest setFilters(FilterCollection filters) + public ProductCategorySearchRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public ProductCategorySearchRequest setIndexSelector(SearchIndexSelector indexSelector) + public ProductCategorySearchRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public ProductCategorySearchRequest setPostFilters(FilterCollection postFilters) + public ProductCategorySearchRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ProductCategorySearchRequest setChannel(Channel channel) + public ProductCategorySearchRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 b67d6f1..7e5af58 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySearchSettings.java @@ -43,7 +43,7 @@ public RecommendationSettings getRecommendations() { return this.recommendations; } - public ProductCategorySearchSettings setSelectedCategoryProperties(SelectedProductCategoryPropertiesSettings selectedCategoryProperties) + public ProductCategorySearchSettings setSelectedCategoryProperties(@Nullable SelectedProductCategoryPropertiesSettings selectedCategoryProperties) { this.selectedCategoryProperties = selectedCategoryProperties; return this; 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 d978cd8..20a54df 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryView.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryView.java @@ -55,7 +55,7 @@ public String[] getIdPath() { return this.channel; } - public ProductCategoryView setUser(User user) + public ProductCategoryView setUser(@Nullable User user) { this.user = user; return this; @@ -80,7 +80,7 @@ public ProductCategoryView addToIdPath(String idPath) return this; } /** @deprecated Use User.Channel instead. */ - public ProductCategoryView setChannel(Channel channel) + public ProductCategoryView setChannel(@Nullable Channel channel) { this.channel = channel; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductChangeTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductChangeTriggerConfiguration.java index 416008a..a053b24 100644 --- a/src/src/main/java/com/relewise/client/model/ProductChangeTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductChangeTriggerConfiguration.java @@ -42,7 +42,7 @@ public ProductChangeTriggerConfiguration() { } @Override - public ProductChangeTriggerConfiguration setEntityPropertySelector(ProductPropertySelector entityPropertySelector) + public ProductChangeTriggerConfiguration setEntityPropertySelector(@Nullable ProductPropertySelector entityPropertySelector) { this.entityPropertySelector = entityPropertySelector; return this; @@ -66,7 +66,7 @@ public ProductChangeTriggerConfiguration setChange(IChange change) return this; } @Override - public ProductChangeTriggerConfiguration setResultSettings(ProductChangeTriggerResultSettings resultSettings) + public ProductChangeTriggerConfiguration setResultSettings(@Nullable ProductChangeTriggerResultSettings resultSettings) { this.resultSettings = resultSettings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration.java index 0595a3a..6e8d786 100644 --- a/src/src/main/java/com/relewise/client/model/ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration.java @@ -63,7 +63,7 @@ public IChange getChange() return this.resultSettings; } /** The selector used for choosing which property of the entity the trigger should look for change in. */ - public ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration setEntityPropertySelector(ProductPropertySelector entityPropertySelector) + public ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration setEntityPropertySelector(@Nullable ProductPropertySelector entityPropertySelector) { this.entityPropertySelector = entityPropertySelector; return this; @@ -87,7 +87,7 @@ public ProductChangeTriggerResultProductChangeTriggerResultSettingsProductProper return this; } /** Settings for defining which properties should be included in the result of the trigger. */ - public ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration setResultSettings(ProductChangeTriggerResultSettings resultSettings) + public ProductChangeTriggerResultProductChangeTriggerResultSettingsProductPropertySelectorEntityChangeTriggerConfiguration setResultSettings(@Nullable ProductChangeTriggerResultSettings resultSettings) { this.resultSettings = resultSettings; return this; 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 ee7b425..c43df0b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataBooleanValueFacet.java @@ -80,7 +80,7 @@ public ProductDataBooleanValueFacet setField(FacetingField field) return this; } @Override - public ProductDataBooleanValueFacet setSettings(FacetSettings settings) + public ProductDataBooleanValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 34b1e26..810a26a 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangeFacet.java @@ -46,7 +46,7 @@ public ProductDataDoubleRangeFacet setDataSelectionStrategy(DataSelectionStrateg return this; } @Override - public ProductDataDoubleRangeFacet setSelected(DoubleRange selected) + public ProductDataDoubleRangeFacet setSelected(@Nullable DoubleRange selected) { this.selected = selected; return this; @@ -64,7 +64,7 @@ public ProductDataDoubleRangeFacet setField(FacetingField field) return this; } @Override - public ProductDataDoubleRangeFacet setSettings(FacetSettings settings) + public ProductDataDoubleRangeFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 cd47f7f..2ae3380 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleRangesFacet.java @@ -96,7 +96,7 @@ public ProductDataDoubleRangesFacet setField(FacetingField field) return this; } @Override - public ProductDataDoubleRangesFacet setSettings(FacetSettings settings) + public ProductDataDoubleRangesFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 2705a59..63be841 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataDoubleValueFacet.java @@ -80,7 +80,7 @@ public ProductDataDoubleValueFacet setField(FacetingField field) return this; } @Override - public ProductDataDoubleValueFacet setSettings(FacetSettings settings) + public ProductDataDoubleValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 6782137..430b2e5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataFilter.java @@ -107,19 +107,19 @@ public ProductDataFilter setMustMatchAllConditions(Boolean mustMatchAllCondition return this; } @Override - public ProductDataFilter setConditions(ValueConditionCollection conditions) + public ProductDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public ProductDataFilter setLanguage(Language language) + public ProductDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductDataFilter setCurrency(Currency currency) + public ProductDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public ProductDataFilter setNegated(Boolean negated) return this; } @Override - public ProductDataFilter setSettings(FilterSettings settings) + public ProductDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/ProductDataHasKeyFilter.java index 63c927c..7bc7774 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataHasKeyFilter.java @@ -65,7 +65,7 @@ public ProductDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public ProductDataHasKeyFilter setSettings(FilterSettings settings) + public ProductDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 3a510e1..56bba14 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataIntegerValueFacet.java @@ -81,7 +81,7 @@ public ProductDataIntegerValueFacet setField(FacetingField field) return this; } @Override - public ProductDataIntegerValueFacet setSettings(FacetSettings settings) + public ProductDataIntegerValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 f3efb83..6b7f2a1 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataObjectFacet.java @@ -82,7 +82,7 @@ public ProductDataObjectFacet setField(FacetingField field) return this; } @Override - public ProductDataObjectFacet setSettings(FacetSettings settings) + public ProductDataObjectFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 a5dd23d..1cc005d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/ProductDataStringValueFacet.java @@ -80,7 +80,7 @@ public ProductDataStringValueFacet setField(FacetingField field) return this; } @Override - public ProductDataStringValueFacet setSettings(FacetSettings settings) + public ProductDataStringValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductDisabledFilter.java b/src/src/main/java/com/relewise/client/model/ProductDisabledFilter.java index 4c9a226..e07aee2 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDisabledFilter.java @@ -49,7 +49,7 @@ public ProductDisabledFilter setNegated(Boolean negated) return this; } @Override - public ProductDisabledFilter setSettings(FilterSettings settings) + public ProductDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 a976685..0a26941 100644 --- a/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductDisplayNameFilter.java @@ -66,12 +66,12 @@ public Boolean getMustMatchAllConditions() { return this.mustMatchAllConditions; } - public ProductDisplayNameFilter setLanguage(Language language) + public ProductDisplayNameFilter setLanguage(@Nullable Language language) { this.language = language; return this; } - public ProductDisplayNameFilter setConditions(ValueConditionCollection conditions) + public ProductDisplayNameFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; @@ -88,7 +88,7 @@ public ProductDisplayNameFilter setNegated(Boolean negated) return this; } @Override - public ProductDisplayNameFilter setSettings(FilterSettings settings) + public ProductDisplayNameFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/ProductHasCategoriesFilter.java b/src/src/main/java/com/relewise/client/model/ProductHasCategoriesFilter.java index 3bc955e..cbaa011 100644 --- a/src/src/main/java/com/relewise/client/model/ProductHasCategoriesFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductHasCategoriesFilter.java @@ -44,7 +44,7 @@ public ProductHasCategoriesFilter setNegated(Boolean negated) return this; } @Override - public ProductHasCategoriesFilter setSettings(FilterSettings settings) + public ProductHasCategoriesFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 2579a82..2cfd0fc 100644 --- a/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductHasVariantsFilter.java @@ -65,7 +65,7 @@ public ProductHasVariantsFilter setNegated(Boolean negated) return this; } @Override - public ProductHasVariantsFilter setSettings(FilterSettings settings) + public ProductHasVariantsFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 ac7b7cb..228ecb3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductIdFilter.java @@ -68,7 +68,7 @@ public ProductIdFilter setNegated(Boolean negated) return this; } @Override - public ProductIdFilter setSettings(FilterSettings settings) + public ProductIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 f3368f7..ba5070b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/ProductListPriceFilter.java @@ -66,7 +66,7 @@ public ProductListPriceFilter setRange(DoubleRange range) this.range = range; return this; } - public ProductListPriceFilter setCurrency(Currency currency) + public ProductListPriceFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -78,7 +78,7 @@ public ProductListPriceFilter setNegated(Boolean negated) return this; } @Override - public ProductListPriceFilter setSettings(FilterSettings settings) + public ProductListPriceFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 438afcc..0729ffe 100644 --- a/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/ProductListPriceRelevanceModifier.java @@ -104,7 +104,7 @@ public ProductListPriceRelevanceModifier setRange(DoubleRange range) return this; } /** The currency that is used to distinguish the price. */ - public ProductListPriceRelevanceModifier setCurrency(Currency currency) + public ProductListPriceRelevanceModifier setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 4d65d29..96342fb 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceRequest.java @@ -124,7 +124,7 @@ public ProductPerformanceRequest setToUnixTimeSeconds(Long toUnixTimeSeconds) this.toUnixTimeSeconds = toUnixTimeSeconds; return this; } - public ProductPerformanceRequest setFilters(FilterCollection filters) + public ProductPerformanceRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; @@ -144,12 +144,12 @@ public ProductPerformanceRequest setByVariant(Boolean byVariant) this.byVariant = byVariant; return this; } - public ProductPerformanceRequest setSelectedProductProperties(SelectedProductPropertiesSettings selectedProductProperties) + public ProductPerformanceRequest setSelectedProductProperties(@Nullable SelectedProductPropertiesSettings selectedProductProperties) { this.selectedProductProperties = selectedProductProperties; return this; } - public ProductPerformanceRequest setSelectedVariantProperties(SelectedVariantPropertiesSettings selectedVariantProperties) + public ProductPerformanceRequest setSelectedVariantProperties(@Nullable SelectedVariantPropertiesSettings selectedVariantProperties) { this.selectedVariantProperties = selectedVariantProperties; return this; @@ -178,19 +178,19 @@ public ProductPerformanceRequest addToClassifications(AbstractMap.SimpleEntry specification) + public ProductVariant setSpecification(@Nullable HashMap specification) { this.specification = specification; return this; @@ -113,17 +113,17 @@ public ProductVariant addToData(String key, DataValue value) this.data.put(key, value); return this; } - public ProductVariant setData(HashMap data) + public ProductVariant setData(@Nullable HashMap data) { this.data = data; return this; } - public ProductVariant setListPrice(MultiCurrency listPrice) + public ProductVariant setListPrice(@Nullable MultiCurrency listPrice) { this.listPrice = listPrice; return this; } - public ProductVariant setSalesPrice(MultiCurrency salesPrice) + public ProductVariant setSalesPrice(@Nullable MultiCurrency salesPrice) { this.salesPrice = salesPrice; return this; 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 2356442..4e52c2e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductView.java +++ b/src/src/main/java/com/relewise/client/model/ProductView.java @@ -72,7 +72,7 @@ public Product getProduct() { return this.channel; } - public ProductView setUser(User user) + public ProductView setUser(@Nullable User user) { this.user = user; return this; @@ -82,13 +82,13 @@ public ProductView setProduct(Product product) this.product = product; return this; } - public ProductView setVariant(ProductVariant variant) + public ProductView setVariant(@Nullable ProductVariant variant) { this.variant = variant; return this; } /** @deprecated Use User.Channel instead. */ - public ProductView setChannel(Channel channel) + public ProductView setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 0fc7dd3..cba1e41 100644 --- a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingContentRequest.java @@ -58,13 +58,13 @@ public ProductsViewedAfterViewingContentRequest setSettings(ProductRecommendatio return this; } @Override - public ProductsViewedAfterViewingContentRequest setLanguage(Language language) + public ProductsViewedAfterViewingContentRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductsViewedAfterViewingContentRequest setUser(User user) + public ProductsViewedAfterViewingContentRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public ProductsViewedAfterViewingContentRequest setDisplayedAtLocationType(Strin return this; } @Override - public ProductsViewedAfterViewingContentRequest setCurrency(Currency currency) + public ProductsViewedAfterViewingContentRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ProductsViewedAfterViewingContentRequest setChannel(Channel channel) + public ProductsViewedAfterViewingContentRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 74d4cf5..15e27b9 100644 --- a/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductsViewedAfterViewingProductRequest.java @@ -58,13 +58,13 @@ public ProductsViewedAfterViewingProductRequest setSettings(ProductRecommendatio return this; } @Override - public ProductsViewedAfterViewingProductRequest setLanguage(Language language) + public ProductsViewedAfterViewingProductRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public ProductsViewedAfterViewingProductRequest setUser(User user) + public ProductsViewedAfterViewingProductRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public ProductsViewedAfterViewingProductRequest setDisplayedAtLocationType(Strin return this; } @Override - public ProductsViewedAfterViewingProductRequest setCurrency(Currency currency) + public ProductsViewedAfterViewingProductRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public ProductsViewedAfterViewingProductRequest setChannel(Channel channel) + public ProductsViewedAfterViewingProductRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; diff --git a/src/src/main/java/com/relewise/client/model/Promotion.java b/src/src/main/java/com/relewise/client/model/Promotion.java index 5feaf3e..9d25822 100644 --- a/src/src/main/java/com/relewise/client/model/Promotion.java +++ b/src/src/main/java/com/relewise/client/model/Promotion.java @@ -43,7 +43,7 @@ public Promotion setName(String name) this.name = name; return this; } - public Promotion setLocations(PromotionLocationCollection locations) + public Promotion setLocations(@Nullable PromotionLocationCollection locations) { this.locations = locations; return this; diff --git a/src/src/main/java/com/relewise/client/model/PromotionLocation.java b/src/src/main/java/com/relewise/client/model/PromotionLocation.java index 8003c3f..25a40c5 100644 --- a/src/src/main/java/com/relewise/client/model/PromotionLocation.java +++ b/src/src/main/java/com/relewise/client/model/PromotionLocation.java @@ -57,7 +57,7 @@ public PromotionLocation setKey(String key) this.key = key; return this; } - public PromotionLocation setPlacements(PromotionLocationPlacementCollection placements) + public PromotionLocation setPlacements(@Nullable PromotionLocationPlacementCollection placements) { this.placements = placements; return this; diff --git a/src/src/main/java/com/relewise/client/model/PromotionSpecificationCollection.java b/src/src/main/java/com/relewise/client/model/PromotionSpecificationCollection.java index e0694f5..759a916 100644 --- a/src/src/main/java/com/relewise/client/model/PromotionSpecificationCollection.java +++ b/src/src/main/java/com/relewise/client/model/PromotionSpecificationCollection.java @@ -32,7 +32,7 @@ public PromotionSpecificationCollection() { return this.productPromotion; } - public PromotionSpecificationCollection setProductPromotion(ProductPromotionSpecification productPromotion) + public PromotionSpecificationCollection setProductPromotion(@Nullable ProductPromotionSpecification productPromotion) { this.productPromotion = productPromotion; return this; diff --git a/src/src/main/java/com/relewise/client/model/PromotionSpecificationVariationCollection.java b/src/src/main/java/com/relewise/client/model/PromotionSpecificationVariationCollection.java index 3892459..b1b228d 100644 --- a/src/src/main/java/com/relewise/client/model/PromotionSpecificationVariationCollection.java +++ b/src/src/main/java/com/relewise/client/model/PromotionSpecificationVariationCollection.java @@ -32,7 +32,7 @@ public PromotionSpecificationVariationCollection() { return this.productPromotion; } - public PromotionSpecificationVariationCollection setProductPromotion(ProductPromotionSpecificationVariation productPromotion) + public PromotionSpecificationVariationCollection setProductPromotion(@Nullable ProductPromotionSpecificationVariation productPromotion) { this.productPromotion = productPromotion; return this; 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 60724e7..ce61cfd 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithCurrentCartRequest.java @@ -47,13 +47,13 @@ public PurchasedWithCurrentCartRequest setSettings(ProductRecommendationRequestS return this; } @Override - public PurchasedWithCurrentCartRequest setLanguage(Language language) + public PurchasedWithCurrentCartRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PurchasedWithCurrentCartRequest setUser(User user) + public PurchasedWithCurrentCartRequest setUser(@Nullable User user) { this.user = user; return this; @@ -77,14 +77,14 @@ public PurchasedWithCurrentCartRequest setDisplayedAtLocationType(String display return this; } @Override - public PurchasedWithCurrentCartRequest setCurrency(Currency currency) + public PurchasedWithCurrentCartRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PurchasedWithCurrentCartRequest setChannel(Channel channel) + public PurchasedWithCurrentCartRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 632a7b7..25fe448 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithMultipleProductsRequest.java @@ -71,13 +71,13 @@ public PurchasedWithMultipleProductsRequest setSettings(ProductRecommendationReq return this; } @Override - public PurchasedWithMultipleProductsRequest setLanguage(Language language) + public PurchasedWithMultipleProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PurchasedWithMultipleProductsRequest setUser(User user) + public PurchasedWithMultipleProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -101,14 +101,14 @@ public PurchasedWithMultipleProductsRequest setDisplayedAtLocationType(String di return this; } @Override - public PurchasedWithMultipleProductsRequest setCurrency(Currency currency) + public PurchasedWithMultipleProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PurchasedWithMultipleProductsRequest setChannel(Channel channel) + public PurchasedWithMultipleProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 0ced951..1c7a26e 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedWithProductRequest.java @@ -58,13 +58,13 @@ public PurchasedWithProductRequest setSettings(ProductRecommendationRequestSetti return this; } @Override - public PurchasedWithProductRequest setLanguage(Language language) + public PurchasedWithProductRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public PurchasedWithProductRequest setUser(User user) + public PurchasedWithProductRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public PurchasedWithProductRequest setDisplayedAtLocationType(String displayedAt return this; } @Override - public PurchasedWithProductRequest setCurrency(Currency currency) + public PurchasedWithProductRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public PurchasedWithProductRequest setChannel(Channel channel) + public PurchasedWithProductRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 9f126d6..7166287 100644 --- a/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/RecentlyViewedProductsRequest.java @@ -47,13 +47,13 @@ public RecentlyViewedProductsRequest setSettings(ProductRecommendationRequestSet return this; } @Override - public RecentlyViewedProductsRequest setLanguage(Language language) + public RecentlyViewedProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public RecentlyViewedProductsRequest setUser(User user) + public RecentlyViewedProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -77,14 +77,14 @@ public RecentlyViewedProductsRequest setDisplayedAtLocationType(String displayed return this; } @Override - public RecentlyViewedProductsRequest setCurrency(Currency currency) + public RecentlyViewedProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public RecentlyViewedProductsRequest setChannel(Channel channel) + public RecentlyViewedProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 6b09883..c8845f3 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationRequest.java @@ -90,12 +90,12 @@ public String getDisplayedAtLocationType() { return this.channel; } - public RecommendationRequest setLanguage(Language language) + public RecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } - public RecommendationRequest setUser(User user) + public RecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -115,13 +115,13 @@ public RecommendationRequest setDisplayedAtLocationType(String displayedAtLocati this.displayedAtLocationType = displayedAtLocationType; return this; } - public RecommendationRequest setCurrency(Currency currency) + public RecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ - public RecommendationRequest setChannel(Channel channel) + public RecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 a8d9d5d..a88cd1f 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectResult.java +++ b/src/src/main/java/com/relewise/client/model/RedirectResult.java @@ -64,7 +64,7 @@ public RedirectResult setCondition(SearchTermCondition condition) this.condition = condition; return this; } - public RedirectResult setDestination(String destination) + public RedirectResult setDestination(@Nullable String destination) { this.destination = destination; return this; @@ -78,7 +78,7 @@ public RedirectResult addToData(String key, String value) this.data.put(key, value); return this; } - public RedirectResult setData(HashMap data) + public RedirectResult setData(@Nullable HashMap data) { this.data = data; return this; 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 9bef029..a825b3e 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRule.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRule.java @@ -78,7 +78,7 @@ public RedirectRule setCondition(SearchTermCondition condition) this.condition = condition; return this; } - public RedirectRule setDestination(String destination) + public RedirectRule setDestination(@Nullable String destination) { this.destination = destination; return this; @@ -92,7 +92,7 @@ public RedirectRule addToData(String key, String value) this.data.put(key, value); return this; } - public RedirectRule setData(HashMap data) + public RedirectRule setData(@Nullable HashMap data) { this.data = data; return this; @@ -104,13 +104,13 @@ public RedirectRule setId(UUID id) return this; } @Override - public RedirectRule setIndexes(ApplicableIndexes indexes) + public RedirectRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public RedirectRule setLanguages(ApplicableLanguages languages) + public RedirectRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; diff --git a/src/src/main/java/com/relewise/client/model/RequestFilterCriteria.java b/src/src/main/java/com/relewise/client/model/RequestFilterCriteria.java index e6b5532..9246caa 100644 --- a/src/src/main/java/com/relewise/client/model/RequestFilterCriteria.java +++ b/src/src/main/java/com/relewise/client/model/RequestFilterCriteria.java @@ -52,7 +52,7 @@ public RequestFilterCriteria setExcludes(FilterCollection excludes) this.excludes = excludes; return this; } - public RequestFilterCriteria setCount(IntegerRange count) + public RequestFilterCriteria setCount(@Nullable IntegerRange count) { this.count = count; return this; diff --git a/src/src/main/java/com/relewise/client/model/RetailMediaResult.java b/src/src/main/java/com/relewise/client/model/RetailMediaResult.java index 807deae..430dded 100644 --- a/src/src/main/java/com/relewise/client/model/RetailMediaResult.java +++ b/src/src/main/java/com/relewise/client/model/RetailMediaResult.java @@ -41,7 +41,7 @@ public RetailMediaResult addToPlacements(String key, RetailMediaResultPlacement this.placements.put(key, value); return this; } - public RetailMediaResult setPlacements(HashMap placements) + public RetailMediaResult setPlacements(@Nullable HashMap placements) { this.placements = placements; return this; diff --git a/src/src/main/java/com/relewise/client/model/RetailMediaResultPlacementResultEntity.java b/src/src/main/java/com/relewise/client/model/RetailMediaResultPlacementResultEntity.java index 12c3333..108ad1c 100644 --- a/src/src/main/java/com/relewise/client/model/RetailMediaResultPlacementResultEntity.java +++ b/src/src/main/java/com/relewise/client/model/RetailMediaResultPlacementResultEntity.java @@ -32,7 +32,7 @@ public RetailMediaResultPlacementResultEntity() { return this.promotedProduct; } - public RetailMediaResultPlacementResultEntity setPromotedProduct(RetailMediaResultPlacementResultEntityProduct promotedProduct) + public RetailMediaResultPlacementResultEntity setPromotedProduct(@Nullable RetailMediaResultPlacementResultEntityProduct promotedProduct) { this.promotedProduct = promotedProduct; return this; 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 6f7ae40..4d6a5d1 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchRequest.java @@ -81,48 +81,48 @@ public abstract class SearchRequest extends LicensedRequest implements IUserIden { return this.channel; } - public SearchRequest setLanguage(Language language) + public SearchRequest setLanguage(@Nullable Language language) { this.language = language; return this; } - public SearchRequest setCurrency(Currency currency) + public SearchRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } - public SearchRequest setUser(User user) + public SearchRequest setUser(@Nullable User user) { this.user = user; return this; } - public SearchRequest setDisplayedAtLocation(String displayedAtLocation) + public SearchRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } - public SearchRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public SearchRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } - public SearchRequest setFilters(FilterCollection filters) + public SearchRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } - public SearchRequest setIndexSelector(SearchIndexSelector indexSelector) + public SearchRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } - public SearchRequest setPostFilters(FilterCollection postFilters) + public SearchRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ - public SearchRequest setChannel(Channel channel) + public SearchRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 43a3582..2fe6565 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java +++ b/src/src/main/java/com/relewise/client/model/SearchRequestCollection.java @@ -70,56 +70,56 @@ public SearchRequestCollection addToRequests(SearchRequest requests) return this; } @Override - public SearchRequestCollection setLanguage(Language language) + public SearchRequestCollection setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SearchRequestCollection setCurrency(Currency currency) + public SearchRequestCollection setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public SearchRequestCollection setUser(User user) + public SearchRequestCollection setUser(@Nullable User user) { this.user = user; return this; } @Override - public SearchRequestCollection setDisplayedAtLocation(String displayedAtLocation) + public SearchRequestCollection setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public SearchRequestCollection setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public SearchRequestCollection setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public SearchRequestCollection setFilters(FilterCollection filters) + public SearchRequestCollection setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public SearchRequestCollection setIndexSelector(SearchIndexSelector indexSelector) + public SearchRequestCollection setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public SearchRequestCollection setPostFilters(FilterCollection postFilters) + public SearchRequestCollection setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SearchRequestCollection setChannel(Channel channel) + public SearchRequestCollection setChannel(@Nullable Channel channel) { this.channel = channel; return this; diff --git a/src/src/main/java/com/relewise/client/model/SearchResultModifierRule.java b/src/src/main/java/com/relewise/client/model/SearchResultModifierRule.java index 2ad5b4c..801627b 100644 --- a/src/src/main/java/com/relewise/client/model/SearchResultModifierRule.java +++ b/src/src/main/java/com/relewise/client/model/SearchResultModifierRule.java @@ -83,13 +83,13 @@ public SearchResultModifierRule setId(UUID id) return this; } @Override - public SearchResultModifierRule setIndexes(ApplicableIndexes indexes) + public SearchResultModifierRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public SearchResultModifierRule setLanguages(ApplicableLanguages languages) + public SearchResultModifierRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; 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 afe18f4..3865673 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRule.java +++ b/src/src/main/java/com/relewise/client/model/SearchRule.java @@ -88,12 +88,12 @@ public SearchRule setId(UUID id) this.id = id; return this; } - public SearchRule setIndexes(ApplicableIndexes indexes) + public SearchRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } - public SearchRule setLanguages(ApplicableLanguages languages) + public SearchRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; 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 a4fa23c..4200289 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java +++ b/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java @@ -55,7 +55,7 @@ public SearchRuleFilters() { return this.id; } - public SearchRuleFilters setTerm(String term) + public SearchRuleFilters setTerm(@Nullable String term) { this.term = term; return this; 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 4adfde7..5fcc494 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTerm.java +++ b/src/src/main/java/com/relewise/client/model/SearchTerm.java @@ -77,7 +77,7 @@ public SearchTerm setTerm(String term) return this; } /** @deprecated Use User.Channel instead. */ - public SearchTerm setChannel(Channel channel) + public SearchTerm setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 ccd3aa4..07d31ce 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermBasedProductRecommendationRequest.java @@ -58,13 +58,13 @@ public SearchTermBasedProductRecommendationRequest setSettings(ProductRecommenda return this; } @Override - public SearchTermBasedProductRecommendationRequest setLanguage(Language language) + public SearchTermBasedProductRecommendationRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SearchTermBasedProductRecommendationRequest setUser(User user) + public SearchTermBasedProductRecommendationRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public SearchTermBasedProductRecommendationRequest setDisplayedAtLocationType(St return this; } @Override - public SearchTermBasedProductRecommendationRequest setCurrency(Currency currency) + public SearchTermBasedProductRecommendationRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SearchTermBasedProductRecommendationRequest setChannel(Channel channel) + public SearchTermBasedProductRecommendationRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 362ee1f..d2ad607 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermCondition.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermCondition.java @@ -82,7 +82,7 @@ public SearchTermCondition setKind(@Nullable SearchTermConditionConditionKind ki this.kind = kind; return this; } - public SearchTermCondition setValue(String value) + public SearchTermCondition setValue(@Nullable String value) { this.value = value; return this; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermModifierRule.java b/src/src/main/java/com/relewise/client/model/SearchTermModifierRule.java index 414d475..466c5a1 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermModifierRule.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermModifierRule.java @@ -83,13 +83,13 @@ public SearchTermModifierRule setId(UUID id) return this; } @Override - public SearchTermModifierRule setIndexes(ApplicableIndexes indexes) + public SearchTermModifierRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public SearchTermModifierRule setLanguages(ApplicableLanguages languages) + public SearchTermModifierRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceTermAction.java b/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceTermAction.java index 2c91a77..c61284a 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceTermAction.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceTermAction.java @@ -42,7 +42,7 @@ public SearchTermModifierRuleReplaceTermAction() { return this.replacement; } - public SearchTermModifierRuleReplaceTermAction setReplacement(String replacement) + public SearchTermModifierRuleReplaceTermAction setReplacement(@Nullable String replacement) { this.replacement = replacement; return this; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceWordsInTermAction.java b/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceWordsInTermAction.java index c46b6e7..008630c 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceWordsInTermAction.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermModifierRuleReplaceWordsInTermAction.java @@ -53,7 +53,7 @@ public SearchTermModifierRuleReplaceWordsInTermAction setWords(String words) this.words = words; return this; } - public SearchTermModifierRuleReplaceWordsInTermAction setReplacement(String replacement) + public SearchTermModifierRuleReplaceWordsInTermAction setReplacement(@Nullable String replacement) { this.replacement = replacement; return this; 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 a06bb50..5d558a8 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionRequest.java @@ -81,62 +81,62 @@ public SearchTermPredictionRequest setTake(Integer take) this.take = take; return this; } - public SearchTermPredictionRequest setSettings(SearchTermPredictionSettings settings) + public SearchTermPredictionRequest setSettings(@Nullable SearchTermPredictionSettings settings) { this.settings = settings; return this; } @Override - public SearchTermPredictionRequest setLanguage(Language language) + public SearchTermPredictionRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SearchTermPredictionRequest setCurrency(Currency currency) + public SearchTermPredictionRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } @Override - public SearchTermPredictionRequest setUser(User user) + public SearchTermPredictionRequest setUser(@Nullable User user) { this.user = user; return this; } @Override - public SearchTermPredictionRequest setDisplayedAtLocation(String displayedAtLocation) + public SearchTermPredictionRequest setDisplayedAtLocation(@Nullable String displayedAtLocation) { this.displayedAtLocation = displayedAtLocation; return this; } @Override - public SearchTermPredictionRequest setRelevanceModifiers(RelevanceModifierCollection relevanceModifiers) + public SearchTermPredictionRequest setRelevanceModifiers(@Nullable RelevanceModifierCollection relevanceModifiers) { this.relevanceModifiers = relevanceModifiers; return this; } @Override - public SearchTermPredictionRequest setFilters(FilterCollection filters) + public SearchTermPredictionRequest setFilters(@Nullable FilterCollection filters) { this.filters = filters; return this; } @Override - public SearchTermPredictionRequest setIndexSelector(SearchIndexSelector indexSelector) + public SearchTermPredictionRequest setIndexSelector(@Nullable SearchIndexSelector indexSelector) { this.indexSelector = indexSelector; return this; } @Override - public SearchTermPredictionRequest setPostFilters(FilterCollection postFilters) + public SearchTermPredictionRequest setPostFilters(@Nullable FilterCollection postFilters) { this.postFilters = postFilters; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SearchTermPredictionRequest setChannel(Channel channel) + public SearchTermPredictionRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 c7735a3..ee7d98a 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java @@ -166,7 +166,7 @@ public SelectedProductPropertiesSettings setPurchasedByUserCompanyInfo(Boolean p this.purchasedByUserCompanyInfo = purchasedByUserCompanyInfo; return this; } - public SelectedProductPropertiesSettings setFilteredVariants(FilteredVariantsSettings filteredVariants) + public SelectedProductPropertiesSettings setFilteredVariants(@Nullable FilteredVariantsSettings filteredVariants) { this.filteredVariants = filteredVariants; return this; 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 2364c12..e12e89f 100644 --- a/src/src/main/java/com/relewise/client/model/SignificantDataValue.java +++ b/src/src/main/java/com/relewise/client/model/SignificantDataValue.java @@ -82,7 +82,7 @@ public SignificantDataValue setSignificance(Double significance) this.significance = significance; return this; } - public SignificantDataValue setTransformer(TrimStringTransformer transformer) + public SignificantDataValue setTransformer(@Nullable TrimStringTransformer transformer) { this.transformer = transformer; return this; 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 57015be..c15704e 100644 --- a/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java +++ b/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java @@ -92,7 +92,7 @@ public SimilarProductsEvaluationSettings setSignificanceOfSimilaritiesInDisplayN this.significanceOfSimilaritiesInDisplayName = significanceOfSimilaritiesInDisplayName; return this; } - public SimilarProductsEvaluationSettings setProductDisplayNameTransformer(TrimStringTransformer productDisplayNameTransformer) + public SimilarProductsEvaluationSettings setProductDisplayNameTransformer(@Nullable TrimStringTransformer productDisplayNameTransformer) { this.productDisplayNameTransformer = productDisplayNameTransformer; return this; @@ -151,7 +151,7 @@ public SimilarProductsEvaluationSettings setSignificanceOfSimilarBrand(Double si this.significanceOfSimilarBrand = significanceOfSimilarBrand; return this; } - public SimilarProductsEvaluationSettings setVariantEvaluationSettings(SimilarVariantEvaluationSettings variantEvaluationSettings) + public SimilarProductsEvaluationSettings setVariantEvaluationSettings(@Nullable SimilarVariantEvaluationSettings variantEvaluationSettings) { this.variantEvaluationSettings = variantEvaluationSettings; return this; 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 f2ce684..897342e 100644 --- a/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SimilarProductsRequest.java @@ -109,12 +109,12 @@ public Boolean getConsiderAlreadyKnownInformationAboutProduct() { return this.explodedVariants; } - public SimilarProductsRequest setExistingProductId(ProductAndVariantId existingProductId) + public SimilarProductsRequest setExistingProductId(@Nullable ProductAndVariantId existingProductId) { this.existingProductId = existingProductId; return this; } - public SimilarProductsRequest setProductData(Product productData) + public SimilarProductsRequest setProductData(@Nullable Product productData) { this.productData = productData; return this; @@ -124,7 +124,7 @@ public SimilarProductsRequest setConsiderAlreadyKnownInformationAboutProduct(Boo this.considerAlreadyKnownInformationAboutProduct = considerAlreadyKnownInformationAboutProduct; return this; } - public SimilarProductsRequest setEvaluationSettings(SimilarProductsEvaluationSettings evaluationSettings) + public SimilarProductsRequest setEvaluationSettings(@Nullable SimilarProductsEvaluationSettings evaluationSettings) { this.evaluationSettings = evaluationSettings; return this; @@ -141,13 +141,13 @@ public SimilarProductsRequest setSettings(ProductRecommendationRequestSettings s return this; } @Override - public SimilarProductsRequest setLanguage(Language language) + public SimilarProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SimilarProductsRequest setUser(User user) + public SimilarProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -171,14 +171,14 @@ public SimilarProductsRequest setDisplayedAtLocationType(String displayedAtLocat return this; } @Override - public SimilarProductsRequest setCurrency(Currency currency) + public SimilarProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SimilarProductsRequest setChannel(Channel channel) + public SimilarProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 c50ace6..ea2a160 100644 --- a/src/src/main/java/com/relewise/client/model/SortProductsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SortProductsRequest.java @@ -71,13 +71,13 @@ public SortProductsRequest setSettings(ProductRecommendationRequestSettings sett return this; } @Override - public SortProductsRequest setLanguage(Language language) + public SortProductsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SortProductsRequest setUser(User user) + public SortProductsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -101,14 +101,14 @@ public SortProductsRequest setDisplayedAtLocationType(String displayedAtLocation return this; } @Override - public SortProductsRequest setCurrency(Currency currency) + public SortProductsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SortProductsRequest setChannel(Channel channel) + public SortProductsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 1c3daa6..b7e44c7 100644 --- a/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java +++ b/src/src/main/java/com/relewise/client/model/SortVariantsRequest.java @@ -58,13 +58,13 @@ public SortVariantsRequest setSettings(ProductRecommendationRequestSettings sett return this; } @Override - public SortVariantsRequest setLanguage(Language language) + public SortVariantsRequest setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public SortVariantsRequest setUser(User user) + public SortVariantsRequest setUser(@Nullable User user) { this.user = user; return this; @@ -88,14 +88,14 @@ public SortVariantsRequest setDisplayedAtLocationType(String displayedAtLocation return this; } @Override - public SortVariantsRequest setCurrency(Currency currency) + public SortVariantsRequest setCurrency(@Nullable Currency currency) { this.currency = currency; return this; } /** @deprecated Use User.Channel instead. */ @Override - public SortVariantsRequest setChannel(Channel channel) + public SortVariantsRequest setChannel(@Nullable Channel channel) { this.channel = channel; return this; 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 e321937..5a8d4c9 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRule.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRule.java @@ -71,7 +71,7 @@ public StemmingRule addToWords(String word) } return this; } - public StemmingRule setStem(String stem) + public StemmingRule setStem(@Nullable String stem) { this.stem = stem; return this; @@ -83,13 +83,13 @@ public StemmingRule setId(UUID id) return this; } @Override - public StemmingRule setIndexes(ApplicableIndexes indexes) + public StemmingRule setIndexes(@Nullable ApplicableIndexes indexes) { this.indexes = indexes; return this; } @Override - public StemmingRule setLanguages(ApplicableLanguages languages) + public StemmingRule setLanguages(@Nullable ApplicableLanguages languages) { this.languages = languages; return this; 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 1bcd054..a03162b 100644 --- a/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java @@ -50,7 +50,7 @@ public StringAbandonedSearch setHits(Integer hits) return this; } @Override - public StringAbandonedSearch setLanguage(Language language) + public StringAbandonedSearch setLanguage(@Nullable Language language) { this.language = language; return this; 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 e8cf8b1..ecbf79d 100644 --- a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java @@ -61,7 +61,7 @@ public StringContentDataValueFacet setField(FacetingField field) return this; } @Override - public StringContentDataValueFacet setSettings(FacetSettings settings) + public StringContentDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 cec20b0..aff21b0 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java @@ -61,7 +61,7 @@ public StringDataObjectValueFacet setField(FacetingField field) return this; } @Override - public StringDataObjectValueFacet setSettings(FacetSettings settings) + public StringDataObjectValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 c1e53df..4295c18 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java @@ -69,7 +69,7 @@ public StringDataValueFacet setField(FacetingField field) return this; } @Override - public StringDataValueFacet setSettings(FacetSettings settings) + public StringDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 ecb289d..06f469b 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java @@ -61,7 +61,7 @@ public StringProductCategoryDataValueFacet setField(FacetingField field) return this; } @Override - public StringProductCategoryDataValueFacet setSettings(FacetSettings settings) + public StringProductCategoryDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 8eada8c..162821c 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java @@ -71,7 +71,7 @@ public StringProductDataValueFacet setField(FacetingField field) return this; } @Override - public StringProductDataValueFacet setSettings(FacetSettings settings) + public StringProductDataValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 bc47dc8..54c9f5a 100644 --- a/src/src/main/java/com/relewise/client/model/StringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringValueFacet.java @@ -53,7 +53,7 @@ public StringValueFacet setField(FacetingField field) return this; } @Override - public StringValueFacet setSettings(FacetSettings settings) + public StringValueFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 9b0530d..6c04326 100644 --- a/src/src/main/java/com/relewise/client/model/User.java +++ b/src/src/main/java/com/relewise/client/model/User.java @@ -119,19 +119,19 @@ public User() return this.company; } /** A persistent Id for current user, e.g. a database-id This Id should never be expected to change in the future */ - public User setAuthenticatedId(String authenticatedId) + public User setAuthenticatedId(@Nullable String authenticatedId) { this.authenticatedId = authenticatedId; return this; } /** A TemporaryId, likely to change in the future, e.g. a CookieId in a web context */ - public User setTemporaryId(String temporaryId) + public User setTemporaryId(@Nullable String temporaryId) { this.temporaryId = temporaryId; return this; } /** The email of the user */ - public User setEmail(String email) + public User setEmail(@Nullable String email) { this.email = email; return this; @@ -147,7 +147,7 @@ public User addToClassifications(String key, String value) return this; } /** Segmentation data about the user, e.g. Country or other segmentation, useful for passing known information about the user from a CRM, CDP and other sources */ - public User setClassifications(HashMap classifications) + public User setClassifications(@Nullable HashMap classifications) { this.classifications = classifications; return this; @@ -163,7 +163,7 @@ public User addToIdentifiers(String key, String value) return this; } /** A set of additional ids associated with the user, e.g. ERP customer id, Marketing id, CDP id etc. */ - public User setIdentifiers(HashMap identifiers) + public User setIdentifiers(@Nullable HashMap identifiers) { this.identifiers = identifiers; return this; @@ -179,24 +179,24 @@ public User addToData(String key, DataValue value) return this; } /** Data stored on the user */ - public User setData(HashMap data) + public User setData(@Nullable HashMap data) { this.data = data; return this; } /** A fingerprint, highly likely to change in the future, e.g. between sessions */ - public User setFingerprint(String fingerprint) + public User setFingerprint(@Nullable String fingerprint) { this.fingerprint = fingerprint; return this; } - public User setChannel(Channel channel) + public User setChannel(@Nullable Channel channel) { this.channel = channel; return this; } /** Company the user is associated with in the current context (Note: Companies themselves can be associated with a parent company, if the current user is acting on the behalf of a hierarchical chain of up to 2 companies) */ - public User setCompany(Company company) + public User setCompany(@Nullable Company company) { this.company = company; return this; diff --git a/src/src/main/java/com/relewise/client/model/UserAssociatedCompanyResultDetails.java b/src/src/main/java/com/relewise/client/model/UserAssociatedCompanyResultDetails.java index a8401c6..ffcee0e 100644 --- a/src/src/main/java/com/relewise/client/model/UserAssociatedCompanyResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/UserAssociatedCompanyResultDetails.java @@ -61,7 +61,7 @@ public UserAssociatedCompanyResultDetails setId(String id) this.id = id; return this; } - public UserAssociatedCompanyResultDetails setParent(UserAssociatedCompanyResultDetails parent) + public UserAssociatedCompanyResultDetails setParent(@Nullable UserAssociatedCompanyResultDetails parent) { this.parent = parent; return this; @@ -75,7 +75,7 @@ public UserAssociatedCompanyResultDetails addToData(String key, DataValue value) this.data.put(key, value); return this; } - public UserAssociatedCompanyResultDetails setData(HashMap data) + public UserAssociatedCompanyResultDetails setData(@Nullable HashMap data) { this.data = data; return this; 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 38b82da..d9a97db 100644 --- a/src/src/main/java/com/relewise/client/model/UserQuery.java +++ b/src/src/main/java/com/relewise/client/model/UserQuery.java @@ -73,12 +73,12 @@ public UserQuery addToCriteria(UserQueryCriteria criteria) } return this; } - public UserQuery setLanguage(Language language) + public UserQuery setLanguage(@Nullable Language language) { this.language = language; return this; } - public UserQuery setCurrency(Currency currency) + public UserQuery setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 4b0702a..bfe1607 100644 --- a/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java +++ b/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java @@ -57,27 +57,27 @@ public UserQueryCriteria() { return this.identifiers; } - public UserQueryCriteria setAuthenticatedId(String authenticatedId) + public UserQueryCriteria setAuthenticatedId(@Nullable String authenticatedId) { this.authenticatedId = authenticatedId; return this; } - public UserQueryCriteria setTemporaryId(String temporaryId) + public UserQueryCriteria setTemporaryId(@Nullable String temporaryId) { this.temporaryId = temporaryId; return this; } - public UserQueryCriteria setEmail(String email) + public UserQueryCriteria setEmail(@Nullable String email) { this.email = email; return this; } - public UserQueryCriteria setLanguage(Language language) + public UserQueryCriteria setLanguage(@Nullable Language language) { this.language = language; return this; } - public UserQueryCriteria setCurrency(Currency currency) + public UserQueryCriteria setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -91,7 +91,7 @@ public UserQueryCriteria addToIdentifiers(String key, String value) this.identifiers.put(key, value); return this; } - public UserQueryCriteria setIdentifiers(HashMap identifiers) + public UserQueryCriteria setIdentifiers(@Nullable HashMap identifiers) { this.identifiers = identifiers; return this; 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 a522d5a..7c805f0 100644 --- a/src/src/main/java/com/relewise/client/model/UserResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/UserResultDetails.java @@ -231,12 +231,12 @@ public UserResultDetails addToTemporaryIds(String temporaryId) } return this; } - public UserResultDetails setChannel(Channel channel) + public UserResultDetails setChannel(@Nullable Channel channel) { this.channel = channel; return this; } - public UserResultDetails setCompany(UserAssociatedCompanyResultDetails company) + public UserResultDetails setCompany(@Nullable UserAssociatedCompanyResultDetails company) { this.company = company; return this; 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 79bc4e7..bbfdff4 100644 --- a/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantAssortmentFilter.java @@ -68,7 +68,7 @@ public VariantAssortmentFilter setNegated(Boolean negated) return this; } @Override - public VariantAssortmentFilter setSettings(FilterSettings settings) + public VariantAssortmentFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/VariantChangeTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/VariantChangeTriggerConfiguration.java index 2b3a298..91fc8d5 100644 --- a/src/src/main/java/com/relewise/client/model/VariantChangeTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/VariantChangeTriggerConfiguration.java @@ -42,7 +42,7 @@ public VariantChangeTriggerConfiguration() { } @Override - public VariantChangeTriggerConfiguration setEntityPropertySelector(VariantPropertySelector entityPropertySelector) + public VariantChangeTriggerConfiguration setEntityPropertySelector(@Nullable VariantPropertySelector entityPropertySelector) { this.entityPropertySelector = entityPropertySelector; return this; @@ -66,7 +66,7 @@ public VariantChangeTriggerConfiguration setChange(IChange change) return this; } @Override - public VariantChangeTriggerConfiguration setResultSettings(VariantChangeTriggerResultSettings resultSettings) + public VariantChangeTriggerConfiguration setResultSettings(@Nullable VariantChangeTriggerResultSettings resultSettings) { this.resultSettings = resultSettings; return this; diff --git a/src/src/main/java/com/relewise/client/model/VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration.java index 45ac20f..141569d 100644 --- a/src/src/main/java/com/relewise/client/model/VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration.java @@ -63,7 +63,7 @@ public IChange getChange() return this.resultSettings; } /** The selector used for choosing which property of the entity the trigger should look for change in. */ - public VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration setEntityPropertySelector(VariantPropertySelector entityPropertySelector) + public VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration setEntityPropertySelector(@Nullable VariantPropertySelector entityPropertySelector) { this.entityPropertySelector = entityPropertySelector; return this; @@ -87,7 +87,7 @@ public VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantProper return this; } /** Settings for defining which properties should be included in the result of the trigger. */ - public VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration setResultSettings(VariantChangeTriggerResultSettings resultSettings) + public VariantChangeTriggerResultVariantChangeTriggerResultSettingsVariantPropertySelectorEntityChangeTriggerConfiguration setResultSettings(@Nullable VariantChangeTriggerResultSettings resultSettings) { this.resultSettings = resultSettings; return this; 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 a67f9ba..7c44da7 100644 --- a/src/src/main/java/com/relewise/client/model/VariantDataFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantDataFilter.java @@ -107,19 +107,19 @@ public VariantDataFilter setMustMatchAllConditions(Boolean mustMatchAllCondition return this; } @Override - public VariantDataFilter setConditions(ValueConditionCollection conditions) + public VariantDataFilter setConditions(@Nullable ValueConditionCollection conditions) { this.conditions = conditions; return this; } @Override - public VariantDataFilter setLanguage(Language language) + public VariantDataFilter setLanguage(@Nullable Language language) { this.language = language; return this; } @Override - public VariantDataFilter setCurrency(Currency currency) + public VariantDataFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -151,7 +151,7 @@ public VariantDataFilter setNegated(Boolean negated) return this; } @Override - public VariantDataFilter setSettings(FilterSettings settings) + public VariantDataFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/VariantDataHasKeyFilter.java b/src/src/main/java/com/relewise/client/model/VariantDataHasKeyFilter.java index 169f4d1..7760a35 100644 --- a/src/src/main/java/com/relewise/client/model/VariantDataHasKeyFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantDataHasKeyFilter.java @@ -65,7 +65,7 @@ public VariantDataHasKeyFilter setNegated(Boolean negated) return this; } @Override - public VariantDataHasKeyFilter setSettings(FilterSettings settings) + public VariantDataHasKeyFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; diff --git a/src/src/main/java/com/relewise/client/model/VariantDisabledFilter.java b/src/src/main/java/com/relewise/client/model/VariantDisabledFilter.java index f0dbaa5..ef47b3d 100644 --- a/src/src/main/java/com/relewise/client/model/VariantDisabledFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantDisabledFilter.java @@ -49,7 +49,7 @@ public VariantDisabledFilter setNegated(Boolean negated) return this; } @Override - public VariantDisabledFilter setSettings(FilterSettings settings) + public VariantDisabledFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 e50cc28..a4e519c 100644 --- a/src/src/main/java/com/relewise/client/model/VariantIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantIdFilter.java @@ -68,7 +68,7 @@ public VariantIdFilter setNegated(Boolean negated) return this; } @Override - public VariantIdFilter setSettings(FilterSettings settings) + public VariantIdFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 48db271..094c592 100644 --- a/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantListPriceFilter.java @@ -66,7 +66,7 @@ public VariantListPriceFilter setRange(DoubleRange range) this.range = range; return this; } - public VariantListPriceFilter setCurrency(Currency currency) + public VariantListPriceFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -78,7 +78,7 @@ public VariantListPriceFilter setNegated(Boolean negated) return this; } @Override - public VariantListPriceFilter setSettings(FilterSettings settings) + public VariantListPriceFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 94a5436..0b46593 100644 --- a/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantListPriceRelevanceModifier.java @@ -104,7 +104,7 @@ public VariantListPriceRelevanceModifier setRange(DoubleRange range) return this; } /** The currency that is used to distinguish the price. */ - public VariantListPriceRelevanceModifier setCurrency(Currency currency) + public VariantListPriceRelevanceModifier setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 6085d32..be59453 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantSalesPriceFilter.java @@ -66,7 +66,7 @@ public VariantSalesPriceFilter setRange(DoubleRange range) this.range = range; return this; } - public VariantSalesPriceFilter setCurrency(Currency currency) + public VariantSalesPriceFilter setCurrency(@Nullable Currency currency) { this.currency = currency; return this; @@ -78,7 +78,7 @@ public VariantSalesPriceFilter setNegated(Boolean negated) return this; } @Override - public VariantSalesPriceFilter setSettings(FilterSettings settings) + public VariantSalesPriceFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this; 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 65abf5f..0b13cd4 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/VariantSalesPriceRelevanceModifier.java @@ -104,7 +104,7 @@ public VariantSalesPriceRelevanceModifier setRange(DoubleRange range) return this; } /** The currency that is used to distinguish the price. */ - public VariantSalesPriceRelevanceModifier setCurrency(Currency currency) + public VariantSalesPriceRelevanceModifier setCurrency(@Nullable Currency currency) { this.currency = currency; return this; 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 9c0fc9a..dc511b1 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationFacet.java @@ -70,7 +70,7 @@ public VariantSpecificationFacet setField(FacetingField field) return this; } @Override - public VariantSpecificationFacet setSettings(FacetSettings settings) + public VariantSpecificationFacet setSettings(@Nullable FacetSettings settings) { this.settings = settings; return this; 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 3e2e075..ee11d99 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java +++ b/src/src/main/java/com/relewise/client/model/VariantSpecificationFilter.java @@ -87,7 +87,7 @@ public VariantSpecificationFilter setNegated(Boolean negated) return this; } @Override - public VariantSpecificationFilter setSettings(FilterSettings settings) + public VariantSpecificationFilter setSettings(@Nullable FilterSettings settings) { this.settings = settings; return this;