Class: Kombo::Models::Shared::GetIntegrationsIntegrationIdPositiveResponseTool

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, label:, logo_url:, icon_url:, internal_label: nil) ⇒ GetIntegrationsIntegrationIdPositiveResponseTool

Returns a new instance of GetIntegrationsIntegrationIdPositiveResponseTool.



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

def initialize(id:, label:, logo_url:, icon_url:, internal_label: nil)
  @id = id
  @label = label
  @logo_url = logo_url
  @icon_url = icon_url
  @internal_label = internal_label
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @label == other.label
  return false unless @logo_url == other.logo_url
  return false unless @icon_url == other.icon_url
  return false unless @internal_label == other.internal_label
  true
end