Class: Kombo::Models::Shared::GetToolsCategoryPositiveResponseTool
- Inherits:
-
Object
- Object
- Kombo::Models::Shared::GetToolsCategoryPositiveResponseTool
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/kombo/models/shared/gettoolscategorypositiveresponse_tool.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id:, label:, assets:, coverage:, internal_label: nil, paid_api_details_markdown: nil, fast_track_details_markdown: nil, partner_only_details_markdown: nil, connection_guide_url: nil) ⇒ GetToolsCategoryPositiveResponseTool
constructor
A new instance of GetToolsCategoryPositiveResponseTool.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id:, label:, assets:, coverage:, internal_label: nil, paid_api_details_markdown: nil, fast_track_details_markdown: nil, partner_only_details_markdown: nil, connection_guide_url: nil) ⇒ GetToolsCategoryPositiveResponseTool
Returns a new instance of GetToolsCategoryPositiveResponseTool.
35 36 37 38 39 40 41 42 43 44 45 |
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_tool.rb', line 35 def initialize(id:, label:, assets:, coverage:, internal_label: nil, paid_api_details_markdown: nil, fast_track_details_markdown: nil, partner_only_details_markdown: nil, connection_guide_url: nil) @id = id @label = label @assets = assets @coverage = coverage @internal_label = internal_label @paid_api_details_markdown = paid_api_details_markdown @fast_track_details_markdown = fast_track_details_markdown @partner_only_details_markdown = partner_only_details_markdown @connection_guide_url = connection_guide_url end |
Instance Method Details
#==(other) ⇒ Object
48 49 50 51 52 53 54 55 56 57 58 59 60 |
# File 'lib/kombo/models/shared/gettoolscategorypositiveresponse_tool.rb', line 48 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 @assets == other.assets return false unless @coverage == other.coverage return false unless @internal_label == other.internal_label return false unless @paid_api_details_markdown == other.paid_api_details_markdown return false unless @fast_track_details_markdown == other.fast_track_details_markdown return false unless @partner_only_details_markdown == other.partner_only_details_markdown return false unless @connection_guide_url == other.connection_guide_url true end |