Class: Temporalio::Client::Schedule::Update

Inherits:
Data
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(schedule:, search_attributes: nil) ⇒ Update

Create an update callback result.



845
846
847
# File 'lib/temporalio/client/schedule.rb', line 845

def initialize(schedule:, search_attributes: nil)
  super
end

Instance Attribute Details

#descriptionDescription



853
854
855
# File 'lib/temporalio/client/schedule.rb', line 853

Input = Data.define( # rubocop:disable Layout/ClassStructure
  :description
)

#scheduleSchedule



840
841
842
# File 'lib/temporalio/client/schedule.rb', line 840

def schedule
  @schedule
end

#search_attributesSearchAttributes?



840
841
842
# File 'lib/temporalio/client/schedule.rb', line 840

def search_attributes
  @search_attributes
end