Class: Assistant::TechnicalSupport::CaseEventStream::EventBuilder::RawEvent
- Inherits:
-
Data
- Object
- Data
- Assistant::TechnicalSupport::CaseEventStream::EventBuilder::RawEvent
- Defined in:
- app/services/assistant/technical_support/case_event_stream/event_builder.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_prefix ⇒ Object
readonly
Returns the value of attribute key_prefix.
-
#kind ⇒ Object
readonly
Returns the value of attribute kind.
-
#occurred_at ⇒ Object
readonly
Returns the value of attribute occurred_at.
-
#sequence ⇒ Object
readonly
Returns the value of attribute sequence.
-
#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_prefix:, source_type:, source_id:, occurred_at:, kind:, text:, sequence:, actor_role: nil, direction: nil, status: nil) ⇒ RawEvent
constructor
A new instance of RawEvent.
Constructor Details
#initialize(key_prefix:, source_type:, source_id:, occurred_at:, kind:, text:, sequence:, actor_role: nil, direction: nil, status: nil) ⇒ RawEvent
Returns a new instance of RawEvent.
18 19 20 21 22 23 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 18 def initialize( key_prefix:, source_type:, source_id:, occurred_at:, kind:, text:, sequence:, actor_role: nil, direction: nil, status: nil ) super end |
Instance Attribute Details
#actor_role ⇒ Object (readonly)
Returns the value of attribute actor_role
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def actor_role @actor_role end |
#direction ⇒ Object (readonly)
Returns the value of attribute direction
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def direction @direction end |
#key_prefix ⇒ Object (readonly)
Returns the value of attribute key_prefix
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def key_prefix @key_prefix end |
#kind ⇒ Object (readonly)
Returns the value of attribute kind
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def kind @kind end |
#occurred_at ⇒ Object (readonly)
Returns the value of attribute occurred_at
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def occurred_at @occurred_at end |
#sequence ⇒ Object (readonly)
Returns the value of attribute sequence
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def sequence @sequence end |
#source_id ⇒ Object (readonly)
Returns the value of attribute source_id
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def source_id @source_id end |
#source_type ⇒ Object (readonly)
Returns the value of attribute source_type
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def source_type @source_type end |
#status ⇒ Object (readonly)
Returns the value of attribute status
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def status @status end |
#text ⇒ Object (readonly)
Returns the value of attribute text
6 7 8 |
# File 'app/services/assistant/technical_support/case_event_stream/event_builder.rb', line 6 def text @text end |