Skip to content

Commit c7a1b96

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 e17eaa0 commit c7a1b96

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

lib/algolia/models/ingestion/event.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ class Event
1313
# Universally unique identifier (UUID) of a task run.
1414
attr_accessor :run_id
1515

16-
# The parent event, the cause of this event.
17-
attr_accessor :parent_id
18-
1916
attr_accessor :status
2017

2118
attr_accessor :type
@@ -33,7 +30,6 @@ def self.attribute_map
3330
{
3431
:event_id => :eventID,
3532
:run_id => :runID,
36-
:parent_id => :parentID,
3733
:status => :status,
3834
:type => :type,
3935
:batch_size => :batchSize,
@@ -52,7 +48,6 @@ def self.types_mapping
5248
{
5349
:event_id => :"String",
5450
:run_id => :"String",
55-
:parent_id => :"String",
5651
:status => :"EventStatus",
5752
:type => :"EventType",
5853
:batch_size => :"Integer",
@@ -100,10 +95,6 @@ def initialize(attributes = {})
10095
self.run_id = nil
10196
end
10297

103-
if attributes.key?(:parent_id)
104-
self.parent_id = attributes[:parent_id]
105-
end
106-
10798
if attributes.key?(:status)
10899
self.status = attributes[:status]
109100
else
@@ -142,7 +133,6 @@ def ==(other)
142133
self.class == other.class &&
143134
event_id == other.event_id &&
144135
run_id == other.run_id &&
145-
parent_id == other.parent_id &&
146136
status == other.status &&
147137
type == other.type &&
148138
batch_size == other.batch_size &&
@@ -159,7 +149,7 @@ def eql?(other)
159149
# Calculates hash code according to all attributes.
160150
# @return [Integer] Hash code
161151
def hash
162-
[event_id, run_id, parent_id, status, type, batch_size, data, published_at].hash
152+
[event_id, run_id, status, type, batch_size, data, published_at].hash
163153
end
164154

165155
# Builds the object from hash

0 commit comments

Comments
 (0)