Class: Cadenya::Models::Agents::AgentScheduleInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Agents::AgentScheduleInfo
- Defined in:
- lib/cadenya/models/agents/agent_schedule_info.rb,
sig/cadenya/models/agents/agent_schedule_info.rbs
Instance Attribute Summary collapse
-
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level.
-
#last_fire_at ⇒ Time?
readonly
Returns the value of attribute last_fire_at.
-
#last_objective_id ⇒ String?
readonly
Returns the value of attribute last_objective_id.
-
#last_skip_reason ⇒ String?
readonly
Returns the value of attribute last_skip_reason.
-
#last_skipped_at ⇒ Time?
readonly
Returns the value of attribute last_skipped_at.
-
#next_fire_at ⇒ Time?
readonly
Returns the value of attribute next_fire_at.
-
#total_fires ⇒ Integer?
readonly
Returns the value of attribute total_fires.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #last_fire_at ⇒ Time readonly
- #last_objective_id ⇒ String readonly
- #last_skip_reason ⇒ String readonly
- #last_skipped_at ⇒ Time readonly
- #next_fire_at ⇒ Time readonly
- #to_hash ⇒ {
- #total_fires ⇒ Integer readonly
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ Object
46 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 46
def initialize: (
|
Instance Attribute Details
#created_by ⇒ Cadenya::Models::Profile?
A profile identifies a user or non-human principal (such as an API key) at the account level. Profiles are account-scoped and can be granted access to multiple workspaces.
13 |
# File 'lib/cadenya/models/agents/agent_schedule_info.rb', line 13 optional :created_by, -> { Cadenya::Profile }, api_name: :createdBy |
#last_fire_at ⇒ Time? (readonly)
Returns the value of attribute last_fire_at.
22 23 24 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 22 def last_fire_at @last_fire_at end |
#last_objective_id ⇒ String? (readonly)
Returns the value of attribute last_objective_id.
26 27 28 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 26 def last_objective_id @last_objective_id end |
#last_skip_reason ⇒ String? (readonly)
Returns the value of attribute last_skip_reason.
34 35 36 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 34 def last_skip_reason @last_skip_reason end |
#last_skipped_at ⇒ Time? (readonly)
Returns the value of attribute last_skipped_at.
30 31 32 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 30 def last_skipped_at @last_skipped_at end |
#next_fire_at ⇒ Time? (readonly)
Returns the value of attribute next_fire_at.
38 39 40 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 38 def next_fire_at @next_fire_at end |
#total_fires ⇒ Integer? (readonly)
Returns the value of attribute total_fires.
42 43 44 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 42 def total_fires @total_fires end |
Instance Method Details
#last_fire_at= ⇒ Time (readonly)
24 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 24
def last_fire_at=: (Time) -> Time
|
#last_objective_id= ⇒ String (readonly)
28 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 28
def last_objective_id=: (String) -> String
|
#last_skip_reason= ⇒ String (readonly)
36 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 36
def last_skip_reason=: (String) -> String
|
#last_skipped_at= ⇒ Time (readonly)
32 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 32
def last_skipped_at=: (Time) -> Time
|
#next_fire_at= ⇒ Time (readonly)
40 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 40
def next_fire_at=: (Time) -> Time
|
#to_hash ⇒ {
56 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 56
def to_hash: -> {
|
#total_fires= ⇒ Integer (readonly)
44 |
# File 'sig/cadenya/models/agents/agent_schedule_info.rbs', line 44
def total_fires=: (Integer) -> Integer
|