Class: Kombo::Models::Shared::IntegrationStateChangedWebhookPayloadData

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(integration_tool:, integration_id:, integration_category:, end_user:, qa_status:, setup_status:, state:, updated_at:) ⇒ IntegrationStateChangedWebhookPayloadData

Returns a new instance of IntegrationStateChangedWebhookPayloadData.



33
34
35
36
37
38
39
40
41
42
# File 'lib/kombo/models/shared/integrationstatechangedwebhookpayload_data.rb', line 33

def initialize(integration_tool:, integration_id:, integration_category:, end_user:, qa_status:, setup_status:, state:, updated_at:)
  @integration_tool = integration_tool
  @integration_id = integration_id
  @integration_category = integration_category
  @end_user = end_user
  @qa_status = qa_status
  @setup_status = setup_status
  @state = state
  @updated_at = updated_at
end

Instance Method Details

#==(other) ⇒ Object



45
46
47
48
49
50
51
52
53
54
55
56
# File 'lib/kombo/models/shared/integrationstatechangedwebhookpayload_data.rb', line 45

def ==(other)
  return false unless other.is_a? self.class
  return false unless @integration_tool == other.integration_tool
  return false unless @integration_id == other.integration_id
  return false unless @integration_category == other.integration_category
  return false unless @end_user == other.end_user
  return false unless @qa_status == other.qa_status
  return false unless @setup_status == other.setup_status
  return false unless @state == other.state
  return false unless @updated_at == other.updated_at
  true
end