@@ -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