Class: Kombo::Models::Shared::IntegrationDeletedWebhookPayloadData

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/integrationdeletedwebhookpayload_data.rb

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

#field, #fields, included, #marshal_single, #to_dict, #to_json

Constructor Details

#initialize(id:, tool:, category:, end_user:, deleted_at:) ⇒ IntegrationDeletedWebhookPayloadData

Returns a new instance of IntegrationDeletedWebhookPayloadData.



27
28
29
30
31
32
33
# File 'lib/kombo/models/shared/integrationdeletedwebhookpayload_data.rb', line 27

def initialize(id:, tool:, category:, end_user:, deleted_at:)
  @id = id
  @tool = tool
  @category = category
  @end_user = end_user
  @deleted_at = deleted_at
end

Instance Method Details

#==(other) ⇒ Object



36
37
38
39
40
41
42
43
44
# File 'lib/kombo/models/shared/integrationdeletedwebhookpayload_data.rb', line 36

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @tool == other.tool
  return false unless @category == other.category
  return false unless @end_user == other.end_user
  return false unless @deleted_at == other.deleted_at
  true
end