Class: Kombo::Models::Shared::GetIntegrationsIntegrationIdPositiveResponseReadModelField

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

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, is_available:, coverage_status:, scope_config_setting:, opted_out_by_customer:) ⇒ GetIntegrationsIntegrationIdPositiveResponseReadModelField

Returns a new instance of GetIntegrationsIntegrationIdPositiveResponseReadModelField.



32
33
34
35
36
37
38
# File 'lib/kombo/models/shared/getintegrationsintegrationidpositiveresponse_read_model_field.rb', line 32

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

Instance Method Details

#==(other) ⇒ Object



41
42
43
44
45
46
47
48
49
# File 'lib/kombo/models/shared/getintegrationsintegrationidpositiveresponse_read_model_field.rb', line 41

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  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
  true
end