Class: Kombo::Models::Shared::IntegrationCreatedWebhookPayloadEndUser

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

Overview

Information about the end user who created the integration.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(organization_name:, creator_email: nil, origin_id: nil) ⇒ IntegrationCreatedWebhookPayloadEndUser

Returns a new instance of IntegrationCreatedWebhookPayloadEndUser.



23
24
25
26
27
# File 'lib/kombo/models/shared/integrationcreatedwebhookpayload_end_user.rb', line 23

def initialize(organization_name:, creator_email: nil, origin_id: nil)
  @organization_name = organization_name
  @creator_email = creator_email
  @origin_id = origin_id
end

Instance Method Details

#==(other) ⇒ Object



30
31
32
33
34
35
36
# File 'lib/kombo/models/shared/integrationcreatedwebhookpayload_end_user.rb', line 30

def ==(other)
  return false unless other.is_a? self.class
  return false unless @organization_name == other.organization_name
  return false unless @creator_email == other.creator_email
  return false unless @origin_id == other.origin_id
  true
end