Skip to content

Commit b90600e

Browse files
algolia-botrenovate[bot]shortcuts
committed
chore(deps): dependencies 2025-01-06 [skip-bc] (#4299) (generated) [skip ci]
Co-authored-by: Algolia Bot <[email protected]> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 47b567f commit b90600e

File tree

92 files changed

+591
-488
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

92 files changed

+591
-488
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Models/Personalization/EventScoring.cs renamed to clients/algoliasearch-client-csharp/algoliasearch/Models/Personalization/EventsScoring.cs

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

1414
/// <summary>
15-
/// EventScoring
15+
/// EventsScoring
1616
/// </summary>
17-
public partial class EventScoring
17+
public partial class EventsScoring
1818
{
1919

2020
/// <summary>
@@ -23,17 +23,17 @@ public partial class EventScoring
2323
[JsonPropertyName("eventType")]
2424
public EventType? EventType { get; set; }
2525
/// <summary>
26-
/// Initializes a new instance of the EventScoring class.
26+
/// Initializes a new instance of the EventsScoring class.
2727
/// </summary>
2828
[JsonConstructor]
29-
public EventScoring() { }
29+
public EventsScoring() { }
3030
/// <summary>
31-
/// Initializes a new instance of the EventScoring class.
31+
/// Initializes a new instance of the EventsScoring class.
3232
/// </summary>
3333
/// <param name="score">Event score. (required).</param>
3434
/// <param name="eventName">Event name. (required).</param>
3535
/// <param name="eventType">eventType (required).</param>
36-
public EventScoring(int score, string eventName, EventType? eventType)
36+
public EventsScoring(int score, string eventName, EventType? eventType)
3737
{
3838
Score = score;
3939
EventName = eventName ?? throw new ArgumentNullException(nameof(eventName));
@@ -61,7 +61,7 @@ public EventScoring(int score, string eventName, EventType? eventType)
6161
public override string ToString()
6262
{
6363
StringBuilder sb = new StringBuilder();
64-
sb.Append("class EventScoring {\n");
64+
sb.Append("class EventsScoring {\n");
6565
sb.Append(" Score: ").Append(Score).Append("\n");
6666
sb.Append(" EventName: ").Append(EventName).Append("\n");
6767
sb.Append(" EventType: ").Append(EventType).Append("\n");
@@ -85,7 +85,7 @@ public virtual string ToJson()
8585
/// <returns>Boolean</returns>
8686
public override bool Equals(object obj)
8787
{
88-
if (obj is not EventScoring input)
88+
if (obj is not EventsScoring input)
8989
{
9090
return false;
9191
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Personalization/FacetScoring.cs renamed to clients/algoliasearch-client-csharp/algoliasearch/Models/Personalization/FacetsScoring.cs

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

1414
/// <summary>
15-
/// FacetScoring
15+
/// FacetsScoring
1616
/// </summary>
17-
public partial class FacetScoring
17+
public partial class FacetsScoring
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the FacetScoring class.
20+
/// Initializes a new instance of the FacetsScoring class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public FacetScoring() { }
23+
public FacetsScoring() { }
2424
/// <summary>
25-
/// Initializes a new instance of the FacetScoring class.
25+
/// Initializes a new instance of the FacetsScoring class.
2626
/// </summary>
2727
/// <param name="score">Event score. (required).</param>
2828
/// <param name="facetName">Facet attribute name. (required).</param>
29-
public FacetScoring(int score, string facetName)
29+
public FacetsScoring(int score, string facetName)
3030
{
3131
Score = score;
3232
FacetName = facetName ?? throw new ArgumentNullException(nameof(facetName));
@@ -53,7 +53,7 @@ public FacetScoring(int score, string facetName)
5353
public override string ToString()
5454
{
5555
StringBuilder sb = new StringBuilder();
56-
sb.Append("class FacetScoring {\n");
56+
sb.Append("class FacetsScoring {\n");
5757
sb.Append(" Score: ").Append(Score).Append("\n");
5858
sb.Append(" FacetName: ").Append(FacetName).Append("\n");
5959
sb.Append("}\n");
@@ -76,7 +76,7 @@ public virtual string ToJson()
7676
/// <returns>Boolean</returns>
7777
public override bool Equals(object obj)
7878
{
79-
if (obj is not FacetScoring input)
79+
if (obj is not FacetsScoring input)
8080
{
8181
return false;
8282
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Personalization/PersonalizationStrategyParams.cs

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,29 +24,29 @@ public PersonalizationStrategyParams() { }
2424
/// <summary>
2525
/// Initializes a new instance of the PersonalizationStrategyParams class.
2626
/// </summary>
27-
/// <param name="eventScoring">Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. (required).</param>
28-
/// <param name="facetScoring">Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. (required).</param>
27+
/// <param name="eventsScoring">Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. (required).</param>
28+
/// <param name="facetsScoring">Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. (required).</param>
2929
/// <param name="personalizationImpact">Impact of personalization on the search results. If set to 0, personalization has no impact on the search results. (required).</param>
30-
public PersonalizationStrategyParams(List<EventScoring> eventScoring, List<FacetScoring> facetScoring, int personalizationImpact)
30+
public PersonalizationStrategyParams(List<EventsScoring> eventsScoring, List<FacetsScoring> facetsScoring, int personalizationImpact)
3131
{
32-
EventScoring = eventScoring ?? throw new ArgumentNullException(nameof(eventScoring));
33-
FacetScoring = facetScoring ?? throw new ArgumentNullException(nameof(facetScoring));
32+
EventsScoring = eventsScoring ?? throw new ArgumentNullException(nameof(eventsScoring));
33+
FacetsScoring = facetsScoring ?? throw new ArgumentNullException(nameof(facetsScoring));
3434
PersonalizationImpact = personalizationImpact;
3535
}
3636

3737
/// <summary>
3838
/// Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results.
3939
/// </summary>
4040
/// <value>Scores associated with each event. The higher the scores, the higher the impact of those events on the personalization of search results. </value>
41-
[JsonPropertyName("eventScoring")]
42-
public List<EventScoring> EventScoring { get; set; }
41+
[JsonPropertyName("eventsScoring")]
42+
public List<EventsScoring> EventsScoring { get; set; }
4343

4444
/// <summary>
4545
/// Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results.
4646
/// </summary>
4747
/// <value>Scores associated with each facet. The higher the scores, the higher the impact of those events on the personalization of search results. </value>
48-
[JsonPropertyName("facetScoring")]
49-
public List<FacetScoring> FacetScoring { get; set; }
48+
[JsonPropertyName("facetsScoring")]
49+
public List<FacetsScoring> FacetsScoring { get; set; }
5050

5151
/// <summary>
5252
/// Impact of personalization on the search results. If set to 0, personalization has no impact on the search results.
@@ -63,8 +63,8 @@ public override string ToString()
6363
{
6464
StringBuilder sb = new StringBuilder();
6565
sb.Append("class PersonalizationStrategyParams {\n");
66-
sb.Append(" EventScoring: ").Append(EventScoring).Append("\n");
67-
sb.Append(" FacetScoring: ").Append(FacetScoring).Append("\n");
66+
sb.Append(" EventsScoring: ").Append(EventsScoring).Append("\n");
67+
sb.Append(" FacetsScoring: ").Append(FacetsScoring).Append("\n");
6868
sb.Append(" PersonalizationImpact: ").Append(PersonalizationImpact).Append("\n");
6969
sb.Append("}\n");
7070
return sb.ToString();
@@ -92,8 +92,8 @@ public override bool Equals(object obj)
9292
}
9393

9494
return
95-
(EventScoring == input.EventScoring || EventScoring != null && input.EventScoring != null && EventScoring.SequenceEqual(input.EventScoring)) &&
96-
(FacetScoring == input.FacetScoring || FacetScoring != null && input.FacetScoring != null && FacetScoring.SequenceEqual(input.FacetScoring)) &&
95+
(EventsScoring == input.EventsScoring || EventsScoring != null && input.EventsScoring != null && EventsScoring.SequenceEqual(input.EventsScoring)) &&
96+
(FacetsScoring == input.FacetsScoring || FacetsScoring != null && input.FacetsScoring != null && FacetsScoring.SequenceEqual(input.FacetsScoring)) &&
9797
(PersonalizationImpact == input.PersonalizationImpact || PersonalizationImpact.Equals(input.PersonalizationImpact));
9898
}
9999

@@ -106,13 +106,13 @@ public override int GetHashCode()
106106
unchecked // Overflow is fine, just wrap
107107
{
108108
int hashCode = 41;
109-
if (EventScoring != null)
109+
if (EventsScoring != null)
110110
{
111-
hashCode = (hashCode * 59) + EventScoring.GetHashCode();
111+
hashCode = (hashCode * 59) + EventsScoring.GetHashCode();
112112
}
113-
if (FacetScoring != null)
113+
if (FacetsScoring != null)
114114
{
115-
hashCode = (hashCode * 59) + FacetScoring.GetHashCode();
115+
hashCode = (hashCode * 59) + FacetsScoring.GetHashCode();
116116
}
117117
hashCode = (hashCode * 59) + PersonalizationImpact.GetHashCode();
118118
return hashCode;

clients/algoliasearch-client-go/algolia/personalization/model_event_scoring.go renamed to clients/algoliasearch-client-go/algolia/personalization/model_events_scoring.go

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)