Class: Assistant::TechnicalSupport::CaseCandidateSelector::Selection
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::CaseCandidateSelector::Selection
- Defined in:
- app/services/assistant/technical_support/case_candidate_selector.rb
Overview
Single selected case with its audit metadata.
Instance Attribute Summary collapse
-
#case_number ⇒ Object
readonly
Returns the value of attribute case_number.
-
#closed_reason ⇒ Object
readonly
Returns the value of attribute closed_reason.
-
#evidence_chars ⇒ Object
readonly
Returns the value of attribute evidence_chars.
-
#evidence_events ⇒ Object
readonly
Returns the value of attribute evidence_events.
-
#product_family ⇒ Object
readonly
Returns the value of attribute product_family.
-
#selection_score ⇒ Object
readonly
Returns the value of attribute selection_score.
-
#semantic_distance ⇒ Object
readonly
Returns the value of attribute semantic_distance.
-
#support_case_id ⇒ Object
readonly
Returns the value of attribute support_case_id.
Instance Method Summary collapse
Constructor Details
#initialize(support_case_id: nil, case_number: nil, product_family: nil, closed_reason: nil, evidence_events: 0, evidence_chars: 0, semantic_distance: nil, selection_score: nil) ⇒ Selection
58 59 60 61 62 63 64 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 58 def initialize( support_case_id: nil, case_number: nil, product_family: nil, closed_reason: nil, evidence_events: 0, evidence_chars: 0, semantic_distance: nil, selection_score: nil ) super end |
Instance Attribute Details
#case_number ⇒ Object (readonly)
Returns the value of attribute case_number
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def case_number @case_number end |
#closed_reason ⇒ Object (readonly)
Returns the value of attribute closed_reason
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def closed_reason @closed_reason end |
#evidence_chars ⇒ Object (readonly)
Returns the value of attribute evidence_chars
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def evidence_chars @evidence_chars end |
#evidence_events ⇒ Object (readonly)
Returns the value of attribute evidence_events
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def evidence_events @evidence_events end |
#product_family ⇒ Object (readonly)
Returns the value of attribute product_family
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def product_family @product_family end |
#selection_score ⇒ Object (readonly)
Returns the value of attribute selection_score
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def selection_score @selection_score end |
#semantic_distance ⇒ Object (readonly)
Returns the value of attribute semantic_distance
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def semantic_distance @semantic_distance end |
#support_case_id ⇒ Object (readonly)
Returns the value of attribute support_case_id
39 40 41 |
# File 'app/services/assistant/technical_support/case_candidate_selector.rb', line 39 def support_case_id @support_case_id end |