Class: Kombo::Models::Shared::GetToolsCategoryPositiveResponseWriteAction

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

Overview

List of supported write actions for this tool.

Instance Method Summary collapse

Methods included from Crystalline::MetadataFields

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

Constructor Details

#initialize(id:, label:, coverage_status:, fields_:) ⇒ GetToolsCategoryPositiveResponseWriteAction

Returns a new instance of GetToolsCategoryPositiveResponseWriteAction.



30
31
32
33
34
35
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_write_action.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_write_action.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