Skip to content

Commit 2c36329

Browse files
algolia-botFluf22
andcommitted
fix(specs): clean up abTest schema on listIndices response (generated)
algolia/api-clients-automation#6448 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent c07b524 commit 2c36329

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

algoliasearch/Models/Search/FetchedIndexAbTest.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,6 @@ public FetchedIndexAbTest(int id, List<FetchedIndexAbTestVariant> variants)
4040
[JsonPropertyName("id")]
4141
public int Id { get; set; }
4242

43-
/// <summary>
44-
/// Whether the A/B test is a dark test (server-side measured, not user-facing). Only present when true.
45-
/// </summary>
46-
/// <value>Whether the A/B test is a dark test (server-side measured, not user-facing). Only present when true.</value>
47-
[JsonPropertyName("isDark")]
48-
public bool? IsDark { get; set; }
49-
5043
/// <summary>
5144
/// A/B test schema version. Only present for v2 and later tests.
5245
/// </summary>
@@ -83,7 +76,6 @@ public override string ToString()
8376
StringBuilder sb = new StringBuilder();
8477
sb.Append("class FetchedIndexAbTest {\n");
8578
sb.Append(" Id: ").Append(Id).Append("\n");
86-
sb.Append(" IsDark: ").Append(IsDark).Append("\n");
8779
sb.Append(" VarVersion: ").Append(VarVersion).Append("\n");
8880
sb.Append(" Type: ").Append(Type).Append("\n");
8981
sb.Append(" Target: ").Append(Target).Append("\n");
@@ -114,7 +106,6 @@ public override bool Equals(object obj)
114106
}
115107

116108
return (Id == input.Id || Id.Equals(input.Id))
117-
&& (IsDark == input.IsDark || IsDark.Equals(input.IsDark))
118109
&& (VarVersion == input.VarVersion || VarVersion.Equals(input.VarVersion))
119110
&& (Type == input.Type || (Type != null && Type.Equals(input.Type)))
120111
&& (Target == input.Target || (Target != null && Target.Equals(input.Target)))
@@ -134,7 +125,6 @@ public override int GetHashCode()
134125
{
135126
int hashCode = 41;
136127
hashCode = (hashCode * 59) + Id.GetHashCode();
137-
hashCode = (hashCode * 59) + IsDark.GetHashCode();
138128
hashCode = (hashCode * 59) + VarVersion.GetHashCode();
139129
if (Type != null)
140130
{

0 commit comments

Comments
 (0)