Skip to content

Commit 82cade4

Browse files
algolia-botrenovate[bot]shortcutsmillotp
committed
chore(deps): dependencies 2024-08-19 (generated)
algolia/api-clients-automation#3530 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Algolia Bot <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: shortcuts <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent eae4139 commit 82cade4

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

algoliasearch/Models/Analytics/CurrenciesValue.cs renamed to algoliasearch/Models/Analytics/CurrencyCode.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ namespace Algolia.Search.Models.Analytics;
1414
/// <summary>
1515
/// Currency code.
1616
/// </summary>
17-
public partial class CurrenciesValue
17+
public partial class CurrencyCode
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the CurrenciesValue class.
20+
/// Initializes a new instance of the CurrencyCode class.
2121
/// </summary>
22-
public CurrenciesValue()
22+
public CurrencyCode()
2323
{
2424
}
2525

@@ -44,7 +44,7 @@ public CurrenciesValue()
4444
public override string ToString()
4545
{
4646
StringBuilder sb = new StringBuilder();
47-
sb.Append("class CurrenciesValue {\n");
47+
sb.Append("class CurrencyCode {\n");
4848
sb.Append(" Currency: ").Append(Currency).Append("\n");
4949
sb.Append(" Revenue: ").Append(Revenue).Append("\n");
5050
sb.Append("}\n");
@@ -67,7 +67,7 @@ public virtual string ToJson()
6767
/// <returns>Boolean</returns>
6868
public override bool Equals(object obj)
6969
{
70-
if (obj is not CurrenciesValue input)
70+
if (obj is not CurrencyCode input)
7171
{
7272
return false;
7373
}

algoliasearch/Models/Analytics/DailyRevenue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public DailyRevenue() { }
2626
/// </summary>
2727
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
2828
/// <param name="date">Date in the format YYYY-MM-DD. (required).</param>
29-
public DailyRevenue(Dictionary<string, CurrenciesValue> currencies, string date)
29+
public DailyRevenue(Dictionary<string, CurrencyCode> currencies, string date)
3030
{
3131
Currencies = currencies ?? throw new ArgumentNullException(nameof(currencies));
3232
Date = date ?? throw new ArgumentNullException(nameof(date));
@@ -37,7 +37,7 @@ public DailyRevenue(Dictionary<string, CurrenciesValue> currencies, string date)
3737
/// </summary>
3838
/// <value>Revenue associated with this search, broken-down by currencies.</value>
3939
[JsonPropertyName("currencies")]
40-
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
40+
public Dictionary<string, CurrencyCode> Currencies { get; set; }
4141

4242
/// <summary>
4343
/// Date in the format YYYY-MM-DD.

algoliasearch/Models/Analytics/GetRevenue.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public GetRevenue() { }
2626
/// </summary>
2727
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
2828
/// <param name="dates">Daily revenue. (required).</param>
29-
public GetRevenue(Dictionary<string, CurrenciesValue> currencies, List<DailyRevenue> dates)
29+
public GetRevenue(Dictionary<string, CurrencyCode> currencies, List<DailyRevenue> dates)
3030
{
3131
Currencies = currencies ?? throw new ArgumentNullException(nameof(currencies));
3232
Dates = dates ?? throw new ArgumentNullException(nameof(dates));
@@ -37,7 +37,7 @@ public GetRevenue(Dictionary<string, CurrenciesValue> currencies, List<DailyReve
3737
/// </summary>
3838
/// <value>Revenue associated with this search, broken-down by currencies.</value>
3939
[JsonPropertyName("currencies")]
40-
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
40+
public Dictionary<string, CurrencyCode> Currencies { get; set; }
4141

4242
/// <summary>
4343
/// Daily revenue.

algoliasearch/Models/Analytics/TopHitWithRevenueAnalytics.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public TopHitWithRevenueAnalytics() { }
3636
/// <param name="purchaseRate">Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn&#39;t receive any search requests with &#x60;clickAnalytics&#x60; set to true. (required).</param>
3737
/// <param name="purchaseCount">Number of purchase events from this search. (required) (default to 0).</param>
3838
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
39-
public TopHitWithRevenueAnalytics(string hit, int count, double? clickThroughRate, double? conversionRate, int trackedHitCount, int clickCount, int conversionCount, double? addToCartRate, int addToCartCount, double? purchaseRate, int purchaseCount, Dictionary<string, CurrenciesValue> currencies)
39+
public TopHitWithRevenueAnalytics(string hit, int count, double? clickThroughRate, double? conversionRate, int trackedHitCount, int clickCount, int conversionCount, double? addToCartRate, int addToCartCount, double? purchaseRate, int purchaseCount, Dictionary<string, CurrencyCode> currencies)
4040
{
4141
Hit = hit ?? throw new ArgumentNullException(nameof(hit));
4242
Count = count;
@@ -134,7 +134,7 @@ public TopHitWithRevenueAnalytics(string hit, int count, double? clickThroughRat
134134
/// </summary>
135135
/// <value>Revenue associated with this search, broken-down by currencies.</value>
136136
[JsonPropertyName("currencies")]
137-
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
137+
public Dictionary<string, CurrencyCode> Currencies { get; set; }
138138

139139
/// <summary>
140140
/// Returns the string presentation of the object

algoliasearch/Models/Analytics/TopSearchWithRevenueAnalytics.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public TopSearchWithRevenueAnalytics() { }
3939
/// <param name="addToCartCount">Number of add-to-cart events from this search. (required) (default to 0).</param>
4040
/// <param name="purchaseRate">Purchase rate, calculated as number of tracked searches with at least one purchase event divided by the number of tracked searches. If null, Algolia didn&#39;t receive any search requests with &#x60;clickAnalytics&#x60; set to true. (required).</param>
4141
/// <param name="purchaseCount">Number of purchase events from this search. (required) (default to 0).</param>
42-
public TopSearchWithRevenueAnalytics(string search, int count, double? clickThroughRate, double? averageClickPosition, List<ClickPosition> clickPositions, double? conversionRate, int trackedSearchCount, int clickCount, int conversionCount, int nbHits, Dictionary<string, CurrenciesValue> currencies, double? addToCartRate, int addToCartCount, double? purchaseRate, int purchaseCount)
42+
public TopSearchWithRevenueAnalytics(string search, int count, double? clickThroughRate, double? averageClickPosition, List<ClickPosition> clickPositions, double? conversionRate, int trackedSearchCount, int clickCount, int conversionCount, int nbHits, Dictionary<string, CurrencyCode> currencies, double? addToCartRate, int addToCartCount, double? purchaseRate, int purchaseCount)
4343
{
4444
Search = search ?? throw new ArgumentNullException(nameof(search));
4545
Count = count;
@@ -133,7 +133,7 @@ public TopSearchWithRevenueAnalytics(string search, int count, double? clickThro
133133
/// </summary>
134134
/// <value>Revenue associated with this search, broken-down by currencies.</value>
135135
[JsonPropertyName("currencies")]
136-
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
136+
public Dictionary<string, CurrencyCode> Currencies { get; set; }
137137

138138
/// <summary>
139139
/// Add-to-cart rate, calculated as number of tracked searches with at least one add-to-cart event divided by the number of tracked searches. If null, Algolia didn't receive any search requests with `clickAnalytics` set to true.

algoliasearch/Models/Recommend/FacetsStats.cs renamed to algoliasearch/Models/Recommend/FacetStats.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
namespace Algolia.Search.Models.Recommend;
1313

1414
/// <summary>
15-
/// FacetsStats
15+
/// FacetStats
1616
/// </summary>
17-
public partial class FacetsStats
17+
public partial class FacetStats
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the FacetsStats class.
20+
/// Initializes a new instance of the FacetStats class.
2121
/// </summary>
22-
public FacetsStats()
22+
public FacetStats()
2323
{
2424
}
2525

@@ -58,7 +58,7 @@ public FacetsStats()
5858
public override string ToString()
5959
{
6060
StringBuilder sb = new StringBuilder();
61-
sb.Append("class FacetsStats {\n");
61+
sb.Append("class FacetStats {\n");
6262
sb.Append(" Min: ").Append(Min).Append("\n");
6363
sb.Append(" Max: ").Append(Max).Append("\n");
6464
sb.Append(" Avg: ").Append(Avg).Append("\n");
@@ -83,7 +83,7 @@ public virtual string ToJson()
8383
/// <returns>Boolean</returns>
8484
public override bool Equals(object obj)
8585
{
86-
if (obj is not FacetsStats input)
86+
if (obj is not FacetStats input)
8787
{
8888
return false;
8989
}

algoliasearch/Models/Recommend/RecommendationsResults.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public RecommendationsResults(int processingTimeMS, int page, int nbHits, int nb
110110
/// </summary>
111111
/// <value>Statistics for numerical facets.</value>
112112
[JsonPropertyName("facets_stats")]
113-
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
113+
public Dictionary<string, FacetStats> FacetsStats { get; set; }
114114

115115
/// <summary>
116116
/// Index name used for the query.

algoliasearch/Models/Search/BrowseResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public BrowseResponse(int processingTimeMS, List<T> hits, string query, string v
106106
/// </summary>
107107
/// <value>Statistics for numerical facets.</value>
108108
[JsonPropertyName("facets_stats")]
109-
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
109+
public Dictionary<string, FacetStats> FacetsStats { get; set; }
110110

111111
/// <summary>
112112
/// Index name used for the query.

algoliasearch/Models/Search/FacetsStats.cs renamed to algoliasearch/Models/Search/FacetStats.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
namespace Algolia.Search.Models.Search;
1313

1414
/// <summary>
15-
/// FacetsStats
15+
/// FacetStats
1616
/// </summary>
17-
public partial class FacetsStats
17+
public partial class FacetStats
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the FacetsStats class.
20+
/// Initializes a new instance of the FacetStats class.
2121
/// </summary>
22-
public FacetsStats()
22+
public FacetStats()
2323
{
2424
}
2525

@@ -58,7 +58,7 @@ public FacetsStats()
5858
public override string ToString()
5959
{
6060
StringBuilder sb = new StringBuilder();
61-
sb.Append("class FacetsStats {\n");
61+
sb.Append("class FacetStats {\n");
6262
sb.Append(" Min: ").Append(Min).Append("\n");
6363
sb.Append(" Max: ").Append(Max).Append("\n");
6464
sb.Append(" Avg: ").Append(Avg).Append("\n");
@@ -83,7 +83,7 @@ public virtual string ToJson()
8383
/// <returns>Boolean</returns>
8484
public override bool Equals(object obj)
8585
{
86-
if (obj is not FacetsStats input)
86+
if (obj is not FacetStats input)
8787
{
8888
return false;
8989
}

algoliasearch/Models/Search/SearchResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ public SearchResponse(int processingTimeMS, int page, int nbHits, int nbPages, i
118118
/// </summary>
119119
/// <value>Statistics for numerical facets.</value>
120120
[JsonPropertyName("facets_stats")]
121-
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
121+
public Dictionary<string, FacetStats> FacetsStats { get; set; }
122122

123123
/// <summary>
124124
/// Index name used for the query.

0 commit comments

Comments
 (0)