Class: Kombo::Models::Shared::GetToolsCategoryPositiveResponseReadModel
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetToolsCategoryPositiveResponseReadModel
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/gettoolscategorypositiveresponse_read_model.rb
Overview
List of models we can read for this tool.
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, label:, coverage_status:, fields_:) ⇒ GetToolsCategoryPositiveResponseReadModel
constructor
A new instance of GetToolsCategoryPositiveResponseReadModel.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, label:, coverage_status:, fields_:) ⇒ GetToolsCategoryPositiveResponseReadModel
Returns a new instance of GetToolsCategoryPositiveResponseReadModel.
30 31 32 33 34 35 |
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_read_model.rb', line 30 def initialize(id:, label:, coverage_status:, fields_:) @id = id @label = label @coverage_status = coverage_status @fields_ = fields_ end |
Instance Method Details
#==(other) ⇒ Object
38 39 40 41 42 43 44 45 |
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_read_model.rb', line 38 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 @coverage_status == other.coverage_status return false unless @fields_ == other.fields_ true end |