Class: Temporalio::Client::Schedule::Update
- Inherits:
-
Data
- Object
- Data
- Temporalio::Client::Schedule::Update
- Defined in:
- lib/temporalio/client/schedule.rb,
lib/temporalio/client/schedule.rb
Overview
Result of an update callback for Temporalio::Client::ScheduleHandle#update.
Defined Under Namespace
Classes: Input
Instance Attribute Summary collapse
-
#description ⇒ Description
Current description of the schedule.
-
#schedule ⇒ Schedule
Schedule to update.
-
#search_attributes ⇒ SearchAttributes?
Search attributes to update to.
Instance Method Summary collapse
-
#initialize(schedule:, search_attributes: nil) ⇒ Update
constructor
Create an update callback result.
Constructor Details
#initialize(schedule:, search_attributes: nil) ⇒ Update
Create an update callback result.
854 855 856 |
# File 'lib/temporalio/client/schedule.rb', line 854 def initialize(schedule:, search_attributes: nil) super end |
Instance Attribute Details
#description ⇒ Description
Returns Current description of the schedule.
862 863 864 |
# File 'lib/temporalio/client/schedule.rb', line 862 Input = Data.define( # rubocop:disable Layout/ClassStructure :description ) |
#schedule ⇒ Schedule
Returns Schedule to update.
849 850 851 |
# File 'lib/temporalio/client/schedule.rb', line 849 def schedule @schedule end |
#search_attributes ⇒ SearchAttributes?
Returns Search attributes to update to.
849 850 851 |
# File 'lib/temporalio/client/schedule.rb', line 849 def search_attributes @search_attributes end |