Class: StackOne::Models::Shared::ScreeningResult
- Inherits:
-
Object
- Object
- StackOne::Models::Shared::ScreeningResult
- Extended by:
- T::Sig
- Includes:
- Crystalline::MetadataFields
- Defined in:
- lib/stack_one/models/shared/screeningresult.rb
Instance Method Summary collapse
- #==(other) ⇒ Object
-
#initialize(id: nil, order_id: nil, remote_id: nil, result_url: nil, score: nil, start_date: nil, status: nil, submission_date: nil, summary: nil, unified_custom_fields: nil) ⇒ ScreeningResult
constructor
A new instance of ScreeningResult.
Methods included from Crystalline::MetadataFields
#field, #fields, included, #marshal_single, #to_dict, #to_json
Constructor Details
#initialize(id: nil, order_id: nil, remote_id: nil, result_url: nil, score: nil, start_date: nil, status: nil, submission_date: nil, summary: nil, unified_custom_fields: nil) ⇒ ScreeningResult
Returns a new instance of ScreeningResult.
37 38 39 40 41 42 43 44 45 46 47 48 |
# File 'lib/stack_one/models/shared/screeningresult.rb', line 37 def initialize(id: nil, order_id: nil, remote_id: nil, result_url: nil, score: nil, start_date: nil, status: nil, submission_date: nil, summary: nil, unified_custom_fields: nil) @id = id @order_id = order_id @remote_id = remote_id @result_url = result_url @score = score @start_date = start_date @status = status @submission_date = submission_date @summary = summary @unified_custom_fields = unified_custom_fields end |
Instance Method Details
#==(other) ⇒ Object
51 52 53 54 55 56 57 58 59 60 61 62 63 64 |
# File 'lib/stack_one/models/shared/screeningresult.rb', line 51 def ==(other) return false unless other.is_a? self.class return false unless @id == other.id return false unless @order_id == other.order_id return false unless @remote_id == other.remote_id return false unless @result_url == other.result_url return false unless @score == other.score return false unless @start_date == other.start_date return false unless @status == other.status return false unless @submission_date == other.submission_date return false unless @summary == other.summary return false unless @unified_custom_fields == other.unified_custom_fields true end |