Class: Handinger::Models::WorkerSchedule::Workers::WorkerSchedule::Cron
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Handinger::Models::WorkerSchedule::Workers::WorkerSchedule::Cron
- Defined in:
- sig/handinger/models/workers/worker_schedule.rbs
Defined Under Namespace
Modules: Budget
Instance Attribute Summary collapse
-
#budget ⇒ Handinger::Models::Workers::WorkerSchedule::Cron::budget
Returns the value of attribute budget.
-
#cron ⇒ String
Returns the value of attribute cron.
-
#id ⇒ String
Returns the value of attribute id.
-
#input ⇒ String
Returns the value of attribute input.
-
#next_run_at ⇒ Time
Returns the value of attribute next_run_at.
-
#type ⇒ :cron
Returns the value of attribute type.
Instance Method Summary collapse
- #initialize ⇒ Object constructor
- #to_hash ⇒ {
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
143 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 143
def initialize: (
|
Instance Attribute Details
#budget ⇒ Handinger::Models::Workers::WorkerSchedule::Cron::budget
Returns the value of attribute budget.
133 134 135 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 133 def budget @budget end |
#cron ⇒ String
Returns the value of attribute cron.
135 136 137 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 135 def cron @cron end |
#id ⇒ String
Returns the value of attribute id.
131 132 133 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 131 def id @id end |
#input ⇒ String
Returns the value of attribute input.
137 138 139 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 137 def input @input end |
#next_run_at ⇒ Time
Returns the value of attribute next_run_at.
139 140 141 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 139 def next_run_at @next_run_at end |
#type ⇒ :cron
Returns the value of attribute type.
141 142 143 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 141 def type @type end |
Instance Method Details
#to_hash ⇒ {
152 |
# File 'sig/handinger/models/workers/worker_schedule.rbs', line 152
def to_hash: -> {
|