File tree Expand file tree Collapse file tree 7 files changed +54
-99
lines changed
clients/algoliasearch-client-csharp/algoliasearch/Models/Search Expand file tree Collapse file tree 7 files changed +54
-99
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -35,12 +35,6 @@ public RenderingContent()
3535 [ JsonPropertyName ( "redirect" ) ]
3636 public RedirectURL Redirect { get ; set ; }
3737
38- /// <summary>
39- /// Gets or Sets Widgets
40- /// </summary>
41- [ JsonPropertyName ( "widgets" ) ]
42- public Widgets Widgets { get ; set ; }
43-
4438 /// <summary>
4539 /// Returns the string presentation of the object
4640 /// </summary>
@@ -51,7 +45,6 @@ public override string ToString()
5145 sb . Append ( "class RenderingContent {\n " ) ;
5246 sb . Append ( " FacetOrdering: " ) . Append ( FacetOrdering ) . Append ( "\n " ) ;
5347 sb . Append ( " Redirect: " ) . Append ( Redirect ) . Append ( "\n " ) ;
54- sb . Append ( " Widgets: " ) . Append ( Widgets ) . Append ( "\n " ) ;
5548 sb . Append ( "}\n " ) ;
5649 return sb . ToString ( ) ;
5750 }
@@ -78,8 +71,8 @@ public override bool Equals(object obj)
7871 }
7972
8073 return
81- ( FacetOrdering == input . FacetOrdering || ( FacetOrdering != null && FacetOrdering . Equals ( input . FacetOrdering ) ) ) &&
82- ( Redirect == input . Redirect || ( Redirect != null && Redirect . Equals ( input . Redirect ) ) ) && Widgets . Equals ( input . Widgets ) ;
74+ ( FacetOrdering == input . FacetOrdering || ( FacetOrdering != null && FacetOrdering . Equals ( input . FacetOrdering ) ) ) &&
75+ ( Redirect == input . Redirect || ( Redirect != null && Redirect . Equals ( input . Redirect ) ) ) ;
8376 }
8477
8578 /// <summary>
@@ -99,10 +92,6 @@ public override int GetHashCode()
9992 {
10093 hashCode = ( hashCode * 59 ) + Redirect . GetHashCode ( ) ;
10194 }
102- if ( Widgets != null )
103- {
104- hashCode = ( hashCode * 59 ) + Widgets . GetHashCode ( ) ;
105- }
10695 return hashCode ;
10796 }
10897 }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -1022,6 +1022,58 @@ facetOrdering:
10221022 values :
10231023 $ref : ' #/values'
10241024
1025+ widgets :
1026+ description : widgets returned from any rules that are applied to the current search.
1027+ type : object
1028+ additionalProperties : false
1029+ properties :
1030+ banners :
1031+ $ref : ' #/banners'
1032+
1033+ banners :
1034+ description : banners defined in the merchandising studio for the given search.
1035+ type : array
1036+ additionalProperties : false
1037+ properties :
1038+ banners :
1039+ $ref : ' #/banner'
1040+
1041+ banner :
1042+ description : a search banner with image and url.
1043+ type : object
1044+ additionalProperties : false
1045+ properties :
1046+ image :
1047+ $ref : ' #/bannerImage'
1048+ link :
1049+ $ref : ' #/bannerLink'
1050+
1051+ bannerLink :
1052+ description : link for a banner defined in merchandising studio.
1053+ type : object
1054+ additionalProperties : false
1055+ properties :
1056+ url :
1057+ type : string
1058+
1059+ bannerImage :
1060+ description : image of a search banner.
1061+ type : object
1062+ additionalProperties : false
1063+ properties :
1064+ urls :
1065+ $ref : ' #/bannerImageUrl'
1066+ title :
1067+ type : string
1068+
1069+ bannerImageUrl :
1070+ description : url for a search banner image.
1071+ type : array
1072+ additionalProperties : false
1073+ properties :
1074+ url :
1075+ type : string
1076+
10251077facets :
10261078 description : Order of facet names.
10271079 type : object
You can’t perform that action at this time.
0 commit comments