File tree Expand file tree Collapse file tree 16 files changed +33
-6
lines changed
Expand file tree Collapse file tree 16 files changed +33
-6
lines changed Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Bookmark Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Bookmark : RecombeeBinding {
1517 private readonly string userId ;
1618 /// <summary>User who bookmarked the item</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>CartAddition Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class CartAddition : RecombeeBinding {
1517 private readonly string userId ;
1618 /// <summary>User who added the item to the cart</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>DetailView Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class DetailView : RecombeeBinding {
1517 private readonly string userId ;
1618 /// <summary>User who viewed the item</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Group Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Group : Entity {
1517 private readonly string groupId ;
1618 /// <summary>Id of the group</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>GroupItem Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class GroupItem : RecombeeBinding {
1517 private readonly string itemType ;
1618 /// <summary>`item` iff the regular item from the catalog is to be inserted, `group` iff group is inserted as the item.</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Item Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Item : Entity {
1517 private readonly string itemId ;
1618 /// <summary>Id of the item</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Logic Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Logic : RecombeeBinding {
1517 private readonly string name ;
1618 /// <summary>Name of the logic that should be used</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>PropertyInfo Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class PropertyInfo : RecombeeBinding {
1517 private readonly string name ;
1618 /// <summary>Name of the property</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Purchase Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Purchase : RecombeeBinding {
1517 private readonly string userId ;
1618 /// <summary>User who purchased the item</summary>
Original file line number Diff line number Diff line change 55using System ;
66using System . Collections . Generic ;
77using Newtonsoft . Json ;
8+ using Newtonsoft . Json . Serialization ;
89
910using Recombee . ApiClient . Util ;
1011
1112namespace Recombee . ApiClient . Bindings
1213{
1314 /// <summary>Rating Binding</summary>
15+ [ JsonObject ( NamingStrategyType = typeof ( CamelCaseNamingStrategy ) ) ]
1416 public class Rating : RecombeeBinding {
1517 private readonly string userId ;
1618 /// <summary>User who submitted the rating</summary>
You can’t perform that action at this time.
0 commit comments