Method: Daily::RecordingStartedPayload#==

Defined in:
lib/daily-ruby/models/recording_started_payload.rb

#==(o) ⇒ Object

Checks equality by comparing each attribute.

Parameters:

  • Object (Object)

    to be compared



162
163
164
165
166
167
168
169
170
171
# File 'lib/daily-ruby/models/recording_started_payload.rb', line 162

def ==(o)
  return true if self.equal?(o)
  self.class == o.class &&
      recording_id == o.recording_id &&
      action == o.action &&
      layout == o.layout &&
      started_by == o.started_by &&
      instance_id == o.instance_id &&
      start_ts == o.start_ts
end