diff --git a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java index 7958bcf8..c99fe334 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedCartTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedCartTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.AbandonedCartTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public AbandonedCartTriggerResultTriggerConfiguration setId(UUID id) { 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 bfcce4b0..a8b46783 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearch.java @@ -31,7 +31,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedSearch { - public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch, Relewise.Client"; + public String $type = ""; public String loweredSearchTerm; public Integer hits; public String getLoweredSearchTerm() diff --git a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java index b36d4bca..552ca965 100644 --- a/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/AbandonedSearchTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AbandonedSearchTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.AbandonedSearchTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public AbandonedSearchTriggerResultTriggerConfiguration setId(UUID id) { 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 00306af4..99213526 100644 --- a/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java +++ b/src/src/main/java/com/relewise/client/model/AnalyzerRequest.java @@ -29,7 +29,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AnalyzerRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Analyzers.AnalyzerRequest, Relewise.Client"; + public String $type = ""; public @Nullable Language language; public @Nullable Currency currency; public @Nullable Language getLanguage() diff --git a/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java b/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java index 91116254..6c85abcb 100644 --- a/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java +++ b/src/src/main/java/com/relewise/client/model/ApplicableIndexes.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ApplicableIndexes.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ApplicableIndexes { - public String $type = "Relewise.Client.DataTypes.ApplicableIndexes, Relewise.Client"; public String[] indexes; public static final ApplicableIndexes ALL = null; public static ApplicableIndexes create(String... indexes) diff --git a/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java b/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java index 0e65c7f0..c0a491e1 100644 --- a/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java +++ b/src/src/main/java/com/relewise/client/model/ApplicableLanguages.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ApplicableLanguages.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ApplicableLanguages { - public String $type = "Relewise.Client.DataTypes.ApplicableLanguages, Relewise.Client"; public Language[] languages; public static final ApplicableLanguages ALL = null; public static ApplicableLanguages create(Language... languages) 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 6a2b8ba8..4e724d05 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFacet.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AssortmentFacet extends IntegerValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.AssortmentFacet, Relewise.Client"; + public String $type = ""; public AssortmentFilterType assortmentFilterType; public AssortmentFilterType getAssortmentFilterType() { diff --git a/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java b/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java index 65c9aed1..ebef5db8 100644 --- a/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/AssortmentFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class AssortmentFacetResult extends IntegerIntegerValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AssortmentFacetResult, Relewise.Client"; + public String $type = ""; public AssortmentFilterType assortmentFilterType; public AssortmentFilterType getAssortmentFilterType() { diff --git a/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java index 4d727218..3f3a65f8 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/BooleanAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BooleanAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BooleanAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public Boolean value; public Integer hits; public Boolean selected; diff --git a/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java index c4739743..8705b56d 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanBooleanValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanBooleanValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() 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 e3bb5e50..98c763ac 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanContentDataValueFacet extends BooleanDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanContentDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java index 165d0996..0b1e5b6b 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanContentDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanContentDataValueFacetResult extends BooleanDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanContentDataValueFacetResult setKey(String key) { 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 21f99780..2d593184 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataObjectValueFacet extends BooleanDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanDataObjectValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java index f7445551..4b35bb97 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataObjectValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataObjectValueFacetResult extends BooleanDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanDataObjectValueFacetResult setKey(String key) { 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 42e61bdc..b276424a 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataValueFacet extends BooleanValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java index 1ae5066e..16c9ac57 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanDataValueFacetResult extends BooleanValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() 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 cdd63fac..363819d4 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductCategoryDataValueFacet extends BooleanDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanProductCategoryDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java index c4397a15..3656736b 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductCategoryDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductCategoryDataValueFacetResult extends BooleanDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanProductCategoryDataValueFacetResult setKey(String key) { 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 3ccf0ea7..829e633c 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductDataValueFacet extends BooleanDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java index 582efb48..39cf4889 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanProductDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanProductDataValueFacetResult extends BooleanDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { 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 9c15c9d6..34ab4afe 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/BooleanValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanValueFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable ArrayList selected; public @Nullable ArrayList getSelected() { diff --git a/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java b/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java index 80220267..6a130873 100644 --- a/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/BooleanValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BooleanValueFacetResult extends BooleanBooleanValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Boolean, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public BooleanValueFacetResult setSelected(Boolean... selected) { 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 953f7792..ad2ae097 100644 --- a/src/src/main/java/com/relewise/client/model/Brand.java +++ b/src/src/main/java/com/relewise/client/model/Brand.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Brand.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Brand { - public String $type = "Relewise.Client.DataTypes.Brand, Relewise.Client"; public String id; public @Nullable String displayName; public @Nullable ArrayList assortments; diff --git a/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java index 6049587c..71a9aa9c 100644 --- a/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/BrandIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.BrandIndexConfiguration, Relewise.Client"; public FieldIndexConfiguration id; public FieldIndexConfiguration displayName; public static BrandIndexConfiguration create() diff --git a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java index aeb86b5d..ca6c4042 100644 --- a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java +++ b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandNameAndIdResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandNameAndIdResult { - public String $type = "Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client"; public String id; public String displayName; public static BrandNameAndIdResult create(String id, String displayName) diff --git a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java index 3b310e28..8542cff9 100644 --- a/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/BrandNameAndIdResultAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandNameAndIdResultAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandNameAndIdResultAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public BrandNameAndIdResult value; public Integer hits; public Boolean selected; 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 b2356307..5cb25719 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequest.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class BrandRecommendationRequest extends RecommendationRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationRequest, Relewise.Client"; + public String $type = ""; public BrandRecommendationRequestSettings settings; public BrandRecommendationRequestSettings getSettings() { 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 c1a62b22..0bb30a7a 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationRequestSettings, Relewise.Client"; public Integer numberOfRecommendations; public Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java index f8ddf3fa..2446662b 100644 --- a/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/BrandRecommendationWeights.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandRecommendationWeights.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandRecommendationWeights { - public String $type = "Relewise.Client.Requests.Recommendations.BrandRecommendationWeights, Relewise.Client"; public Double brandViews; public Double productViews; public Double productPurchases; diff --git a/src/src/main/java/com/relewise/client/model/BrandResult.java b/src/src/main/java/com/relewise/client/model/BrandResult.java index 362fc34e..38c27a61 100644 --- a/src/src/main/java/com/relewise/client/model/BrandResult.java +++ b/src/src/main/java/com/relewise/client/model/BrandResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandResult { - public String $type = "Relewise.Client.DataTypes.BrandResult, Relewise.Client"; public String id; public String displayName; public Integer rank; diff --git a/src/src/main/java/com/relewise/client/model/BrandResultDetails.java b/src/src/main/java/com/relewise/client/model/BrandResultDetails.java index f46253ed..e0b8b1a8 100644 --- a/src/src/main/java/com/relewise/client/model/BrandResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/BrandResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = BrandResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class BrandResultDetails { - public String $type = "Relewise.Client.DataTypes.BrandResultDetails, Relewise.Client"; public String brandId; public String displayName; public Integer[] assortments; diff --git a/src/src/main/java/com/relewise/client/model/CartDetails.java b/src/src/main/java/com/relewise/client/model/CartDetails.java index be072b76..5f9ec897 100644 --- a/src/src/main/java/com/relewise/client/model/CartDetails.java +++ b/src/src/main/java/com/relewise/client/model/CartDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CartDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CartDetails { - public String $type = "Relewise.Client.DataTypes.CartDetails, Relewise.Client"; public String name; public OffsetDateTime modifiedUtc; public LineItem[] lineItems; diff --git a/src/src/main/java/com/relewise/client/model/Category.java b/src/src/main/java/com/relewise/client/model/Category.java index afd05a99..441f89ea 100644 --- a/src/src/main/java/com/relewise/client/model/Category.java +++ b/src/src/main/java/com/relewise/client/model/Category.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Category { - public String $type = "Relewise.Client.DataTypes.Category, Relewise.Client"; + public String $type = ""; public String id; public Multilingual displayName; public ArrayList categoryPaths; 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 c51e15d2..28070734 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java +++ b/src/src/main/java/com/relewise/client/model/CategoryAdministrativeAction.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryAdministrativeAction extends Trackable { - public String $type = "Relewise.Client.DataTypes.CategoryAdministrativeAction, Relewise.Client"; + public String $type = ""; public FilterCollection filters; public @Nullable Language language; public CategoryAdministrativeActionUpdateKind kind; 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 9f40ed20..28a581c0 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIdFilter.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryIdFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.CategoryIdFilter, Relewise.Client"; + public String $type = ""; public ArrayList categoryIds; public CategoryScope evaluationScope; public ArrayList getCategoryIds() diff --git a/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java index 10193b2f..34c7598c 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.CategoryIndexConfiguration, Relewise.Client"; public CategoryIndexConfigurationEntry unspecified; public static CategoryIndexConfiguration create() { diff --git a/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java b/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java index ad9568b2..a2fff332 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java +++ b/src/src/main/java/com/relewise/client/model/CategoryIndexConfigurationEntry.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryIndexConfigurationEntry.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryIndexConfigurationEntry { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.CategoryIndexConfigurationEntry, Relewise.Client"; public FieldIndexConfiguration id; public FieldIndexConfiguration displayName; public DataIndexConfiguration data; 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 b5a507f1..0635b2f3 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java +++ b/src/src/main/java/com/relewise/client/model/CategoryLevelFilter.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryLevelFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.CategoryLevelFilter, Relewise.Client"; + public String $type = ""; public ArrayList levels; public ArrayList getLevels() { 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 b5767060..887aa06f 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndId.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryNameAndId.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndId { - public String $type = "Relewise.Client.DataTypes.CategoryNameAndId, Relewise.Client"; public String id; public @Nullable Multilingual displayName; public static CategoryNameAndId create(String id) diff --git a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java index a4b8d212..cea8a9b1 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryNameAndIdResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndIdResult { - public String $type = "Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client"; public String id; public String displayName; public static CategoryNameAndIdResult create(String id, String displayName) diff --git a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java index 2f6e962e..5626a116 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/CategoryNameAndIdResultAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryNameAndIdResultAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryNameAndIdResultAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public CategoryNameAndIdResult value; public Integer hits; public Boolean selected; diff --git a/src/src/main/java/com/relewise/client/model/CategoryPath.java b/src/src/main/java/com/relewise/client/model/CategoryPath.java index 3b2a7ede..7edab4fb 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPath.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPath.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryPath.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPath { - public String $type = "Relewise.Client.DataTypes.CategoryPath, Relewise.Client"; public ArrayList breadcrumbPathStartingFromRoot; public static CategoryPath create(CategoryNameAndId... breadcrumbPathStartingFromRoot) { diff --git a/src/src/main/java/com/relewise/client/model/CategoryPathResult.java b/src/src/main/java/com/relewise/client/model/CategoryPathResult.java index ef73e06a..be04fe30 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPathResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPathResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryPathResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPathResult { - public String $type = "Relewise.Client.DataTypes.CategoryPathResult, Relewise.Client"; public ArrayList pathFromRoot; public Integer rank; public static CategoryPathResult create(CategoryNameAndIdResult... pathFromRoot) diff --git a/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java b/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java index 8008a010..8b1fba22 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/CategoryPathResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryPathResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryPathResultDetails { - public String $type = "Relewise.Client.DataTypes.CategoryPathResultDetails, Relewise.Client"; public ArrayList breadcrumbPathStartingFromRoot; public static CategoryPathResultDetails create(CategoryNameAndId... breadcrumbPathStartingFromRoot) { diff --git a/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java b/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java index fffdf309..9368a2b5 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java +++ b/src/src/main/java/com/relewise/client/model/CategoryProductAndVariant.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = CategoryProductAndVariant.class) @JsonIgnoreProperties(ignoreUnknown = true) public class CategoryProductAndVariant { - public String $type = "Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult+Category+ProductAndVariant, Relewise.Client"; public ProductResultDetails product; public VariantResultDetails variant; public static CategoryProductAndVariant create() diff --git a/src/src/main/java/com/relewise/client/model/CategoryResult.java b/src/src/main/java/com/relewise/client/model/CategoryResult.java index a07ca08e..0abb02ca 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryResult.java +++ b/src/src/main/java/com/relewise/client/model/CategoryResult.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryResult { - public String $type = "Relewise.Client.DataTypes.CategoryResult, Relewise.Client"; + public String $type = ""; public String categoryId; public String displayName; public Integer rank; diff --git a/src/src/main/java/com/relewise/client/model/CategoryUpdate.java b/src/src/main/java/com/relewise/client/model/CategoryUpdate.java index 8a10cc7e..c700cd48 100644 --- a/src/src/main/java/com/relewise/client/model/CategoryUpdate.java +++ b/src/src/main/java/com/relewise/client/model/CategoryUpdate.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class CategoryUpdate extends Trackable { - public String $type = "Relewise.Client.DataTypes.CategoryUpdate, Relewise.Client"; + public String $type = ""; public CategoryUpdateUpdateKind kind; public CategoryUpdateUpdateKind getKind() { diff --git a/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java index d205cc0a..4552a68b 100644 --- a/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ConditionConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ConditionConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ConditionConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.ConditionConfiguration, Relewise.Client"; public UserConditionConfiguration user; public InputConditionConfiguration input; public TargetConditionConfiguration target; 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 7496638e..eff96c80 100644 --- a/src/src/main/java/com/relewise/client/model/Content.java +++ b/src/src/main/java/com/relewise/client/model/Content.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Content.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Content { - public String $type = "Relewise.Client.DataTypes.Content, Relewise.Client"; public String id; public @Nullable Multilingual displayName; public @Nullable ArrayList categoryPaths; 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 f96ce261..a58e832b 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryIdFilterCategoryQuery.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryIdFilterCategoryQuery extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Queries.CategoryQuery`1[[Relewise.Client.Requests.Filters.ContentCategoryIdFilter, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public FilterCollection filters; public Integer numberOfResults; public @Nullable Language language; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java index 587036e5..33f19e99 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultCategory.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentCategoryInterestTriggerResultCategory.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryInterestTriggerResultCategory { - public String $type = "Relewise.Client.Responses.Triggers.Results.ContentCategoryInterestTriggerResult+Category, Relewise.Client"; public String[] lastPath; public Integer views; public ContentResultDetails[] viewedContents; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java index eea72392..56c32d81 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryInterestTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ContentCategoryInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public ContentCategoryInterestTriggerResultTriggerConfiguration setId(UUID id) { 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 bcc9e97c..b8d86c15 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequest.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryRecommendationRequest extends RecommendationRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationRequest, Relewise.Client"; + public String $type = ""; public ContentCategoryRecommendationRequestSettings settings; public ContentCategoryRecommendationRequestSettings getSettings() { diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java index d5765f60..081b8e80 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentCategoryRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationRequestSettings, Relewise.Client"; public Integer numberOfRecommendations; public Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java index 75f70b76..c7002f06 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryRecommendationWeights.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentCategoryRecommendationWeights.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentCategoryRecommendationWeights { - public String $type = "Relewise.Client.Requests.Recommendations.ContentCategoryRecommendationWeights, Relewise.Client"; public Double categoryViews; public Double contentViews; public static ContentCategoryRecommendationWeights create() diff --git a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java index 80969e0b..9bb35b24 100644 --- a/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ContentCategoryResultDetailsCategoryResultDetails.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentCategoryResultDetailsCategoryResultDetails { - public String $type = "Relewise.Client.DataTypes.CategoryResultDetails`1[[Relewise.Client.DataTypes.ContentCategoryResultDetails, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public String categoryId; public Multilingual displayName; public Integer[] assortments; diff --git a/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java b/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java index 7c02e679..873e3010 100644 --- a/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ContentFacetQuery.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentFacetQuery.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentFacetQuery { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentFacetQuery, Relewise.Client"; public ArrayList items; public static ContentFacetQuery create() { diff --git a/src/src/main/java/com/relewise/client/model/ContentFacetResult.java b/src/src/main/java/com/relewise/client/model/ContentFacetResult.java index d4a03def..38349b00 100644 --- a/src/src/main/java/com/relewise/client/model/ContentFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentFacetResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentFacetResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentFacetResult, Relewise.Client"; public ArrayList items; public static ContentFacetResult create() { diff --git a/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java index 104e1d43..735cbb40 100644 --- a/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContentIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.ContentIndexConfiguration, Relewise.Client"; public FieldIndexConfiguration id; public FieldIndexConfiguration displayName; public CategoryIndexConfiguration category; 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 31c672fd..f39bb26d 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequest.java @@ -34,7 +34,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentRecommendationRequest extends RecommendationRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.ContentRecommendationRequest, Relewise.Client"; + public String $type = ""; public ContentRecommendationRequestSettings settings; public ContentRecommendationRequestSettings getSettings() { 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 ccf40ec8..bd80f186 100644 --- a/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ContentRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.ContentRecommendationRequestSettings, Relewise.Client"; public Integer numberOfRecommendations; public Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/ContentResult.java b/src/src/main/java/com/relewise/client/model/ContentResult.java index 8c9cbdd3..6171271a 100644 --- a/src/src/main/java/com/relewise/client/model/ContentResult.java +++ b/src/src/main/java/com/relewise/client/model/ContentResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentResult { - public String $type = "Relewise.Client.DataTypes.ContentResult, Relewise.Client"; public String contentId; public String displayName; public Integer rank; diff --git a/src/src/main/java/com/relewise/client/model/ContentResultDetails.java b/src/src/main/java/com/relewise/client/model/ContentResultDetails.java index 8fc30443..63090b66 100644 --- a/src/src/main/java/com/relewise/client/model/ContentResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ContentResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentResultDetails { - public String $type = "Relewise.Client.DataTypes.ContentResultDetails, Relewise.Client"; public String contentId; public Multilingual displayName; public Integer[] assortments; diff --git a/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java b/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java index 46a32184..ef7603e6 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ContentSortBySpecification.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContentSortBySpecification.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContentSortBySpecification { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentSortBySpecification, Relewise.Client"; public ContentSorting value; public static ContentSortBySpecification create() { diff --git a/src/src/main/java/com/relewise/client/model/ContentSorting.java b/src/src/main/java/com/relewise/client/model/ContentSorting.java index a8fadc85..78d65812 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentSorting.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentSorting extends ContentSortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Content.ContentSorting, Relewise.Client"; + public String $type = ""; @Override public ContentSorting setOrder(SortOrder order) { diff --git a/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java b/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java index 0416b0c0..ad9ccf3c 100644 --- a/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ContentSortingSorting.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ContentSortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.Content.ContentSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SortOrder order; public ContentSorting thenBy; public SortOrder getOrder() diff --git a/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java index 35f99197..6c53cd64 100644 --- a/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ContextConditionConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ContextConditionConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ContextConditionConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.ContextConditionConfiguration, Relewise.Client"; public ArrayList filters; public static ContextConditionConfiguration create() { diff --git a/src/src/main/java/com/relewise/client/model/Currency.java b/src/src/main/java/com/relewise/client/model/Currency.java index fe0d8b20..8a83b99b 100644 --- a/src/src/main/java/com/relewise/client/model/Currency.java +++ b/src/src/main/java/com/relewise/client/model/Currency.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Currency.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Currency { - public String $type = "Relewise.Client.DataTypes.Currency, Relewise.Client"; public String value; public static final Currency UNDEFINED = null; public static Currency create(String name) 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 9c072e26..4fd3a633 100644 --- a/src/src/main/java/com/relewise/client/model/DataFilter.java +++ b/src/src/main/java/com/relewise/client/model/DataFilter.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DataFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.DataFilter, Relewise.Client"; + public String $type = ""; public String key; public Boolean filterOutIfKeyIsNotFound; public Boolean mustMatchAllConditions; diff --git a/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java index b5a94b05..cf4fdd7d 100644 --- a/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/DataIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DataIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DataIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.DataIndexConfiguration, Relewise.Client"; public HashMap keys; public FieldIndexConfiguration unspecified; public static DataIndexConfiguration create() diff --git a/src/src/main/java/com/relewise/client/model/DataObjectFilter.java b/src/src/main/java/com/relewise/client/model/DataObjectFilter.java index 8c69b229..2bef368b 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectFilter.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectFilter.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DataObjectFilter.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectFilter { - public String $type = "Relewise.Client.Requests.Filters.DataObjects.DataObjectFilter, Relewise.Client"; public @Nullable ArrayList conditions; public @Nullable Integer skip; public @Nullable Integer take; 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 d5c2e325..df217bfc 100644 --- a/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/DataObjectValueSelector.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DataObjectValueSelector.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DataObjectValueSelector { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.DataObjectValueSelector, Relewise.Client"; public String key; public @Nullable DataObjectFilter filter; public @Nullable DataObjectValueSelector childSelector; diff --git a/src/src/main/java/com/relewise/client/model/DataValue.java b/src/src/main/java/com/relewise/client/model/DataValue.java index 3596501d..6fa216b3 100644 --- a/src/src/main/java/com/relewise/client/model/DataValue.java +++ b/src/src/main/java/com/relewise/client/model/DataValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DataValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DataValue { - public String $type = "Relewise.Client.DataTypes.DataValue, Relewise.Client"; public DataValueDataValueTypes type; public Object value; public static DataValue create() diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java index e7f7b89f..218249fa 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSaveSearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public DecompoundRule[] rules; public String modifiedBy; public DecompoundRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java index 434307d8..834f8f32 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSaveSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSaveSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public DecompoundRule[] rules; public DecompoundRule[] getRules() { diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java index 2be958e4..d4163f4e 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRuleSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRuleSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.DecompoundRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public DecompoundRule[] rules; public Integer hits; public DecompoundRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java index 084dbd56..e88fc4ad 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DecompoundRulesRequestSortBySearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SearchRuleFilters filters; public DecompoundRulesRequestSortBySorting sorting; public Integer skip; diff --git a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java index c292a649..3f60e60d 100644 --- a/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/DecompoundRulesRequestSortBySorting.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DecompoundRulesRequestSortBySorting.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DecompoundRulesRequestSortBySorting { - public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.DecompoundRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public DecompoundRulesRequestSortBy sortBy; public SortOrder sortOrder; public static DecompoundRulesRequestSortBySorting create(DecompoundRulesRequestSortBy sortBy, SortOrder sortOrder) diff --git a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java index 4c63ad62..dbf5315f 100644 --- a/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/DeleteSearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DeleteSearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.DeleteSearchRulesRequest, Relewise.Client"; + public String $type = ""; public UUID[] ids; public String deletedBy; public UUID[] getIds() diff --git a/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java index 080b5533..4f71457b 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DoubleAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DoubleAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public Double value; public Integer hits; public Boolean selected; diff --git a/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java b/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java index bd4af603..77b422b1 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java +++ b/src/src/main/java/com/relewise/client/model/DoubleChainableRange.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DoubleChainableRange.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DoubleChainableRange { - public String $type = "Relewise.Client.DataTypes.ChainableRange`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public @Nullable Double lowerBoundInclusive; public @Nullable Double upperBoundExclusive; public static DoubleChainableRange create(@Nullable Double lowerBoundInclusive, @Nullable Double upperBoundExclusive) diff --git a/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java index 2357db51..de170e02 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleChainableRangeAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DoubleChainableRangeAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DoubleChainableRangeAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.ChainableRange`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public DoubleChainableRange value; public Integer hits; public Boolean selected; 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 f95511d3..73f0595c 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 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangeFacet extends DoubleDataRangeFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleContentDataRangeFacet setSelected(DoubleRange selected) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java index 18a32076..5ebf224f 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangeFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangeFacetResult extends DoubleRangeFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 c1ca1e7c..de919703 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangesFacet extends DoubleDataRangesFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleContentDataRangesFacet setPredefinedRanges(DoubleChainableRange... predefinedRanges) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java index e232bfde..edde9b67 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataRangesFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataRangesFacetResult extends DoubleRangesFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 21a2a889..d83098df 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataValueFacet extends DoubleDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleContentDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java index e5b0adfd..72578496 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleContentDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleContentDataValueFacetResult extends DoubleDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleContentDataValueFacetResult setKey(String key) { 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 f07050b7..c534c7ae 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 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangeFacet extends DoubleDataRangeFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleDataObjectRangeFacet setSelected(DoubleRange selected) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java index 3369ce90..9c6dc88d 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangeFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangeFacetResult extends DoubleRangeFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 d3b2d47d..3d120452 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangesFacet extends DoubleDataRangesFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleDataObjectRangesFacet setPredefinedRanges(DoubleChainableRange... predefinedRanges) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java index 9b4d7781..2a8c43ad 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectRangesFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectRangesFacetResult extends DoubleRangesFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 cb86fa18..b798dc6c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectValueFacet extends DoubleDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleDataObjectValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java index 2a49cbaa..613167ad 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataObjectValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataObjectValueFacetResult extends DoubleDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleDataObjectValueFacetResult setKey(String key) { 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 7deb0b3d..76f70f91 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangeFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataRangeFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable DoubleRange selected; public String key; public @Nullable DoubleRange getSelected() 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 aec8fac8..657aa4ea 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataRangesFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataRangesFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable ArrayList predefinedRanges; public @Nullable Double expandedRangeSize; public @Nullable ArrayList selected; 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 5d2dcef3..05eb1100 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataValueFacet extends DoubleValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java index a4d9cfb0..2ac5d4f3 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDataValueFacetResult extends DoubleValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java index a58f219c..e9be9756 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleDoubleValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleDoubleValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() 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 dd53fb18..8ae4ac0c 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 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangeFacet extends DoubleDataRangeFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleProductCategoryDataRangeFacet setSelected(DoubleRange selected) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java index 699f8234..0e45ddc4 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangeFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangeFacetResult extends DoubleRangeFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 b23c092a..391fb383 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangesFacet extends DoubleDataRangesFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleProductCategoryDataRangesFacet setPredefinedRanges(DoubleChainableRange... predefinedRanges) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java index 02209334..e1e0d17d 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataRangesFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataRangesFacetResult extends DoubleRangesFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public String getKey() { 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 67d0946e..2de1f9e6 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataValueFacet extends DoubleDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleProductCategoryDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java index c3617e75..29362f1e 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductCategoryDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductCategoryDataValueFacetResult extends DoubleDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleProductCategoryDataValueFacetResult setKey(String key) { 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 35a423a5..452a1f0c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangeFacet extends DoubleDataRangeFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataRangeFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java index 498f15ae..1affc6ef 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangeFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangeFacetResult extends DoubleRangeFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataRangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public DataSelectionStrategy dataSelectionStrategy; public String getKey() 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 aba730bc..ac8cfc27 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangesFacet extends DoubleDataRangesFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataRangesFacet`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java index 8ae929d3..bc7f1ddb 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataRangesFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataRangesFacetResult extends DoubleRangesFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataRangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public DataSelectionStrategy dataSelectionStrategy; public String getKey() 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 3edd2f22..86bf5340 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataValueFacet extends DoubleDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java index 1497a580..864a2873 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleProductDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleProductDataValueFacetResult extends DoubleDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/DoubleRange.java b/src/src/main/java/com/relewise/client/model/DoubleRange.java index d20e4001..0401dc7e 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRange.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRange.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DoubleRange.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DoubleRange { - public String $type = "Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Decimal, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public @Nullable Double lowerBoundInclusive; public @Nullable Double upperBoundInclusive; public static DoubleRange create(@Nullable Double lowerBoundInclusive, @Nullable Double upperBoundInclusive) diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java index fd2e6700..65bb0c8a 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangeAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = DoubleRangeAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class DoubleRangeAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public DoubleRange value; public Integer hits; public Boolean selected; diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java index 41bff57b..ce1dab3c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangeFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleRangeFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.RangeFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DoubleRange selected; public DoubleRangeAvailableFacetValue available; public DoubleRange getSelected() diff --git a/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java index 41ec18d7..4307770c 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleRangesFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleRangesFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.RangesFacetResult`1[[System.Nullable`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable Double expandedRangeSize; public ArrayList selected; public ArrayList available; 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 ea343a7f..33b4a53b 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/DoubleValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleValueFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable ArrayList selected; public @Nullable ArrayList getSelected() { diff --git a/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java b/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java index fbadd616..4e44b794 100644 --- a/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/DoubleValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class DoubleValueFacetResult extends DoubleDoubleValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Double, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public DoubleValueFacetResult setSelected(Double... selected) { diff --git a/src/src/main/java/com/relewise/client/model/Enum.java b/src/src/main/java/com/relewise/client/model/Enum.java index f101368d..797d9e03 100644 --- a/src/src/main/java/com/relewise/client/model/Enum.java +++ b/src/src/main/java/com/relewise/client/model/Enum.java @@ -22,5 +22,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Enum extends ValueType implements IComparable, IFormattable, IConvertible { - public String $type = "System.Enum, System.Private.CoreLib"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java b/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java index 8498ba9a..835211dd 100644 --- a/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java +++ b/src/src/main/java/com/relewise/client/model/ExpectedSearchTermResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ExpectedSearchTermResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ExpectedSearchTermResult { - public String $type = "Relewise.Client.DataTypes.ExpectedSearchTermResult, Relewise.Client"; public Integer estimatedHits; public EntityType type; public static ExpectedSearchTermResult create() 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 12b2872e..78de1c86 100644 --- a/src/src/main/java/com/relewise/client/model/Facet.java +++ b/src/src/main/java/com/relewise/client/model/Facet.java @@ -62,7 +62,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.Facet, Relewise.Client"; + public String $type = ""; public FacetingField field; public @Nullable FacetSettings settings; public FacetingField getField() diff --git a/src/src/main/java/com/relewise/client/model/FacetResult.java b/src/src/main/java/com/relewise/client/model/FacetResult.java index 71f7afdb..8f362be1 100644 --- a/src/src/main/java/com/relewise/client/model/FacetResult.java +++ b/src/src/main/java/com/relewise/client/model/FacetResult.java @@ -60,7 +60,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.FacetResult, Relewise.Client"; + public String $type = ""; public FacetingField field; public FacetingField getField() { diff --git a/src/src/main/java/com/relewise/client/model/FacetSettings.java b/src/src/main/java/com/relewise/client/model/FacetSettings.java index deeb450a..b1ba8a67 100644 --- a/src/src/main/java/com/relewise/client/model/FacetSettings.java +++ b/src/src/main/java/com/relewise/client/model/FacetSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = FacetSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class FacetSettings { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.FacetSettings, Relewise.Client"; public Boolean alwaysIncludeSelectedInAvailable; public static FacetSettings create() { 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 766d7d84..759f01c1 100644 --- a/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/FieldIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = FieldIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class FieldIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.FieldIndexConfiguration, Relewise.Client"; public Boolean included; public Short weight; public PredictionSourceType predictionSourceType; 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 ba2bb412..03349b87 100644 --- a/src/src/main/java/com/relewise/client/model/Filter.java +++ b/src/src/main/java/com/relewise/client/model/Filter.java @@ -66,7 +66,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Filter { - public String $type = "Relewise.Client.Requests.Filters.Filter, Relewise.Client"; + public String $type = ""; public Boolean negated; public Boolean getNegated() { diff --git a/src/src/main/java/com/relewise/client/model/FilterCollection.java b/src/src/main/java/com/relewise/client/model/FilterCollection.java index 1e6a0983..4faba7ee 100644 --- a/src/src/main/java/com/relewise/client/model/FilterCollection.java +++ b/src/src/main/java/com/relewise/client/model/FilterCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = FilterCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class FilterCollection { - public String $type = "Relewise.Client.Requests.Filters.FilterCollection, Relewise.Client"; public @Nullable ArrayList items; public static FilterCollection create(Filter... filters) { diff --git a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java index 47b18584..37ba5f3b 100644 --- a/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/GlobalTriggerConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = GlobalTriggerConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class GlobalTriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.GlobalTriggerConfiguration, Relewise.Client"; public OffsetDateTime modified; public String modifiedBy; public Boolean enabled; 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 054cc111..7814a1bd 100644 --- a/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasAncestorCategoryFilter.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasAncestorCategoryFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.HasAncestorCategoryFilter, Relewise.Client"; + public String $type = ""; public ArrayList categoryIds; public ArrayList getCategoryIds() { 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 a361879b..4a175278 100644 --- a/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasChildCategoryFilter.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasChildCategoryFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.HasChildCategoryFilter, Relewise.Client"; + public String $type = ""; public ArrayList categoryIds; public ArrayList getCategoryIds() { 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 8c9fa70f..c3055de4 100644 --- a/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java +++ b/src/src/main/java/com/relewise/client/model/HasParentCategoryFilter.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class HasParentCategoryFilter extends Filter { - public String $type = "Relewise.Client.Requests.Filters.HasParentCategoryFilter, Relewise.Client"; + public String $type = ""; public ArrayList categoryIds; public ArrayList getCategoryIds() { diff --git a/src/src/main/java/com/relewise/client/model/IndexConfiguration.java b/src/src/main/java/com/relewise/client/model/IndexConfiguration.java index 9608faa3..43a82d40 100644 --- a/src/src/main/java/com/relewise/client/model/IndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/IndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = IndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class IndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.IndexConfiguration, Relewise.Client"; public LanguageIndexConfiguration language; public ProductIndexConfiguration product; public ContentIndexConfiguration content; diff --git a/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java index d3eb2cb5..8267f37d 100644 --- a/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/InputConditionConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = InputConditionConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class InputConditionConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.InputConditionConfiguration, Relewise.Client"; public FilterCollection filters; public EvaluationMode evaluationMode; public static InputConditionConfiguration create() diff --git a/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java index 542d54ba..11b3084b 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/IntegerAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = IntegerAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class IntegerAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public Integer value; public Integer hits; public Boolean selected; 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 b2713f46..af7ee54f 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerContentDataValueFacet extends IntegerDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public IntegerContentDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java index d2c5de58..416428f4 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerContentDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerContentDataValueFacetResult extends IntegerDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public IntegerContentDataValueFacetResult setKey(String key) { 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 d61eff55..8e8b6ff9 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerDataValueFacet extends IntegerValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java index 234c3e20..c028e208 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerDataValueFacetResult extends IntegerValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java index 012fe9dd..90855aba 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerIntegerValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerIntegerValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() 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 516149cd..b4f53e7d 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerProductDataValueFacet extends IntegerDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java index d8da5ec1..d6465fd8 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerProductDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerProductDataValueFacetResult extends IntegerDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/IntegerRange.java b/src/src/main/java/com/relewise/client/model/IntegerRange.java index 8ab08255..901db4b2 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerRange.java +++ b/src/src/main/java/com/relewise/client/model/IntegerRange.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = IntegerRange.class) @JsonIgnoreProperties(ignoreUnknown = true) public class IntegerRange { - public String $type = "Relewise.Client.DataTypes.Range`1[[System.Nullable`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public @Nullable Integer lowerBoundInclusive; public @Nullable Integer upperBoundInclusive; public static IntegerRange create(@Nullable Integer lowerBoundInclusive, @Nullable Integer upperBoundInclusive) 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 5b9d3f27..63516a4a 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/IntegerValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerValueFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable ArrayList selected; public @Nullable ArrayList getSelected() { diff --git a/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java b/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java index cc14c453..631abe1f 100644 --- a/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/IntegerValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class IntegerValueFacetResult extends IntegerIntegerValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.Int32, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public IntegerValueFacetResult setSelected(Integer... selected) { diff --git a/src/src/main/java/com/relewise/client/model/KeyMultiplier.java b/src/src/main/java/com/relewise/client/model/KeyMultiplier.java index bec0132a..34dd9314 100644 --- a/src/src/main/java/com/relewise/client/model/KeyMultiplier.java +++ b/src/src/main/java/com/relewise/client/model/KeyMultiplier.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = KeyMultiplier.class) @JsonIgnoreProperties(ignoreUnknown = true) public class KeyMultiplier { - public String $type = "Relewise.Client.DataTypes.KeyMultiplier, Relewise.Client"; public String key; public Double multiplier; public static KeyMultiplier create(String key, Double multiplier) diff --git a/src/src/main/java/com/relewise/client/model/Language.java b/src/src/main/java/com/relewise/client/model/Language.java index 75677de5..1a312935 100644 --- a/src/src/main/java/com/relewise/client/model/Language.java +++ b/src/src/main/java/com/relewise/client/model/Language.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Language.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Language { - public String $type = "Relewise.Client.DataTypes.Language, Relewise.Client"; public String value; public static final Language UNDEFINED = null; public static Language create(String name) diff --git a/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java index 58a711a3..64555bea 100644 --- a/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/LanguageIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = LanguageIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class LanguageIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.LanguageIndexConfiguration, Relewise.Client"; public ArrayList languages; public static LanguageIndexConfiguration create() { 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 1e0bd826..b1e18ca6 100644 --- a/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java +++ b/src/src/main/java/com/relewise/client/model/LanguageIndexConfigurationEntry.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = LanguageIndexConfigurationEntry.class) @JsonIgnoreProperties(ignoreUnknown = true) public class LanguageIndexConfigurationEntry { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.LanguageIndexConfigurationEntry, Relewise.Client"; public Language language; public Boolean included; public @Nullable String iSO639_1; diff --git a/src/src/main/java/com/relewise/client/model/LicensedRequest.java b/src/src/main/java/com/relewise/client/model/LicensedRequest.java index ec86cf8f..d8cc5bc6 100644 --- a/src/src/main/java/com/relewise/client/model/LicensedRequest.java +++ b/src/src/main/java/com/relewise/client/model/LicensedRequest.java @@ -28,5 +28,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class LicensedRequest { - public String $type = "Relewise.Client.Requests.LicensedRequest, Relewise.Client"; + public String $type = ""; } 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 e19f7be0..fee68b68 100644 --- a/src/src/main/java/com/relewise/client/model/LineItem.java +++ b/src/src/main/java/com/relewise/client/model/LineItem.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = LineItem.class) @JsonIgnoreProperties(ignoreUnknown = true) public class LineItem { - public String $type = "Relewise.Client.DataTypes.LineItem, Relewise.Client"; public Product product; public @Nullable ProductVariant variant; public Float quantity; diff --git a/src/src/main/java/com/relewise/client/model/MerchandisingRule.java b/src/src/main/java/com/relewise/client/model/MerchandisingRule.java index aef3e356..f38bf186 100644 --- a/src/src/main/java/com/relewise/client/model/MerchandisingRule.java +++ b/src/src/main/java/com/relewise/client/model/MerchandisingRule.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class MerchandisingRule { - public String $type = "Relewise.Client.DataTypes.Merchandising.Rules.MerchandisingRule, Relewise.Client"; + public String $type = ""; public UUID id; public String name; public String description; diff --git a/src/src/main/java/com/relewise/client/model/Money.java b/src/src/main/java/com/relewise/client/model/Money.java index 779528e3..5dcc5fbe 100644 --- a/src/src/main/java/com/relewise/client/model/Money.java +++ b/src/src/main/java/com/relewise/client/model/Money.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Money.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Money { - public String $type = "Relewise.Client.DataTypes.Money, Relewise.Client"; public Double amount; public Currency currency; public static Money create(Currency currency, Double amount) diff --git a/src/src/main/java/com/relewise/client/model/MultiCurrency.java b/src/src/main/java/com/relewise/client/model/MultiCurrency.java index 876cb8f6..7b241381 100644 --- a/src/src/main/java/com/relewise/client/model/MultiCurrency.java +++ b/src/src/main/java/com/relewise/client/model/MultiCurrency.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = MultiCurrency.class) @JsonIgnoreProperties(ignoreUnknown = true) public class MultiCurrency { - public String $type = "Relewise.Client.DataTypes.MultiCurrency, Relewise.Client"; public @Nullable ArrayList values; public static MultiCurrency create(Money... amounts) { diff --git a/src/src/main/java/com/relewise/client/model/Multilingual.java b/src/src/main/java/com/relewise/client/model/Multilingual.java index 4bb00883..bd114e28 100644 --- a/src/src/main/java/com/relewise/client/model/Multilingual.java +++ b/src/src/main/java/com/relewise/client/model/Multilingual.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Multilingual.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Multilingual { - public String $type = "Relewise.Client.DataTypes.Multilingual, Relewise.Client"; public @Nullable ArrayList values; public static Multilingual create(MultilingualValue... translations) { 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 0a491160..abd54bb3 100644 --- a/src/src/main/java/com/relewise/client/model/MultilingualValue.java +++ b/src/src/main/java/com/relewise/client/model/MultilingualValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = MultilingualValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class MultilingualValue { - public String $type = "Relewise.Client.DataTypes.Multilingual+Value, Relewise.Client"; public Language language; public @Nullable String text; public static MultilingualValue create(Language language, String text) diff --git a/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java b/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java index ac45b2d7..f03913db 100644 --- a/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java +++ b/src/src/main/java/com/relewise/client/model/ObjectValueCondition.java @@ -35,7 +35,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ObjectValueCondition { - public String $type = "Relewise.Client.Requests.Filters.DataObjects.Conditions.ObjectValueCondition, Relewise.Client"; + public String $type = ""; public Boolean negated; public String key; public @Nullable String[] objectPath; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java index 8b652bac..6ca98297 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenContentRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenContentRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenContentRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.OverriddenContentRecommendationRequestSettings, Relewise.Client"; public @Nullable Integer numberOfRecommendations; public @Nullable Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public @Nullable Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java index fa6debbe..fd4ac83e 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenProductRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenProductRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenProductRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.OverriddenProductRecommendationRequestSettings, Relewise.Client"; public @Nullable Integer numberOfRecommendations; public @Nullable Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public @Nullable Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java index 4d50311a..8a55ff79 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedBrandPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenSelectedBrandPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedBrandPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedBrandPropertiesSettings, Relewise.Client"; public @Nullable Boolean displayName; public @Nullable Boolean assortments; public @Nullable Boolean viewedByUserInfo; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java index 4c56a700..d58ffa98 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedContentPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenSelectedContentPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedContentPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedContentPropertiesSettings, Relewise.Client"; public @Nullable Boolean displayName; public @Nullable Boolean categoryPaths; public @Nullable Boolean assortments; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java index 693b3c66..71a76eed 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedProductPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenSelectedProductPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedProductPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedProductPropertiesSettings, Relewise.Client"; public @Nullable Boolean displayName; public @Nullable Boolean categoryPaths; public @Nullable Boolean assortments; diff --git a/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java index 117ea0e0..3db6a56f 100644 --- a/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/OverriddenSelectedVariantPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = OverriddenSelectedVariantPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class OverriddenSelectedVariantPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.OverriddenSelectedVariantPropertiesSettings, Relewise.Client"; public @Nullable Boolean displayName; public @Nullable Boolean pricing; public @Nullable Boolean allSpecifications; 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 29f220f7..733f86ca 100644 --- a/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/PaginatedSearchRequest.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PaginatedSearchRequest extends SearchRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Search.PaginatedSearchRequest, Relewise.Client"; + public String $type = ""; public Integer skip; public Integer take; public Integer getSkip() diff --git a/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java b/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java index 4ecf210a..27e76443 100644 --- a/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/PaginatedSearchResponse.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PaginatedSearchResponse extends SearchResponse { - public String $type = "Relewise.Client.Responses.Search.PaginatedSearchResponse, Relewise.Client"; + public String $type = ""; public Integer hits; public Integer getHits() { diff --git a/src/src/main/java/com/relewise/client/model/Parser.java b/src/src/main/java/com/relewise/client/model/Parser.java index afdfd514..285ba10d 100644 --- a/src/src/main/java/com/relewise/client/model/Parser.java +++ b/src/src/main/java/com/relewise/client/model/Parser.java @@ -30,5 +30,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Parser { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.Parsers.Parser, Relewise.Client"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java b/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java index 85f7abe8..0bc98769 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulePromotion.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = PredictionRulePromotion.class) @JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulePromotion { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule+Promotion, Relewise.Client"; public PromotionPosition to; public String[] values; public static PredictionRulePromotion create(PromotionPosition toPosition, String... values) diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java index ae18dadb..11312fa4 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSaveSearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public PredictionRule[] rules; public String modifiedBy; public PredictionRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java index e82be7a2..194f7319 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSaveSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSaveSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public PredictionRule[] rules; public PredictionRule[] getRules() { diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java index 600d9b64..e6bb3898 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRuleSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public PredictionRule[] rules; public Integer hits; public PredictionRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java b/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java index 1001f9f1..11603f87 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRuleSuppression.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = PredictionRuleSuppression.class) @JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRuleSuppression { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.PredictionRule+Suppression, Relewise.Client"; public SuppressionConditionKind condition; public String[] values; public static PredictionRuleSuppression create(SuppressionConditionKind condition, String... values) diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java index dd0a44c2..d396c05b 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class PredictionRulesRequestSortBySearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.PredictionRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SearchRuleFilters filters; public PredictionRulesRequestSortBySorting sorting; public Integer skip; diff --git a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java index 82d66fce..bc0347a9 100644 --- a/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/PredictionRulesRequestSortBySorting.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = PredictionRulesRequestSortBySorting.class) @JsonIgnoreProperties(ignoreUnknown = true) public class PredictionRulesRequestSortBySorting { - public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.PredictionRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public PredictionRulesRequestSortBy sortBy; public SortOrder sortOrder; public static PredictionRulesRequestSortBySorting create(PredictionRulesRequestSortBy sortBy, SortOrder sortOrder) 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 a5cd48d4..60bd4319 100644 --- a/src/src/main/java/com/relewise/client/model/Product.java +++ b/src/src/main/java/com/relewise/client/model/Product.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Product.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Product { - public String $type = "Relewise.Client.DataTypes.Product, Relewise.Client"; public String id; public @Nullable Multilingual displayName; public @Nullable ArrayList categoryPaths; 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 f2bd637c..2f8cef06 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantId.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductAndVariantId.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductAndVariantId { - public String $type = "Relewise.Client.DataTypes.ProductAndVariantId, Relewise.Client"; public String productId; public @Nullable String variantId; public static ProductAndVariantId create(String productId) 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 d5c5779c..5fd58880 100644 --- a/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/ProductAndVariantIdAbandonedSearch.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductAndVariantIdAbandonedSearch extends AbandonedSearch { - public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch`1[[Relewise.Client.DataTypes.ProductAndVariantId, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public ProductAndVariantId[] topResults; public ProductAndVariantId[] getTopResults() { diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java index 84e6ebb7..85ae4cee 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetQuery.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategoryFacetQuery.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryFacetQuery { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryFacetQuery, Relewise.Client"; public ArrayList items; public static ProductCategoryFacetQuery create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java index 7e346d24..15d46fa6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryFacetResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategoryFacetResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryFacetResult, Relewise.Client"; public ArrayList items; public static ProductCategoryFacetResult create() { 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 0d324f2f..4d3983dc 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryIdFilterCategoryQuery.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryIdFilterCategoryQuery extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Queries.CategoryQuery`1[[Relewise.Client.Requests.Filters.ProductCategoryIdFilter, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public FilterCollection filters; public Integer numberOfResults; public @Nullable Language language; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java index 7ddacdfc..52401af1 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultCategory.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategoryInterestTriggerResultCategory.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryInterestTriggerResultCategory { - public String $type = "Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult+Category, Relewise.Client"; public String[] lastPath; public Integer views; public CategoryProductAndVariant[] viewedProducts; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java index c345c3ca..b5c88536 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryInterestTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ProductCategoryInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public ProductCategoryInterestTriggerResultTriggerConfiguration setId(UUID id) { 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 5d131239..abba5702 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequest.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryRecommendationRequest extends RecommendationRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationRequest, Relewise.Client"; + public String $type = ""; public ProductCategoryRecommendationRequestSettings settings; public ProductCategoryRecommendationRequestSettings getSettings() { diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java index fe688f7e..2000ad78 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategoryRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationRequestSettings, Relewise.Client"; public Integer numberOfRecommendations; public Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java index 97c6d905..c4a269fe 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryRecommendationWeights.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategoryRecommendationWeights.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategoryRecommendationWeights { - public String $type = "Relewise.Client.Requests.Recommendations.ProductCategoryRecommendationWeights, Relewise.Client"; public Double categoryViews; public Double productViews; public Double productPurchases; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java index 7b6c08a5..89a1dbd8 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategoryResultDetailsCategoryResultDetails.java @@ -30,7 +30,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategoryResultDetailsCategoryResultDetails { - public String $type = "Relewise.Client.DataTypes.CategoryResultDetails`1[[Relewise.Client.DataTypes.ProductCategoryResultDetails, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public String categoryId; public Multilingual displayName; public Integer[] assortments; diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java b/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java index 65edbaf2..5b7d76c1 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySortBySpecification.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductCategorySortBySpecification.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductCategorySortBySpecification { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySortBySpecification, Relewise.Client"; public ProductCategorySorting value; public static ProductCategorySortBySpecification create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java b/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java index c93e9802..034f9dc0 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySorting.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategorySorting extends ProductCategorySortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySorting, Relewise.Client"; + public String $type = ""; @Override public ProductCategorySorting setOrder(SortOrder order) { diff --git a/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java b/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java index 2223bf23..49643e57 100644 --- a/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductCategorySortingSorting.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductCategorySortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.ProductCategory.ProductCategorySorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SortOrder order; public ProductCategorySorting thenBy; public SortOrder getOrder() diff --git a/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java b/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java index 82b1788e..4e17d273 100644 --- a/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java +++ b/src/src/main/java/com/relewise/client/model/ProductFacetQuery.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductFacetQuery.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductFacetQuery { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductFacetQuery, Relewise.Client"; public ArrayList items; public static ProductFacetQuery create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductFacetResult.java b/src/src/main/java/com/relewise/client/model/ProductFacetResult.java index c4f3f06c..b63cccf5 100644 --- a/src/src/main/java/com/relewise/client/model/ProductFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductFacetResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductFacetResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductFacetResult, Relewise.Client"; public ArrayList items; public static ProductFacetResult create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java index 12b91910..477edc6c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.ProductIndexConfiguration, Relewise.Client"; public FieldIndexConfiguration id; public FieldIndexConfiguration displayName; public CategoryIndexConfiguration category; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java index a83b2f09..1ac24b9f 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultProductAndVariant.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductInterestTriggerResultProductAndVariant.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerResultProductAndVariant { - public String $type = "Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult+ProductAndVariant, Relewise.Client"; public ProductResultDetails product; public VariantResultDetails variant; public Integer views; diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java index 4e6c770b..753a1276 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultResultSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductInterestTriggerResultResultSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductInterestTriggerResultResultSettings { - public String $type = "Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult+ResultSettings, Relewise.Client"; public SelectedProductPropertiesSettings selectedProductProperties; public SelectedVariantPropertiesSettings selectedVariantProperties; public static ProductInterestTriggerResultResultSettings create() diff --git a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java index 3ae0f8a6..7cfd7a75 100644 --- a/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/ProductInterestTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductInterestTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.ProductInterestTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public ProductInterestTriggerResultTriggerConfiguration setId(UUID id) { diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java index 00fa91c0..19c47ff6 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResult { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult, Relewise.Client"; public ProductResult product; public ProductPerformanceResultClassificationMetrics[] classifications; public static ProductPerformanceResult create() diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java index 0fe83834..de1f0609 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCartMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultCartMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultCartMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+CartMetrics, Relewise.Client"; public Integer opened; public static ProductPerformanceResultCartMetrics create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java index 6daec7b1..4794e868 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultCategoryMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultCategoryMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultCategoryMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+CategoryMetrics, Relewise.Client"; public CategoryNameAndIdResult category; public Boolean immediateParent; public ProductPerformanceResultViewsAndSalesMetrics rank; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java index d7276775..d734bf2d 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultClassificationMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultClassificationMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultClassificationMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ClassificationMetrics, Relewise.Client"; public HashMap combination; public ProductPerformanceResultViewsMetrics views; public ProductPerformanceResultSalesMetrics sales; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java index b17a4e6e..a65e17ba 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultRankMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultRankMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultRankMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+RankMetrics, Relewise.Client"; public ProductPerformanceResultViewsAndSalesMetrics overall; public ProductPerformanceResultCategoryMetrics[] withinCategories; public ProductPerformanceResultViewsAndSalesMetrics withinBrand; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java index 691680c6..2c8212c3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesByCurrency.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultSalesByCurrency.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesByCurrency { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesByCurrency, Relewise.Client"; public Currency currency; public Integer orders; public Double averageSubtotal; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java index 0c69407d..83fbd6a3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultSalesMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesMetrics, Relewise.Client"; public Integer orders; public Double averageNoOfLineItems; public ProductPerformanceResultSalesByCurrency[] currencies; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java index 7a86c685..bba92cb2 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultSalesWithKnownCartOpenerMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultSalesWithKnownCartOpenerMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultSalesWithKnownCartOpenerMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+SalesWithKnownCartOpenerMetrics, Relewise.Client"; public Integer orders; public Integer opened; public Double openedPercent; diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java index 526230b8..7a7b688e 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsAndSalesMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultViewsAndSalesMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultViewsAndSalesMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ViewsAndSalesMetrics, Relewise.Client"; public Double byViews; public Double bySales; public static ProductPerformanceResultViewsAndSalesMetrics create() diff --git a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java index cc07d721..d0897930 100644 --- a/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java +++ b/src/src/main/java/com/relewise/client/model/ProductPerformanceResultViewsMetrics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductPerformanceResultViewsMetrics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductPerformanceResultViewsMetrics { - public String $type = "Relewise.Client.DataTypes.ProductPerformanceResult+ViewsMetrics, Relewise.Client"; public Integer total; public static ProductPerformanceResultViewsMetrics create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java index c564fbad..80f0bf7c 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequest.java @@ -41,7 +41,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductRecommendationRequest extends RecommendationRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.ProductRecommendationRequest, Relewise.Client"; + public String $type = ""; public ProductRecommendationRequestSettings settings; public ProductRecommendationRequestSettings getSettings() { diff --git a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java index 92252adf..e0fb5fa7 100644 --- a/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java +++ b/src/src/main/java/com/relewise/client/model/ProductRecommendationRequestSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductRecommendationRequestSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductRecommendationRequestSettings { - public String $type = "Relewise.Client.Requests.Recommendations.ProductRecommendationRequestSettings, Relewise.Client"; public Integer numberOfRecommendations; public Boolean allowFillIfNecessaryToReachNumberOfRecommendations; public Boolean allowReplacingOfRecentlyShownRecommendations; diff --git a/src/src/main/java/com/relewise/client/model/ProductResult.java b/src/src/main/java/com/relewise/client/model/ProductResult.java index 31052ba4..2121ae08 100644 --- a/src/src/main/java/com/relewise/client/model/ProductResult.java +++ b/src/src/main/java/com/relewise/client/model/ProductResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductResult { - public String $type = "Relewise.Client.DataTypes.ProductResult, Relewise.Client"; public String productId; public String displayName; public VariantResult variant; diff --git a/src/src/main/java/com/relewise/client/model/ProductResultDetails.java b/src/src/main/java/com/relewise/client/model/ProductResultDetails.java index a544b89f..7a5f8437 100644 --- a/src/src/main/java/com/relewise/client/model/ProductResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/ProductResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductResultDetails { - public String $type = "Relewise.Client.DataTypes.ProductResultDetails, Relewise.Client"; public String productId; public Multilingual displayName; public VariantResult variant; diff --git a/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java b/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java index c92f6ffe..53cb8483 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java +++ b/src/src/main/java/com/relewise/client/model/ProductSortBySpecification.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductSortBySpecification.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductSortBySpecification { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductSortBySpecification, Relewise.Client"; public ProductSorting value; public static ProductSortBySpecification create() { diff --git a/src/src/main/java/com/relewise/client/model/ProductSorting.java b/src/src/main/java/com/relewise/client/model/ProductSorting.java index eb46b111..789f00e3 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductSorting.java @@ -35,7 +35,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductSorting extends ProductSortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Product.ProductSorting, Relewise.Client"; + public String $type = ""; @Override public ProductSorting setOrder(SortOrder order) { diff --git a/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java b/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java index a5f56426..7c9df8e4 100644 --- a/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/ProductSortingSorting.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ProductSortingSorting { - public String $type = "Relewise.Client.DataTypes.Search.Sorting.Sorting`1[[Relewise.Client.DataTypes.Search.Sorting.Product.ProductSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SortOrder order; public ProductSorting thenBy; public SortOrder getOrder() diff --git a/src/src/main/java/com/relewise/client/model/ProductVariant.java b/src/src/main/java/com/relewise/client/model/ProductVariant.java index 5b705ed4..47d9eb7b 100644 --- a/src/src/main/java/com/relewise/client/model/ProductVariant.java +++ b/src/src/main/java/com/relewise/client/model/ProductVariant.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ProductVariant.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ProductVariant { - public String $type = "Relewise.Client.DataTypes.ProductVariant, Relewise.Client"; public String id; public @Nullable Multilingual displayName; public @Nullable ArrayList assortments; diff --git a/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java b/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java index d1e0cb26..570f9c5a 100644 --- a/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java +++ b/src/src/main/java/com/relewise/client/model/PurchasedByUserInfo.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = PurchasedByUserInfo.class) @JsonIgnoreProperties(ignoreUnknown = true) public class PurchasedByUserInfo { - public String $type = "Relewise.Client.DataTypes.PurchasedByUserInfo, Relewise.Client"; public OffsetDateTime mostRecentPurchasedUtc; public Long totalNumberOfTimesPurchased; public static PurchasedByUserInfo create(OffsetDateTime mostRecentPurchasedUtc, Long totalNumberOfTimesPurchased) diff --git a/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java b/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java index 014a92ef..5cb327e2 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java +++ b/src/src/main/java/com/relewise/client/model/RecommendPopularSearchTermSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RecommendPopularSearchTermSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RecommendPopularSearchTermSettings { - public String $type = "Relewise.Client.Requests.Recommendations.RecommendPopularSearchTermSettings, Relewise.Client"; public @Nullable EntityType[] targetEntityTypes; public Integer numberOfRecommendations; public static RecommendPopularSearchTermSettings create() 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 eb174bea..51ca40b0 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationRequest.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationRequest.java @@ -54,7 +54,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RecommendationRequest extends LicensedRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Recommendations.RecommendationRequest, Relewise.Client"; + public String $type = ""; public @Nullable Language language; public User user; public RelevanceModifierCollection relevanceModifiers; diff --git a/src/src/main/java/com/relewise/client/model/RecommendationResponse.java b/src/src/main/java/com/relewise/client/model/RecommendationResponse.java index d69ffa4e..dfc12889 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationResponse.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationResponse.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RecommendationResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.RecommendationResponse, Relewise.Client"; + public String $type = ""; @Override public RecommendationResponse setStatistics(Statistics statistics) { diff --git a/src/src/main/java/com/relewise/client/model/RecommendationSettings.java b/src/src/main/java/com/relewise/client/model/RecommendationSettings.java index 13eabb7e..e482b66f 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationSettings.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RecommendationSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RecommendationSettings { - public String $type = "Relewise.Client.Requests.Search.Settings.RecommendationSettings, Relewise.Client"; public @Nullable Integer take; public @Nullable Integer onlyIncludeRecommendationsWhenLessResultsThan; public static RecommendationSettings create() diff --git a/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java b/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java index a469a4aa..9d1101fe 100644 --- a/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java +++ b/src/src/main/java/com/relewise/client/model/RecommendationTypeCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RecommendationTypeCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RecommendationTypeCollection { - public String $type = "Relewise.Client.DataTypes.Merchandising.RecommendationTypeCollection, Relewise.Client"; public ArrayList unionCodes; public static RecommendationTypeCollection create() { 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 cdbe73aa..7bb2683e 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectResult.java +++ b/src/src/main/java/com/relewise/client/model/RedirectResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RedirectResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RedirectResult { - public String $type = "Relewise.Client.DataTypes.RedirectResult, Relewise.Client"; public UUID id; public SearchTermCondition condition; public @Nullable String destination; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java index 92e87ab1..3c934341 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSaveSearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public RedirectRule[] rules; public String modifiedBy; public RedirectRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java index c54e0d44..d43a9542 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSaveSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSaveSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public RedirectRule[] rules; public RedirectRule[] getRules() { diff --git a/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java index 0a3eb37d..a40db5ef 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRuleSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRuleSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.RedirectRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public RedirectRule[] rules; public Integer hits; public RedirectRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java index a4022f08..e0ab25b1 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RedirectRulesRequestSortBySearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.RedirectRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SearchRuleFilters filters; public RedirectRulesRequestSortBySorting sorting; public Integer skip; diff --git a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java index de6d67e2..84819c69 100644 --- a/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/RedirectRulesRequestSortBySorting.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RedirectRulesRequestSortBySorting.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RedirectRulesRequestSortBySorting { - public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.RedirectRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public RedirectRulesRequestSortBy sortBy; public SortOrder sortOrder; public static RedirectRulesRequestSortBySorting create(RedirectRulesRequestSortBy sortBy, SortOrder sortOrder) diff --git a/src/src/main/java/com/relewise/client/model/RelevanceModifier.java b/src/src/main/java/com/relewise/client/model/RelevanceModifier.java index 10500a35..fd97e4fc 100644 --- a/src/src/main/java/com/relewise/client/model/RelevanceModifier.java +++ b/src/src/main/java/com/relewise/client/model/RelevanceModifier.java @@ -44,7 +44,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class RelevanceModifier { - public String $type = "Relewise.Client.Requests.RelevanceModifiers.RelevanceModifier, Relewise.Client"; + public String $type = ""; public FilterCollection filters; public FilterCollection getFilters() { diff --git a/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java b/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java index dd9c8ace..5f426de8 100644 --- a/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java +++ b/src/src/main/java/com/relewise/client/model/RelevanceModifierCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RelevanceModifierCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RelevanceModifierCollection { - public String $type = "Relewise.Client.Requests.RelevanceModifiers.RelevanceModifierCollection, Relewise.Client"; public @Nullable ArrayList items; public static RelevanceModifierCollection create(RelevanceModifier... relevanceModifiers) { diff --git a/src/src/main/java/com/relewise/client/model/RequestConfiguration.java b/src/src/main/java/com/relewise/client/model/RequestConfiguration.java index 4c4ea8b7..acc4b286 100644 --- a/src/src/main/java/com/relewise/client/model/RequestConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/RequestConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RequestConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RequestConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.RequestConfiguration, Relewise.Client"; public RequestConfigurationPrioritization filters; public RequestConfigurationPrioritization relevanceModifiers; public OverriddenProductRecommendationRequestSettings overriddenProductRecommendationRequestSettings; diff --git a/src/src/main/java/com/relewise/client/model/RequestContextFilter.java b/src/src/main/java/com/relewise/client/model/RequestContextFilter.java index 5360e91a..a4cad4e7 100644 --- a/src/src/main/java/com/relewise/client/model/RequestContextFilter.java +++ b/src/src/main/java/com/relewise/client/model/RequestContextFilter.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = RequestContextFilter.class) @JsonIgnoreProperties(ignoreUnknown = true) public class RequestContextFilter { - public String $type = "Relewise.Client.DataTypes.Merchandising.RequestContextFilter, Relewise.Client"; public RecommendationTypeCollection recommendations; public SearchTypeCollection searches; public ArrayList locations; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndex.java b/src/src/main/java/com/relewise/client/model/SearchIndex.java index ee26a0c0..a00bd8cd 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndex.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndex.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchIndex.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndex { - public String $type = "Relewise.Client.DataTypes.Search.SearchIndex, Relewise.Client"; public String id; public String description; public Boolean enabled; diff --git a/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java b/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java index 59a21489..0100ede7 100644 --- a/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java +++ b/src/src/main/java/com/relewise/client/model/SearchIndexSelector.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchIndexSelector.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchIndexSelector { - public String $type = "Relewise.Client.DataTypes.Search.SearchIndexSelector, Relewise.Client"; public String id; public static final SearchIndexSelector DEFAULT = null; public static SearchIndexSelector create(String id) 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 76cf9f55..bfe3dc2d 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRequest.java +++ b/src/src/main/java/com/relewise/client/model/SearchRequest.java @@ -34,7 +34,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchRequest extends LicensedRequest implements IUserIdentifier { - public String $type = "Relewise.Client.Requests.Search.SearchRequest, Relewise.Client"; + public String $type = ""; public @Nullable Language language; public @Nullable Currency currency; public @Nullable User user; diff --git a/src/src/main/java/com/relewise/client/model/SearchResponse.java b/src/src/main/java/com/relewise/client/model/SearchResponse.java index 54267738..c272a60e 100644 --- a/src/src/main/java/com/relewise/client/model/SearchResponse.java +++ b/src/src/main/java/com/relewise/client/model/SearchResponse.java @@ -34,7 +34,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.SearchResponse, Relewise.Client"; + public String $type = ""; @Override public SearchResponse setStatistics(Statistics statistics) { 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 dae51824..2199b568 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRule.java +++ b/src/src/main/java/com/relewise/client/model/SearchRule.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchRule { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.SearchRule, Relewise.Client"; + public String $type = ""; public UUID id; public @Nullable ApplicableIndexes indexes; public @Nullable ApplicableLanguages languages; 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 f805f1fb..1bf01c5e 100644 --- a/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java +++ b/src/src/main/java/com/relewise/client/model/SearchRuleFilters.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchRuleFilters.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchRuleFilters { - public String $type = "Relewise.Client.Requests.Search.Rules.SearchRuleFilters, Relewise.Client"; public @Nullable String term; public @Nullable Boolean approved; public @Nullable UUID id; diff --git a/src/src/main/java/com/relewise/client/model/SearchSettings.java b/src/src/main/java/com/relewise/client/model/SearchSettings.java index db2b0ea7..3deec960 100644 --- a/src/src/main/java/com/relewise/client/model/SearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/SearchSettings.java @@ -22,5 +22,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class SearchSettings { - public String $type = "Relewise.Client.Requests.Search.Settings.SearchSettings, Relewise.Client"; + public String $type = ""; } 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 df060578..ed71bef3 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermCondition.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermCondition.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchTermCondition.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermCondition { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.SearchRules.SearchTermCondition, Relewise.Client"; public @Nullable SearchTermConditionConditionKind kind; public @Nullable String value; public @Nullable ArrayList andConditions; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java index 845cadca..6618358d 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermPredictionResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchTermPredictionResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermPredictionResult { - public String $type = "Relewise.Client.DataTypes.SearchTermPredictionResult, Relewise.Client"; public String term; public Integer rank; public ExpectedSearchTermResult[] expectedResultTypes; diff --git a/src/src/main/java/com/relewise/client/model/SearchTermResult.java b/src/src/main/java/com/relewise/client/model/SearchTermResult.java index 6105443d..e0c0b123 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTermResult.java +++ b/src/src/main/java/com/relewise/client/model/SearchTermResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchTermResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchTermResult { - public String $type = "Relewise.Client.DataTypes.SearchTermResult, Relewise.Client"; public String term; public Integer rank; public ExpectedSearchTermResult[] expectedResultTypes; diff --git a/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java b/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java index 5e632fbc..72928025 100644 --- a/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java +++ b/src/src/main/java/com/relewise/client/model/SearchTypeCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SearchTypeCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SearchTypeCollection { - public String $type = "Relewise.Client.DataTypes.Merchandising.SearchTypeCollection, Relewise.Client"; public ArrayList unionCodes; public static SearchTypeCollection create() { diff --git a/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java index 7b51d0c5..cc29ab4c 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedBrandPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedBrandPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedBrandPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedBrandPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean assortments; public Boolean viewedByUserInfo; diff --git a/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java index 462e9002..ffdd3461 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedContentCategoryPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedContentCategoryPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedContentCategoryPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedContentCategoryPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean paths; public Boolean assortments; diff --git a/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java index a06cbb00..f9f9e1ba 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedContentPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedContentPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedContentPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedContentPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean categoryPaths; public Boolean assortments; diff --git a/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java index eab422b4..d0d5e5fd 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedProductCategoryPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedProductCategoryPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedProductCategoryPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedProductCategoryPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean paths; public Boolean assortments; 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 1a8ae698..1d1fe01f 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedProductPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedProductPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedProductPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedProductPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean categoryPaths; public Boolean assortments; diff --git a/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java b/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java index 956fb5ea..aeb5fc17 100644 --- a/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java +++ b/src/src/main/java/com/relewise/client/model/SelectedVariantPropertiesSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SelectedVariantPropertiesSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SelectedVariantPropertiesSettings { - public String $type = "Relewise.Client.Requests.Shared.SelectedVariantPropertiesSettings, Relewise.Client"; public Boolean displayName; public Boolean pricing; public Boolean allSpecifications; 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 42025cb7..50f99c2c 100644 --- a/src/src/main/java/com/relewise/client/model/SignificantDataValue.java +++ b/src/src/main/java/com/relewise/client/model/SignificantDataValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SignificantDataValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SignificantDataValue { - public String $type = "Relewise.Client.DataTypes.SignificantDataValue, Relewise.Client"; public String key; public SignificantDataValueSignificantDataValueComparer comparer; public Double significance; 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 774550d5..30ec8fb3 100644 --- a/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java +++ b/src/src/main/java/com/relewise/client/model/SimilarProductsEvaluationSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SimilarProductsEvaluationSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SimilarProductsEvaluationSettings { - public String $type = "Relewise.Client.Requests.Recommendations.SimilarProductsEvaluationSettings, Relewise.Client"; public Double significanceOfSimilaritiesInDisplayName; public @Nullable TrimStringTransformer productDisplayNameTransformer; public Double significanceOfSimilarListPrice; diff --git a/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java index 85e83c0e..1e137a18 100644 --- a/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/SpecificationsIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SpecificationsIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SpecificationsIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.SpecificationsIndexConfiguration, Relewise.Client"; public HashMap keys; public FieldIndexConfiguration unspecified; public static SpecificationsIndexConfiguration create() diff --git a/src/src/main/java/com/relewise/client/model/Statistics.java b/src/src/main/java/com/relewise/client/model/Statistics.java index b775085b..55233e4c 100644 --- a/src/src/main/java/com/relewise/client/model/Statistics.java +++ b/src/src/main/java/com/relewise/client/model/Statistics.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Statistics.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Statistics { - public String $type = "Relewise.Client.DataTypes.Statistics, Relewise.Client"; public Double serverTimeInMs; public static Statistics create() { diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java index 249b88d1..5ab7101b 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSaveSearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SaveSearchRulesRequest`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public StemmingRule[] rules; public String modifiedBy; public StemmingRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java index f953e1c4..a20054cf 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSaveSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSaveSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SaveSearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public StemmingRule[] rules; public StemmingRule[] getRules() { diff --git a/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java b/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java index 84e60af6..93e0bbd1 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRuleSearchRulesResponse.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRuleSearchRulesResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Search.Rules.SearchRulesResponse`1[[Relewise.Client.DataTypes.Search.Configuration.SearchRules.StemmingRule, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public StemmingRule[] rules; public Integer hits; public StemmingRule[] getRules() diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java index a2467c4f..53063e79 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySearchRulesRequest.java @@ -32,7 +32,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StemmingRulesRequestSortBySearchRulesRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Search.Rules.SearchRulesRequest`1[[Relewise.Client.Requests.Search.Rules.StemmingRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public SearchRuleFilters filters; public StemmingRulesRequestSortBySorting sorting; public Integer skip; diff --git a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java index 357742d6..d11418bd 100644 --- a/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java +++ b/src/src/main/java/com/relewise/client/model/StemmingRulesRequestSortBySorting.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = StemmingRulesRequestSortBySorting.class) @JsonIgnoreProperties(ignoreUnknown = true) public class StemmingRulesRequestSortBySorting { - public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.Rules.StemmingRulesRequest+SortBy, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public StemmingRulesRequestSortBy sortBy; public SortOrder sortOrder; public static StemmingRulesRequestSortBySorting create(StemmingRulesRequestSortBy sortBy, SortOrder sortOrder) 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 93e1b895..5875f466 100644 --- a/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java +++ b/src/src/main/java/com/relewise/client/model/StringAbandonedSearch.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringAbandonedSearch extends AbandonedSearch { - public String $type = "Relewise.Client.Responses.Triggers.Results.AbandonedSearch`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String[] topResults; public String[] getTopResults() { diff --git a/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java b/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java index d7bbba02..7cd8357d 100644 --- a/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java +++ b/src/src/main/java/com/relewise/client/model/StringAvailableFacetValue.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = StringAvailableFacetValue.class) @JsonIgnoreProperties(ignoreUnknown = true) public class StringAvailableFacetValue { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.AvailableFacetValue`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; public String value; public Integer hits; public Boolean selected; diff --git a/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java index 95252bfb..caf74a55 100644 --- a/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringBrandNameAndIdResultValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringBrandNameAndIdResultValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Relewise.Client.DataTypes.BrandNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() diff --git a/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java index 886c0170..0fb0ae95 100644 --- a/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringCategoryNameAndIdResultValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringCategoryNameAndIdResultValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[Relewise.Client.DataTypes.CategoryNameAndIdResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() 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 004f9c9e..e5b507e5 100644 --- a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringContentDataValueFacet extends StringDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ContentDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringContentDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java index 51cb4618..9cfeae5a 100644 --- a/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringContentDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringContentDataValueFacetResult extends StringDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ContentDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringContentDataValueFacetResult setKey(String key) { 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 2842d0a0..d99f5b71 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataObjectValueFacet extends StringDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataObjectValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringDataObjectValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java index 7971e354..de28c3d5 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringDataObjectValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataObjectValueFacetResult extends StringDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataObjectValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringDataObjectValueFacetResult setKey(String key) { 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 544aa58a..0fce64f5 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataValueFacet extends StringValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.DataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() diff --git a/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java index 8fb8bfdc..904043c1 100644 --- a/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringDataValueFacetResult extends StringValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.DataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public String key; public @Nullable CollectionFilterType collectionFilterType; public String getKey() 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 62ab2773..40888a08 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductCategoryDataValueFacet extends StringDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductCategoryDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringProductCategoryDataValueFacet setKey(String key) { diff --git a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java index 89e57d41..80f13fd8 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringProductCategoryDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductCategoryDataValueFacetResult extends StringDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductCategoryDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringProductCategoryDataValueFacetResult setKey(String key) { 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 8c97451d..82f6b964 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductDataValueFacet extends StringDataValueFacet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ProductDataValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java index 373375c1..b512e208 100644 --- a/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringProductDataValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringProductDataValueFacetResult extends StringDataValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ProductDataValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public DataSelectionStrategy dataSelectionStrategy; public DataSelectionStrategy getDataSelectionStrategy() { diff --git a/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java index 164ad309..3b7107d9 100644 --- a/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringStringValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringStringValueFacetResult extends FacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`2[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e],[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public ArrayList selected; public ArrayList available; public ArrayList getSelected() 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 57bfa78f..ded8845e 100644 --- a/src/src/main/java/com/relewise/client/model/StringValueFacet.java +++ b/src/src/main/java/com/relewise/client/model/StringValueFacet.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringValueFacet extends Facet { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Queries.ValueFacet`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; public @Nullable ArrayList selected; public @Nullable ArrayList getSelected() { diff --git a/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java b/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java index 61eac6e5..57d6de78 100644 --- a/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java +++ b/src/src/main/java/com/relewise/client/model/StringValueFacetResult.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class StringValueFacetResult extends StringStringValueFacetResult { - public String $type = "Relewise.Client.DataTypes.Search.Facets.Result.ValueFacetResult`1[[System.String, System.Private.CoreLib, Version=7.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]], Relewise.Client"; + public String $type = ""; @Override public StringValueFacetResult setSelected(String... selected) { diff --git a/src/src/main/java/com/relewise/client/model/Synonym.java b/src/src/main/java/com/relewise/client/model/Synonym.java index 83149b02..e3040d2d 100644 --- a/src/src/main/java/com/relewise/client/model/Synonym.java +++ b/src/src/main/java/com/relewise/client/model/Synonym.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = Synonym.class) @JsonIgnoreProperties(ignoreUnknown = true) public class Synonym { - public String $type = "Relewise.Client.DataTypes.Search.Synonyms.Synonym, Relewise.Client"; public UUID id; public SynonymType type; public String[] indexes; diff --git a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java index d8f9466e..6f00a78c 100644 --- a/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java +++ b/src/src/main/java/com/relewise/client/model/SynonymsRequestSynonymSortingSorting.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = SynonymsRequestSynonymSortingSorting.class) @JsonIgnoreProperties(ignoreUnknown = true) public class SynonymsRequestSynonymSortingSorting { - public String $type = "Relewise.Client.Requests.Shared.Sorting`1[[Relewise.Client.Requests.Search.SynonymsRequest+SynonymSorting, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; public SynonymsRequestSynonymSorting sortBy; public SortOrder sortOrder; public static SynonymsRequestSynonymSortingSorting create(SynonymsRequestSynonymSorting sortBy, SortOrder sortOrder) diff --git a/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java index 492dd4a8..6a1571be 100644 --- a/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/TargetConditionConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = TargetConditionConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class TargetConditionConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.TargetConditionConfiguration, Relewise.Client"; public FilterCollection filters; public static TargetConditionConfiguration create() { diff --git a/src/src/main/java/com/relewise/client/model/TimedResponse.java b/src/src/main/java/com/relewise/client/model/TimedResponse.java index f7131823..ca04df55 100644 --- a/src/src/main/java/com/relewise/client/model/TimedResponse.java +++ b/src/src/main/java/com/relewise/client/model/TimedResponse.java @@ -45,7 +45,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class TimedResponse { - public String $type = "Relewise.Client.Responses.TimedResponse, Relewise.Client"; + public String $type = ""; public Statistics statistics; public Statistics getStatistics() { diff --git a/src/src/main/java/com/relewise/client/model/Trackable.java b/src/src/main/java/com/relewise/client/model/Trackable.java index 2566fbf0..a7845283 100644 --- a/src/src/main/java/com/relewise/client/model/Trackable.java +++ b/src/src/main/java/com/relewise/client/model/Trackable.java @@ -47,5 +47,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class Trackable { - public String $type = "Relewise.Client.Requests.Trackable, Relewise.Client"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/TrackingRequest.java b/src/src/main/java/com/relewise/client/model/TrackingRequest.java index 75d99676..9f4002f4 100644 --- a/src/src/main/java/com/relewise/client/model/TrackingRequest.java +++ b/src/src/main/java/com/relewise/client/model/TrackingRequest.java @@ -48,5 +48,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class TrackingRequest extends LicensedRequest { - public String $type = "Relewise.Client.Requests.Tracking.TrackingRequest, Relewise.Client"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java index a0f4c743..c40b8583 100644 --- a/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/TriggerConfiguration.java @@ -34,7 +34,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration, Relewise.Client"; + public String $type = ""; public UUID id; public String name; public String description; diff --git a/src/src/main/java/com/relewise/client/model/TriggersResponse.java b/src/src/main/java/com/relewise/client/model/TriggersResponse.java index fcae4595..f9a75c02 100644 --- a/src/src/main/java/com/relewise/client/model/TriggersResponse.java +++ b/src/src/main/java/com/relewise/client/model/TriggersResponse.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class TriggersResponse extends TimedResponse { - public String $type = "Relewise.Client.Responses.Triggers.TriggersResponse, Relewise.Client"; + public String $type = ""; public Integer remainingResults; public Integer getRemainingResults() { diff --git a/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java b/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java index e31c5138..6d73bf43 100644 --- a/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java +++ b/src/src/main/java/com/relewise/client/model/TrimStringTransformer.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = TrimStringTransformer.class) @JsonIgnoreProperties(ignoreUnknown = true) public class TrimStringTransformer { - public String $type = "Relewise.Client.Requests.Transformers.TrimStringTransformer, Relewise.Client"; public String[] valuesToTrim; public static TrimStringTransformer create(String... valuesToTrim) { 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 22c0a67e..85975b2e 100644 --- a/src/src/main/java/com/relewise/client/model/User.java +++ b/src/src/main/java/com/relewise/client/model/User.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = User.class) @JsonIgnoreProperties(ignoreUnknown = true) public class User { - public String $type = "Relewise.Client.DataTypes.User, Relewise.Client"; public @Nullable String authenticatedId; public @Nullable String temporaryId; public @Nullable String email; diff --git a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java index eee9eef1..7ad6d8f7 100644 --- a/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/UserActivityTriggerResultTriggerConfiguration.java @@ -28,7 +28,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class UserActivityTriggerResultTriggerConfiguration extends TriggerConfiguration { - public String $type = "Relewise.Client.DataTypes.Triggers.Configurations.TriggerConfiguration`1[[Relewise.Client.Responses.Triggers.Results.UserActivityTriggerResult, Relewise.Client, Version=1.61.0.0, Culture=neutral, PublicKeyToken=null]], Relewise.Client"; + public String $type = ""; @Override public UserActivityTriggerResultTriggerConfiguration setId(UUID id) { diff --git a/src/src/main/java/com/relewise/client/model/UserCondition.java b/src/src/main/java/com/relewise/client/model/UserCondition.java index ca439e8f..3ae46dc5 100644 --- a/src/src/main/java/com/relewise/client/model/UserCondition.java +++ b/src/src/main/java/com/relewise/client/model/UserCondition.java @@ -40,7 +40,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class UserCondition { - public String $type = "Relewise.Client.DataTypes.UserConditions.UserCondition, Relewise.Client"; + public String $type = ""; public Boolean negated; public Boolean getNegated() { diff --git a/src/src/main/java/com/relewise/client/model/UserConditionCollection.java b/src/src/main/java/com/relewise/client/model/UserConditionCollection.java index ee68e0a3..95d56764 100644 --- a/src/src/main/java/com/relewise/client/model/UserConditionCollection.java +++ b/src/src/main/java/com/relewise/client/model/UserConditionCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = UserConditionCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class UserConditionCollection { - public String $type = "Relewise.Client.DataTypes.UserConditions.UserConditionCollection, Relewise.Client"; public ArrayList items; public static UserConditionCollection create(UserCondition... conditions) { diff --git a/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java b/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java index 04f5aa0b..6dc1185f 100644 --- a/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/UserConditionConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = UserConditionConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class UserConditionConfiguration { - public String $type = "Relewise.Client.DataTypes.Merchandising.Configurations.UserConditionConfiguration, Relewise.Client"; public UserConditionCollection conditions; public static UserConditionConfiguration create() { 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 e27cbd89..81c4a7b2 100644 --- a/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java +++ b/src/src/main/java/com/relewise/client/model/UserQueryCriteria.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = UserQueryCriteria.class) @JsonIgnoreProperties(ignoreUnknown = true) public class UserQueryCriteria { - public String $type = "Relewise.Client.DataTypes.UserQueryCriteria, Relewise.Client"; public @Nullable String authenticatedId; public @Nullable String temporaryId; public @Nullable String email; 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 181b92b9..61e65829 100644 --- a/src/src/main/java/com/relewise/client/model/UserResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/UserResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = UserResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class UserResultDetails { - public String $type = "Relewise.Client.DataTypes.UserResultDetails, Relewise.Client"; public String authenticatedId; public String temporaryId; public String email; diff --git a/src/src/main/java/com/relewise/client/model/ValueCondition.java b/src/src/main/java/com/relewise/client/model/ValueCondition.java index dadd0d31..2c1e55df 100644 --- a/src/src/main/java/com/relewise/client/model/ValueCondition.java +++ b/src/src/main/java/com/relewise/client/model/ValueCondition.java @@ -33,7 +33,7 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueCondition { - public String $type = "Relewise.Client.Requests.Conditions.ValueCondition, Relewise.Client"; + public String $type = ""; public Boolean negated; public Boolean getNegated() { diff --git a/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java b/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java index 77758ed6..40235c58 100644 --- a/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java +++ b/src/src/main/java/com/relewise/client/model/ValueConditionCollection.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ValueConditionCollection.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ValueConditionCollection { - public String $type = "Relewise.Client.Requests.RelevanceModifiers.ValueConditionCollection, Relewise.Client"; public @Nullable ArrayList items; public static ValueConditionCollection create() { diff --git a/src/src/main/java/com/relewise/client/model/ValueSelector.java b/src/src/main/java/com/relewise/client/model/ValueSelector.java index af1be7d4..11d685fe 100644 --- a/src/src/main/java/com/relewise/client/model/ValueSelector.java +++ b/src/src/main/java/com/relewise/client/model/ValueSelector.java @@ -30,5 +30,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueSelector { - public String $type = "Relewise.Client.Requests.ValueSelectors.ValueSelector, Relewise.Client"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/ValueType.java b/src/src/main/java/com/relewise/client/model/ValueType.java index c818edbc..e4b811e7 100644 --- a/src/src/main/java/com/relewise/client/model/ValueType.java +++ b/src/src/main/java/com/relewise/client/model/ValueType.java @@ -22,5 +22,5 @@ @JsonIgnoreProperties(ignoreUnknown = true) public abstract class ValueType { - public String $type = "System.ValueType, System.Private.CoreLib"; + public String $type = ""; } diff --git a/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java b/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java index 5c422ce0..4387c501 100644 --- a/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java +++ b/src/src/main/java/com/relewise/client/model/VariantIndexConfiguration.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = VariantIndexConfiguration.class) @JsonIgnoreProperties(ignoreUnknown = true) public class VariantIndexConfiguration { - public String $type = "Relewise.Client.DataTypes.Search.Configuration.VariantIndexConfiguration, Relewise.Client"; public FieldIndexConfiguration id; public FieldIndexConfiguration displayName; public SpecificationsIndexConfiguration specifications; diff --git a/src/src/main/java/com/relewise/client/model/VariantResult.java b/src/src/main/java/com/relewise/client/model/VariantResult.java index 156c3bdd..dba3d654 100644 --- a/src/src/main/java/com/relewise/client/model/VariantResult.java +++ b/src/src/main/java/com/relewise/client/model/VariantResult.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = VariantResult.class) @JsonIgnoreProperties(ignoreUnknown = true) public class VariantResult { - public String $type = "Relewise.Client.DataTypes.VariantResult, Relewise.Client"; public String variantId; public String displayName; public HashMap specification; diff --git a/src/src/main/java/com/relewise/client/model/VariantResultDetails.java b/src/src/main/java/com/relewise/client/model/VariantResultDetails.java index a0d0b76d..684095db 100644 --- a/src/src/main/java/com/relewise/client/model/VariantResultDetails.java +++ b/src/src/main/java/com/relewise/client/model/VariantResultDetails.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = VariantResultDetails.class) @JsonIgnoreProperties(ignoreUnknown = true) public class VariantResultDetails { - public String $type = "Relewise.Client.DataTypes.VariantResultDetails, Relewise.Client"; public String variantId; public Multilingual displayName; public HashMap specification; diff --git a/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java b/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java index 52aa1983..ae056dd9 100644 --- a/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java +++ b/src/src/main/java/com/relewise/client/model/VariantSearchSettings.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = VariantSearchSettings.class) @JsonIgnoreProperties(ignoreUnknown = true) public class VariantSearchSettings { - public String $type = "Relewise.Client.Requests.Search.Settings.VariantSearchSettings, Relewise.Client"; public Boolean excludeResultsWithoutVariant; public static VariantSearchSettings create() { diff --git a/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java b/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java index 8f22df00..98418d59 100644 --- a/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java +++ b/src/src/main/java/com/relewise/client/model/ViewedByUserInfo.java @@ -19,15 +19,9 @@ import java.util.Set; import java.util.HashSet; -@JsonTypeInfo( - use = JsonTypeInfo.Id.NAME, - include = JsonTypeInfo.As.EXISTING_PROPERTY, - property = "$type", - defaultImpl = ViewedByUserInfo.class) @JsonIgnoreProperties(ignoreUnknown = true) public class ViewedByUserInfo { - public String $type = "Relewise.Client.DataTypes.ViewedByUserInfo, Relewise.Client"; public OffsetDateTime mostRecentlyViewedUtc; public Integer totalNumberOfTimesViewed; public static ViewedByUserInfo create(OffsetDateTime mostRecentlyViewedUtc, Integer totalNumberOfTimesViewed)