Skip to content

Commit 650c867

Browse files
fix(specs): remove from ingestion specs [skip-bc] (generated)
algolia/api-clients-automation#3981 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Clément Vannicatte <[email protected]>
1 parent 9e7f0f1 commit 650c867

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

algoliasearch/Models/Ingestion/Event.cs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,6 @@ public Event(string eventID, string runID, EventStatus? status, EventType? type,
6666
[JsonPropertyName("runID")]
6767
public string RunID { get; set; }
6868

69-
/// <summary>
70-
/// The parent event, the cause of this event.
71-
/// </summary>
72-
/// <value>The parent event, the cause of this event.</value>
73-
[JsonPropertyName("parentID")]
74-
public string ParentID { get; set; }
75-
7669
/// <summary>
7770
/// The extracted record batch size.
7871
/// </summary>
@@ -103,7 +96,6 @@ public override string ToString()
10396
sb.Append("class Event {\n");
10497
sb.Append(" EventID: ").Append(EventID).Append("\n");
10598
sb.Append(" RunID: ").Append(RunID).Append("\n");
106-
sb.Append(" ParentID: ").Append(ParentID).Append("\n");
10799
sb.Append(" Status: ").Append(Status).Append("\n");
108100
sb.Append(" Type: ").Append(Type).Append("\n");
109101
sb.Append(" BatchSize: ").Append(BatchSize).Append("\n");
@@ -137,7 +129,6 @@ public override bool Equals(object obj)
137129
return
138130
(EventID == input.EventID || (EventID != null && EventID.Equals(input.EventID))) &&
139131
(RunID == input.RunID || (RunID != null && RunID.Equals(input.RunID))) &&
140-
(ParentID == input.ParentID || (ParentID != null && ParentID.Equals(input.ParentID))) &&
141132
(Status == input.Status || Status.Equals(input.Status)) &&
142133
(Type == input.Type || Type.Equals(input.Type)) &&
143134
(BatchSize == input.BatchSize || BatchSize.Equals(input.BatchSize)) &&
@@ -162,10 +153,6 @@ public override int GetHashCode()
162153
{
163154
hashCode = (hashCode * 59) + RunID.GetHashCode();
164155
}
165-
if (ParentID != null)
166-
{
167-
hashCode = (hashCode * 59) + ParentID.GetHashCode();
168-
}
169156
hashCode = (hashCode * 59) + Status.GetHashCode();
170157
hashCode = (hashCode * 59) + Type.GetHashCode();
171158
hashCode = (hashCode * 59) + BatchSize.GetHashCode();

0 commit comments

Comments
 (0)