Class: Kombo::Models::Shared::GetIntegrationsIntegrationIdPositiveResponseWriteAction

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, label:, is_available:, coverage_status:, scope_config_setting:, opted_out_by_customer:, fields_:) ⇒ GetIntegrationsIntegrationIdPositiveResponseWriteAction

Returns a new instance of GetIntegrationsIntegrationIdPositiveResponseWriteAction.



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

def initialize(id:, label:, is_available:, coverage_status:, scope_config_setting:, opted_out_by_customer:, fields_:)
  @id = id
  @label = label
  @is_available = is_available
  @coverage_status = coverage_status
  @scope_config_setting = scope_config_setting
  @opted_out_by_customer = opted_out_by_customer
  @fields_ = fields_
end

Instance Method Details

#==(other) ⇒ Object



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

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 @is_available == other.is_available
  return false unless @coverage_status == other.coverage_status
  return false unless @scope_config_setting == other.scope_config_setting
  return false unless @opted_out_by_customer == other.opted_out_by_customer
  return false unless @fields_ == other.fields_
  true
end