Class: StackOne::Models::Shared::ActionSearchResponseDto
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ActionSearchResponseDto
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/actionsearchresponsedto.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(query:, results:, total_count:, connector_filter: nil, project_filter: nil) ⇒ ActionSearchResponseDto
constructor
A new instance of ActionSearchResponseDto.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(query:, results:, total_count:, connector_filter: nil, project_filter: nil) ⇒ ActionSearchResponseDto
Returns a new instance of ActionSearchResponseDto.
27 28 29 30 31 32 33 |
# File 'lib/stack_one/models/shared/actionsearchresponsedto.rb', line 27 def initialize(query:, results:, total_count:, connector_filter: nil, project_filter: nil) @query = query @results = results @total_count = total_count @connector_filter = connector_filter @project_filter = project_filter end |
Instance Method Details
#==(other) ⇒ Object
36 37 38 39 40 41 42 43 44 |
# File 'lib/stack_one/models/shared/actionsearchresponsedto.rb', line 36 def ==(other) return false unless other.is_a? self.class return false unless @query == other.query return false unless @results == other.results return false unless @total_count == other.total_count return false unless @connector_filter == other.connector_filter return false unless @project_filter == other.project_filter true end |