Class: Kombo::Models::Shared::GetIntegrationsIntegrationIdPositiveResponseData

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/getintegrationsintegrationidpositiveresponse_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:, status:, setup_status:, end_user:, scope_config:, created_at:, beta:, read_models:, write_actions:, data_expired_at: nil) ⇒ GetIntegrationsIntegrationIdPositiveResponseData

Returns a new instance of GetIntegrationsIntegrationIdPositiveResponseData.



51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/kombo/models/shared/getintegrationsintegrationidpositiveresponse_data.rb', line 51

def initialize(id:, tool:, category:, status:, setup_status:, end_user:, scope_config:, created_at:, beta:, read_models:, write_actions:, data_expired_at: nil)
  @id = id
  @tool = tool
  @category = category
  @status = status
  @setup_status = setup_status
  @end_user = end_user
  @scope_config = scope_config
  @created_at = created_at
  @beta = beta
  @read_models = read_models
  @write_actions = write_actions
  @data_expired_at = data_expired_at
end

Instance Method Details

#==(other) ⇒ Object



67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
# File 'lib/kombo/models/shared/getintegrationsintegrationidpositiveresponse_data.rb', line 67

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 @status == other.status
  return false unless @setup_status == other.setup_status
  return false unless @end_user == other.end_user
  return false unless @scope_config == other.scope_config
  return false unless @created_at == other.created_at
  return false unless @beta == other.beta
  return false unless @read_models == other.read_models
  return false unless @write_actions == other.write_actions
  return false unless @data_expired_at == other.data_expired_at
  true
end