Skip to content

Commit

Permalink
chore(deps): dependencies 2024-08-19 (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3530

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Algolia Bot <30854082+algolia-bot@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: shortcuts <vannicattec@gmail.com>
Co-authored-by: Pierre Millot <pierre.millot@algolia.com>
  • Loading branch information
5 people committed Aug 26, 2024
1 parent eae4139 commit 82cade4
Show file tree
Hide file tree
Showing 10 changed files with 28 additions and 28 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ namespace Algolia.Search.Models.Analytics;
/// <summary>
/// Currency code.
/// </summary>
public partial class CurrenciesValue
public partial class CurrencyCode
{
/// <summary>
/// Initializes a new instance of the CurrenciesValue class.
/// Initializes a new instance of the CurrencyCode class.
/// </summary>
public CurrenciesValue()
public CurrencyCode()
{
}

Expand All @@ -44,7 +44,7 @@ public CurrenciesValue()
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class CurrenciesValue {\n");
sb.Append("class CurrencyCode {\n");
sb.Append(" Currency: ").Append(Currency).Append("\n");
sb.Append(" Revenue: ").Append(Revenue).Append("\n");
sb.Append("}\n");
Expand All @@ -67,7 +67,7 @@ public virtual string ToJson()
/// <returns>Boolean</returns>
public override bool Equals(object obj)
{
if (obj is not CurrenciesValue input)
if (obj is not CurrencyCode input)
{
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions algoliasearch/Models/Analytics/DailyRevenue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public DailyRevenue() { }
/// </summary>
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
/// <param name="date">Date in the format YYYY-MM-DD. (required).</param>
public DailyRevenue(Dictionary<string, CurrenciesValue> currencies, string date)
public DailyRevenue(Dictionary<string, CurrencyCode> currencies, string date)
{
Currencies = currencies ?? throw new ArgumentNullException(nameof(currencies));
Date = date ?? throw new ArgumentNullException(nameof(date));
Expand All @@ -37,7 +37,7 @@ public DailyRevenue(Dictionary<string, CurrenciesValue> currencies, string date)
/// </summary>
/// <value>Revenue associated with this search, broken-down by currencies.</value>
[JsonPropertyName("currencies")]
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
public Dictionary<string, CurrencyCode> Currencies { get; set; }

/// <summary>
/// Date in the format YYYY-MM-DD.
Expand Down
4 changes: 2 additions & 2 deletions algoliasearch/Models/Analytics/GetRevenue.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public GetRevenue() { }
/// </summary>
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
/// <param name="dates">Daily revenue. (required).</param>
public GetRevenue(Dictionary<string, CurrenciesValue> currencies, List<DailyRevenue> dates)
public GetRevenue(Dictionary<string, CurrencyCode> currencies, List<DailyRevenue> dates)
{
Currencies = currencies ?? throw new ArgumentNullException(nameof(currencies));
Dates = dates ?? throw new ArgumentNullException(nameof(dates));
Expand All @@ -37,7 +37,7 @@ public GetRevenue(Dictionary<string, CurrenciesValue> currencies, List<DailyReve
/// </summary>
/// <value>Revenue associated with this search, broken-down by currencies.</value>
[JsonPropertyName("currencies")]
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
public Dictionary<string, CurrencyCode> Currencies { get; set; }

/// <summary>
/// Daily revenue.
Expand Down
4 changes: 2 additions & 2 deletions algoliasearch/Models/Analytics/TopHitWithRevenueAnalytics.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public TopHitWithRevenueAnalytics() { }
/// <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>
/// <param name="purchaseCount">Number of purchase events from this search. (required) (default to 0).</param>
/// <param name="currencies">Revenue associated with this search, broken-down by currencies. (required).</param>
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)
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)
{
Hit = hit ?? throw new ArgumentNullException(nameof(hit));
Count = count;
Expand Down Expand Up @@ -134,7 +134,7 @@ public TopHitWithRevenueAnalytics(string hit, int count, double? clickThroughRat
/// </summary>
/// <value>Revenue associated with this search, broken-down by currencies.</value>
[JsonPropertyName("currencies")]
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
public Dictionary<string, CurrencyCode> Currencies { get; set; }

/// <summary>
/// Returns the string presentation of the object
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public TopSearchWithRevenueAnalytics() { }
/// <param name="addToCartCount">Number of add-to-cart events from this search. (required) (default to 0).</param>
/// <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>
/// <param name="purchaseCount">Number of purchase events from this search. (required) (default to 0).</param>
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)
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)
{
Search = search ?? throw new ArgumentNullException(nameof(search));
Count = count;
Expand Down Expand Up @@ -133,7 +133,7 @@ public TopSearchWithRevenueAnalytics(string search, int count, double? clickThro
/// </summary>
/// <value>Revenue associated with this search, broken-down by currencies.</value>
[JsonPropertyName("currencies")]
public Dictionary<string, CurrenciesValue> Currencies { get; set; }
public Dictionary<string, CurrencyCode> Currencies { get; set; }

/// <summary>
/// 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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
namespace Algolia.Search.Models.Recommend;

/// <summary>
/// FacetsStats
/// FacetStats
/// </summary>
public partial class FacetsStats
public partial class FacetStats
{
/// <summary>
/// Initializes a new instance of the FacetsStats class.
/// Initializes a new instance of the FacetStats class.
/// </summary>
public FacetsStats()
public FacetStats()
{
}

Expand Down Expand Up @@ -58,7 +58,7 @@ public FacetsStats()
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class FacetsStats {\n");
sb.Append("class FacetStats {\n");
sb.Append(" Min: ").Append(Min).Append("\n");
sb.Append(" Max: ").Append(Max).Append("\n");
sb.Append(" Avg: ").Append(Avg).Append("\n");
Expand All @@ -83,7 +83,7 @@ public virtual string ToJson()
/// <returns>Boolean</returns>
public override bool Equals(object obj)
{
if (obj is not FacetsStats input)
if (obj is not FacetStats input)
{
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion algoliasearch/Models/Recommend/RecommendationsResults.cs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public RecommendationsResults(int processingTimeMS, int page, int nbHits, int nb
/// </summary>
/// <value>Statistics for numerical facets.</value>
[JsonPropertyName("facets_stats")]
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
public Dictionary<string, FacetStats> FacetsStats { get; set; }

/// <summary>
/// Index name used for the query.
Expand Down
2 changes: 1 addition & 1 deletion algoliasearch/Models/Search/BrowseResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public BrowseResponse(int processingTimeMS, List<T> hits, string query, string v
/// </summary>
/// <value>Statistics for numerical facets.</value>
[JsonPropertyName("facets_stats")]
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
public Dictionary<string, FacetStats> FacetsStats { get; set; }

/// <summary>
/// Index name used for the query.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
namespace Algolia.Search.Models.Search;

/// <summary>
/// FacetsStats
/// FacetStats
/// </summary>
public partial class FacetsStats
public partial class FacetStats
{
/// <summary>
/// Initializes a new instance of the FacetsStats class.
/// Initializes a new instance of the FacetStats class.
/// </summary>
public FacetsStats()
public FacetStats()
{
}

Expand Down Expand Up @@ -58,7 +58,7 @@ public FacetsStats()
public override string ToString()
{
StringBuilder sb = new StringBuilder();
sb.Append("class FacetsStats {\n");
sb.Append("class FacetStats {\n");
sb.Append(" Min: ").Append(Min).Append("\n");
sb.Append(" Max: ").Append(Max).Append("\n");
sb.Append(" Avg: ").Append(Avg).Append("\n");
Expand All @@ -83,7 +83,7 @@ public virtual string ToJson()
/// <returns>Boolean</returns>
public override bool Equals(object obj)
{
if (obj is not FacetsStats input)
if (obj is not FacetStats input)
{
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion algoliasearch/Models/Search/SearchResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public SearchResponse(int processingTimeMS, int page, int nbHits, int nbPages, i
/// </summary>
/// <value>Statistics for numerical facets.</value>
[JsonPropertyName("facets_stats")]
public Dictionary<string, FacetsStats> FacetsStats { get; set; }
public Dictionary<string, FacetStats> FacetsStats { get; set; }

/// <summary>
/// Index name used for the query.
Expand Down

0 comments on commit 82cade4

Please sign in to comment.