Class: Temporalio::Client::Schedule::List::State

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

Overview

State of a listed schedule.

Instance Attribute Summary collapse

Instance Attribute Details

#noteString?

Returns Human readable message for the schedule. The system may overwrite this value on certain conditions like pause-on-failure.

Returns:

  • (String, nil)

    Human readable message for the schedule. The system may overwrite this value on certain conditions like pause-on-failure.



977
978
979
980
981
982
983
984
985
986
987
# File 'lib/temporalio/client/schedule.rb', line 977

class State
  # @!visibility private
  def initialize(raw_info:)
    # steep:ignore:start
    super(
      note: Internal::ProtoUtils.string_or(raw_info.notes),
      paused: raw_info.paused
    )
    # steep:ignore:end
  end
end

#pausedBoolean

Returns Whether the schedule is paused.

Returns:

  • (Boolean)

    Whether the schedule is paused.



977
978
979
980
981
982
983
984
985
986
987
# File 'lib/temporalio/client/schedule.rb', line 977

class State
  # @!visibility private
  def initialize(raw_info:)
    # steep:ignore:start
    super(
      note: Internal::ProtoUtils.string_or(raw_info.notes),
      paused: raw_info.paused
    )
    # steep:ignore:end
  end
end