Skip to content

Commit 529bf38

Browse files
algolia-botmillotpFluf22
committed
chore: generated code for commit 197d198. [skip ci]
Co-authored-by: Pierre Millot <[email protected]> Co-authored-by: Thomas Raffray <[email protected]>
1 parent 197d198 commit 529bf38

File tree

117 files changed

+2381
-1543
lines changed

Some content is hidden

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

117 files changed

+2381
-1543
lines changed

clients/algoliasearch-client-csharp/algoliasearch/Clients/QuerySuggestionsClient.cs

Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.

clients/algoliasearch-client-csharp/algoliasearch/Models/Abtesting/ABTest.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ public ABTest(int abTestID, double? clickSignificance, double? conversionSignifi
131131
public List<Variant> Variants { get; set; }
132132

133133
/// <summary>
134-
/// Gets or Sets VarConfiguration
134+
/// Gets or Sets Configuration
135135
/// </summary>
136136
[JsonPropertyName("configuration")]
137-
public ABTestConfiguration VarConfiguration { get; set; }
137+
public ABTestConfiguration Configuration { get; set; }
138138

139139
/// <summary>
140140
/// Returns the string presentation of the object
@@ -156,7 +156,7 @@ public override string ToString()
156156
sb.Append(" Name: ").Append(Name).Append("\n");
157157
sb.Append(" Status: ").Append(Status).Append("\n");
158158
sb.Append(" Variants: ").Append(Variants).Append("\n");
159-
sb.Append(" VarConfiguration: ").Append(VarConfiguration).Append("\n");
159+
sb.Append(" Configuration: ").Append(Configuration).Append("\n");
160160
sb.Append("}\n");
161161
return sb.ToString();
162162
}
@@ -195,7 +195,7 @@ public override bool Equals(object obj)
195195
(Name == input.Name || (Name != null && Name.Equals(input.Name))) &&
196196
(Status == input.Status || Status.Equals(input.Status)) &&
197197
(Variants == input.Variants || Variants != null && input.Variants != null && Variants.SequenceEqual(input.Variants)) &&
198-
(VarConfiguration == input.VarConfiguration || (VarConfiguration != null && VarConfiguration.Equals(input.VarConfiguration)));
198+
(Configuration == input.Configuration || (Configuration != null && Configuration.Equals(input.Configuration)));
199199
}
200200

201201
/// <summary>
@@ -249,9 +249,9 @@ public override int GetHashCode()
249249
{
250250
hashCode = (hashCode * 59) + Variants.GetHashCode();
251251
}
252-
if (VarConfiguration != null)
252+
if (Configuration != null)
253253
{
254-
hashCode = (hashCode * 59) + VarConfiguration.GetHashCode();
254+
hashCode = (hashCode * 59) + Configuration.GetHashCode();
255255
}
256256
return hashCode;
257257
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SourceDocker.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ public SourceDocker() { }
3939
/// <param name="imageType">imageType (required).</param>
4040
/// <param name="registry">registry (required).</param>
4141
/// <param name="image">Docker image name. (required).</param>
42-
/// <param name="varConfiguration">Configuration of the spec. (required).</param>
43-
public SourceDocker(DockerImageType? imageType, DockerRegistry? registry, string image, object varConfiguration)
42+
/// <param name="configuration">Configuration of the spec. (required).</param>
43+
public SourceDocker(DockerImageType? imageType, DockerRegistry? registry, string image, object configuration)
4444
{
4545
ImageType = imageType;
4646
Registry = registry;
4747
Image = image ?? throw new ArgumentNullException(nameof(image));
48-
VarConfiguration = varConfiguration ?? throw new ArgumentNullException(nameof(varConfiguration));
48+
Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
4949
}
5050

