Class: Temporalio::Client::Schedule::Description

Inherits:
Data
  • Object
show all
Defined in:
lib/temporalio/client/schedule.rb,
lib/temporalio/client/schedule.rb

Overview

Description of a schedule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idString

Returns ID of the schedule.

Returns:

  • (String)

    ID of the schedule.



59
60
61
# File 'lib/temporalio/client/schedule.rb', line 59

def id
  @id
end

#infoSchedule::Info

Returns Information about the schedule.

Returns:



59
60
61
# File 'lib/temporalio/client/schedule.rb', line 59

def info
  @info
end

#raw_descriptionApi::WorkflowService::V1::DescribeScheduleResponse

Returns Raw description of the schedule.

Returns:



59
60
61
# File 'lib/temporalio/client/schedule.rb', line 59

def raw_description
  @raw_description
end

#scheduleSchedule

Returns Schedule details.

Returns:



59
60
61
# File 'lib/temporalio/client/schedule.rb', line 59

def schedule
  @schedule
end

Instance Method Details

#memoHash<String, Object>?

Returns Memo for the schedule, converted lazily on first call.

Returns:

  • (Hash<String, Object>, nil)

    Memo for the schedule, converted lazily on first call.



92
93
94
# File 'lib/temporalio/client/schedule.rb', line 92

def memo
  @memo.get
end

#search_attributesSearchAttributes?

Returns Search attributes for the schedule, converted lazily on first call.

Returns:

  • (SearchAttributes, nil)

    Search attributes for the schedule, converted lazily on first call.



97
98
99
# File 'lib/temporalio/client/schedule.rb', line 97

def search_attributes
  @search_attributes.get
end