Class: Kombo::Models::Shared::GetToolsCategoryPositiveResponseReadModelField

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Includes:
Crystalline::MetadataFields
Defined in:
lib/kombo/models/shared/gettoolscategorypositiveresponse_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:, coverage_status:) ⇒ GetToolsCategoryPositiveResponseReadModelField

Returns a new instance of GetToolsCategoryPositiveResponseReadModelField.



26
27
28
29
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_read_model_field.rb', line 26

def initialize(id:, coverage_status:)
  @id = id
  @coverage_status = coverage_status
end

Instance Method Details

#==(other) ⇒ Object



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

def ==(other)
  return false unless other.is_a? self.class
  return false unless @id == other.id
  return false unless @coverage_status == other.coverage_status
  true
end