5151
/// <summary>
@@ -67,7 +67,7 @@ public SourceDocker(DockerImageType? imageType, DockerRegistry? registry, string
6767
/// </summary>
6868
/// <value>Configuration of the spec.</value>
6969
[JsonPropertyName("configuration")]
70-
public object VarConfiguration { get; set; }
70+
public object Configuration { get; set; }
7171

7272
/// <summary>
7373
/// Returns the string presentation of the object
@@ -81,7 +81,7 @@ public override string ToString()
8181
sb.Append(" Registry: ").Append(Registry).Append("\n");
8282
sb.Append(" Image: ").Append(Image).Append("\n");
8383
sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
84-
sb.Append(" VarConfiguration: ").Append(VarConfiguration).Append("\n");
84+
sb.Append(" Configuration: ").Append(Configuration).Append("\n");
8585
sb.Append("}\n");
8686
return sb.ToString();
8787
}
@@ -112,7 +112,7 @@ public override bool Equals(object obj)
112112
(Registry == input.Registry || Registry.Equals(input.Registry)) &&
113113
(Image == input.Image || (Image != null && Image.Equals(input.Image))) &&
114114
(VarVersion == input.VarVersion || (VarVersion != null && VarVersion.Equals(input.VarVersion))) &&
115-
(VarConfiguration == input.VarConfiguration || (VarConfiguration != null && VarConfiguration.Equals(input.VarConfiguration)));
115+
(Configuration == input.Configuration || (Configuration != null && Configuration.Equals(input.Configuration)));
116116
}
117117

118118
/// <summary>
@@ -134,9 +134,9 @@ public override int GetHashCode()
134134
{
135135
hashCode = (hashCode * 59) + VarVersion.GetHashCode();
136136
}
137-
if (VarConfiguration != null)
137+
if (Configuration != null)
138138
{
139-
hashCode = (hashCode * 59) + VarConfiguration.GetHashCode();
139+
hashCode = (hashCode * 59) + Configuration.GetHashCode();
140140
}
141141
return hashCode;
142142
}

clients/algoliasearch-client-csharp/algoliasearch/Models/Ingestion/SourceUpdateDocker.cs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public SourceUpdateDocker() { }
3030
/// <summary>
3131
/// Initializes a new instance of the SourceUpdateDocker class.
3232
/// </summary>
33-
/// <param name="varConfiguration">Configuration of the spec. (required).</param>
34-
public SourceUpdateDocker(object varConfiguration)
33+
/// <param name="configuration">Configuration of the spec. (required).</param>
34+
public SourceUpdateDocker(object configuration)
3535
{
36-
VarConfiguration = varConfiguration ?? throw new ArgumentNullException(nameof(varConfiguration));
36+
Configuration = configuration ?? throw new ArgumentNullException(nameof(configuration));
3737
}
3838

3939
/// <summary>
@@ -55,7 +55,7 @@ public SourceUpdateDocker(object varConfiguration)
5555
/// </summary>
5656
/// <value>Configuration of the spec.</value>
5757
[JsonPropertyName("configuration")]
58-
public object VarConfiguration { get; set; }
58+
public object Configuration { get; set; }
5959

6060
/// <summary>
6161
/// Returns the string presentation of the object
@@ -68,7 +68,7 @@ public override string ToString()
6868
sb.Append(" Registry: ").Append(Registry).Append("\n");
6969
sb.Append(" Image: ").Append(Image).Append("\n");
7070
sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
71-
sb.Append(" VarConfiguration: ").Append(VarConfiguration).Append("\n");
71+
sb.Append(" Configuration: ").Append(Configuration).Append("\n");
7272
sb.Append("}\n");
7373
return sb.ToString();
7474
}
@@ -98,7 +98,7 @@ public override bool Equals(object obj)
9898
(Registry == input.Registry || Registry.Equals(input.Registry)) &&
9999
(Image == input.Image || (Image != null && Image.Equals(input.Image))) &&
100100
(VarVersion == input.VarVersion || (VarVersion != null && VarVersion.Equals(input.VarVersion))) &&
101-
(VarConfiguration == input.VarConfiguration || (VarConfiguration != null && VarConfiguration.Equals(input.VarConfiguration)));
101+
(Configuration == input.Configuration || (Configuration != null && Configuration.Equals(input.Configuration)));
102102
}
103103

