Class: Assistant::TechnicalSupport::CaseEventStream::Event
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::CaseEventStream::Event
- Defined in:
- app/services/assistant/technical_support/case_event_stream.rb
Instance Attribute Summary collapse
-
#actor_role ⇒ Object
readonly
Returns the value of attribute actor_role.
-
#direction ⇒ Object
readonly
Returns the value of attribute direction.
-
#key ⇒ Object
readonly
Returns the value of attribute key.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#occurred_at ⇒ Object
readonly
Returns the value of attribute occurred_at.
-
#source_id ⇒ Object
readonly
Returns the value of attribute source_id.
-
#source_type ⇒ Object
readonly
Returns the value of attribute source_type.
-
#status ⇒ Object
readonly
Returns the value of attribute status.
-
#text ⇒ Object
readonly
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(key:, source_type:, source_id:, occurred_at:, text:, kind: nil, actor_role: nil, direction: nil, status: nil) ⇒ Event
constructor
A new instance of Event.
Constructor Details
#initialize(key:, source_type:, source_id:, occurred_at:, text:, kind: nil, actor_role: nil, direction: nil, status: nil) ⇒ Event
Returns a new instance of Event.
31 32 33 34 35 36 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 31 def initialize( key:, source_type:, source_id:, occurred_at:, text:, kind: nil, actor_role: nil, direction: nil, status: nil ) super end |
Instance Attribute Details
#actor_role ⇒ Object (readonly)
Returns the value of attribute actor_role
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def actor_role @actor_role end |
#direction ⇒ Object (readonly)
Returns the value of attribute direction
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def direction @direction end |
#key ⇒ Object (readonly)
Returns the value of attribute key
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def key @key end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def kind @kind end |
#occurred_at ⇒ Object (readonly)
Returns the value of attribute occurred_at
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def occurred_at @occurred_at end |
#source_id ⇒ Object (readonly)
Returns the value of attribute source_id
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def source_id @source_id end |
#source_type ⇒ Object (readonly)
Returns the value of attribute source_type
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def source_type @source_type end |
#status ⇒ Object (readonly)
Returns the value of attribute status
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def status @status end |
#text ⇒ Object (readonly)
Returns the value of attribute text
20 21 22 |
# File 'app/services/assistant/technical_support/case_event_stream.rb', line 20 def text @text end |