Class: Temporalio::Converters::StorageDriverActivityInfo
- Inherits:
-
Data
- Object
- Data
- Temporalio::Converters::StorageDriverActivityInfo
- Defined in:
- lib/temporalio/converters/storage_driver_activity_info.rb,
lib/temporalio/converters/storage_driver_activity_info.rb
Overview
Note:
WARNING: This API is experimental and may change in the future.
Identity of a standalone activity a payload is being stored on behalf of.
Instance Attribute Summary collapse
-
#id ⇒ String?
readonly
Activity ID, if known.
-
#namespace ⇒ String
readonly
Activity namespace.
-
#run_id ⇒ String?
readonly
Run ID, if known.
-
#type ⇒ String?
readonly
Activity type name, if known.
Instance Method Summary collapse
-
#initialize(namespace:, id: nil, run_id: nil, type: nil) ⇒ StorageDriverActivityInfo
constructor
Create activity target information.
Constructor Details
#initialize(namespace:, id: nil, run_id: nil, type: nil) ⇒ StorageDriverActivityInfo
Create activity target information.
31 32 33 |
# File 'lib/temporalio/converters/storage_driver_activity_info.rb', line 31 def initialize(namespace:, id: nil, run_id: nil, type: nil) super end |
Instance Attribute Details
#id ⇒ String? (readonly)
Returns Activity ID, if known.
24 25 26 |
# File 'lib/temporalio/converters/storage_driver_activity_info.rb', line 24 def id @id end |
#namespace ⇒ String (readonly)
Returns Activity namespace.
24 25 26 |
# File 'lib/temporalio/converters/storage_driver_activity_info.rb', line 24 def namespace @namespace end |
#run_id ⇒ String? (readonly)
Returns Run ID, if known.
24 25 26 |
# File 'lib/temporalio/converters/storage_driver_activity_info.rb', line 24 def run_id @run_id end |
#type ⇒ String? (readonly)
Returns Activity type name, if known.
24 25 26 |
# File 'lib/temporalio/converters/storage_driver_activity_info.rb', line 24 def type @type end |