104104
/// <summary>
@@ -119,9 +119,9 @@ public override int GetHashCode()
119119
{
120120
hashCode = (hashCode * 59) + VarVersion.GetHashCode();
121121
}
122-
if (VarConfiguration != null)
122+
if (Configuration != null)
123123
{
124-
hashCode = (hashCode * 59) + VarConfiguration.GetHashCode();
124+
hashCode = (hashCode * 59) + Configuration.GetHashCode();
125125
}
126126
return hashCode;
127127
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ namespace Algolia.Search.Models.QuerySuggestions;
1414
/// <summary>
1515
/// Query Suggestions configuration.
1616
/// </summary>
17-
public partial class QuerySuggestionsConfiguration
17+
public partial class Configuration
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the QuerySuggestionsConfiguration class.
20+
/// Initializes a new instance of the Configuration class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public QuerySuggestionsConfiguration() { }
23+
public Configuration() { }
2424
/// <summary>
25-
/// Initializes a new instance of the QuerySuggestionsConfiguration class.
25+
/// Initializes a new instance of the Configuration class.
2626
/// </summary>
2727
/// <param name="sourceIndices">Algolia indices from which to get the popular searches for query suggestions. (required).</param>
28-
public QuerySuggestionsConfiguration(List<SourceIndex> sourceIndices)
28+
public Configuration(List<SourceIndex> sourceIndices)
2929
{
3030
SourceIndices = sourceIndices ?? throw new ArgumentNullException(nameof(sourceIndices));
3131
}
@@ -70,7 +70,7 @@ public QuerySuggestionsConfiguration(List<SourceIndex> sourceIndices)
7070
public override string ToString()
7171
{
7272
StringBuilder sb = new StringBuilder();
73-
sb.Append("class QuerySuggestionsConfiguration {\n");
73+
sb.Append("class Configuration {\n");
7474
sb.Append(" SourceIndices: ").Append(SourceIndices).Append("\n");
7575
sb.Append(" Languages: ").Append(Languages).Append("\n");
7676
sb.Append(" Exclude: ").Append(Exclude).Append("\n");
@@ -96,7 +96,7 @@ public virtual string ToJson()
9696
/// <returns>Boolean</returns>
9797
public override bool Equals(object obj)
9898
{
99-
if (obj is not QuerySuggestionsConfiguration input)
99+
if (obj is not Configuration input)
100100
{
101101
return false;
102102
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,15 @@ namespace Algolia.Search.Models.QuerySuggestions;
1414
/// <summary>
1515
/// API response for retrieving Query Suggestions configurations.
1616
/// </summary>
17-
public partial class QuerySuggestionsConfigurationResponse
17+
public partial class ConfigurationResponse
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the QuerySuggestionsConfigurationResponse class.
20+
/// Initializes a new instance of the ConfigurationResponse class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public QuerySuggestionsConfigurationResponse() { }
23+
public ConfigurationResponse() { }
2424
/// <summary>
25-
/// Initializes a new instance of the QuerySuggestionsConfigurationResponse class.
25+
/// Initializes a new instance of the ConfigurationResponse class.
2626
/// </summary>
2727
/// <param name="appID">Algolia application ID to which this Query Suggestions configuration belongs. (required).</param>
2828
/// <param name="indexName">Name of the Query Suggestions index (case-sensitive). (required).</param>
@@ -31,7 +31,7 @@ public QuerySuggestionsConfigurationResponse() { }
3131
/// <param name="exclude">exclude (required).</param>
3232
/// <param name="enablePersonalization">Whether to turn on personalized query suggestions. (required) (default to false).</param>
3333
/// <param name="allowSpecialCharacters">Whether to include suggestions with special characters. (required) (default to false).</param>
34-
public QuerySuggestionsConfigurationResponse(string appID, string indexName, List<SourceIndex> sourceIndices, Languages languages, List<string> exclude, bool enablePersonalization, bool allowSpecialCharacters)
34+
public ConfigurationResponse(string appID, string indexName, List<SourceIndex> sourceIndices, Languages languages, List<string> exclude, bool enablePersonalization, bool allowSpecialCharacters)
3535
{
3636
AppID = appID ?? throw new ArgumentNullException(nameof(appID));
3737
IndexName = indexName ?? throw new ArgumentNullException(nameof(indexName));
@@ -96,7 +96,7 @@ public QuerySuggestionsConfigurationResponse(string appID, string indexName, Lis
9696
public override string ToString()
9797
{
9898
StringBuilder sb = new StringBuilder();
99-
sb.Append("class QuerySuggestionsConfigurationResponse {\n");
99+
sb.Append("class ConfigurationResponse {\n");
100100
sb.Append(" AppID: ").Append(AppID).Append("\n");
101101
sb.Append(" IndexName: ").Append(IndexName).Append("\n");
102102
sb.Append(" SourceIndices: ").Append(SourceIndices).Append("\n");
@@ -124,7 +124,7 @@ public virtual string ToJson()
124124
/// <returns>Boolean</returns>
125125
public override bool Equals(object obj)
126126
{
127-
if (obj is not QuerySuggestionsConfigurationResponse input)
127+
if (obj is not ConfigurationResponse input)
128128
{
129129
return false;
130130
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ namespace Algolia.Search.Models.QuerySuggestions;
1414
/// <summary>
1515
/// Query Suggestions configuration.
1616
/// </summary>
17-
public partial class QuerySuggestionsConfigurationWithIndex
17+
public partial class ConfigurationWithIndex
1818
{
1919
/// <summary>
20-
/// Initializes a new instance of the QuerySuggestionsConfigurationWithIndex class.
20+
/// Initializes a new instance of the ConfigurationWithIndex class.
2121
/// </summary>
2222
[JsonConstructor]
23-
public QuerySuggestionsConfigurationWithIndex() { }
23+
public ConfigurationWithIndex() { }
2424
/// <summary>
25-
/// Initializes a new instance of the QuerySuggestionsConfigurationWithIndex class.
25+
/// Initializes a new instance of the ConfigurationWithIndex class.
2626
/// </summary>
2727
/// <param name="sourceIndices">Algolia indices from which to get the popular searches for query suggestions. (required).</param>
2828
/// <param name="indexName">Name of the Query Suggestions index (case-sensitive). (required).</param>
29-
public QuerySuggestionsConfigurationWithIndex(List<SourceIndex> sourceIndices, string indexName)
29+
public ConfigurationWithIndex(List<SourceIndex> sourceIndices, string indexName)
3030
{
3131
SourceIndices = sourceIndices ?? throw new ArgumentNullException(nameof(sourceIndices));
3232
IndexName = indexName ?? throw new ArgumentNullException(nameof(indexName));
@@ -79,7 +79,7 @@ public QuerySuggestionsConfigurationWithIndex(List<SourceIndex> sourceIndices, s
7979
public override string ToString()
8080
{
8181
StringBuilder sb = new StringBuilder();
82-
sb.Append("class QuerySuggestionsConfigurationWithIndex {\n");
82+
sb.Append("class ConfigurationWithIndex {\n");
8383
sb.Append(" SourceIndices: ").Append(SourceIndices).Append("\n");
8484
sb.Append(" Languages: ").Append(Languages).Append("\n");
8585
sb.Append(" Exclude: ").Append(Exclude).Append("\n");
@@ -106,7 +106,7 @@ public virtual string ToJson()
106106
/// <returns>Boolean</returns>
107107
public override bool Equals(object obj)
108108
{
109-
if (obj is not QuerySuggestionsConfigurationWithIndex input)
109+
if (obj is not ConfigurationWithIndex input)
110110
{
111111
return false;
112112
}

clients/algoliasearch-client-go/algolia/abtesting/client.go

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

clients/algoliasearch-client-go/algolia/abtesting/configuration.go

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

clients/algoliasearch-client-go/algolia/analytics/client.go

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

clients/algoliasearch-client-go/algolia/analytics/configuration.go

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

0 commit comments

Comments
 (0)