Skip to content

Commit

Permalink
fix(specs): remove from ingestion specs [skip-bc] (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3981

Co-authored-by: algolia-bot <[email protected]>
Co-authored-by: Clément Vannicatte <[email protected]>
  • Loading branch information
algolia-bot and shortcuts committed Oct 17, 2024
1 parent e17eaa0 commit c7a1b96
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions lib/algolia/models/ingestion/event.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ class Event
# Universally unique identifier (UUID) of a task run.
attr_accessor :run_id

# The parent event, the cause of this event.
attr_accessor :parent_id

attr_accessor :status

attr_accessor :type
Expand All @@ -33,7 +30,6 @@ def self.attribute_map
{
:event_id => :eventID,
:run_id => :runID,
:parent_id => :parentID,
:status => :status,
:type => :type,
:batch_size => :batchSize,
Expand All @@ -52,7 +48,6 @@ def self.types_mapping
{
:event_id => :"String",
:run_id => :"String",
:parent_id => :"String",
:status => :"EventStatus",
:type => :"EventType",
:batch_size => :"Integer",
Expand Down Expand Up @@ -100,10 +95,6 @@ def initialize(attributes = {})
self.run_id = nil
end

if attributes.key?(:parent_id)
self.parent_id = attributes[:parent_id]
end

if attributes.key?(:status)
self.status = attributes[:status]
else
Expand Down Expand Up @@ -142,7 +133,6 @@ def ==(other)
self.class == other.class &&
event_id == other.event_id &&
run_id == other.run_id &&
parent_id == other.parent_id &&
status == other.status &&
type == other.type &&
batch_size == other.batch_size &&
Expand All @@ -159,7 +149,7 @@ def eql?(other)
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
[event_id, run_id, parent_id, status, type, batch_size, data, published_at].hash
[event_id, run_id, status, type, batch_size, data, published_at].hash
end

# Builds the object from hash
Expand Down

0 comments on commit c7a1b96

Please sign in to comment.