Class: Cadenya::Models::Agents::ScheduleRange
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::Agents::ScheduleRange
- Defined in:
- lib/cadenya/models/agents/schedule_range.rb
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(end_: nil, start: nil, step: nil) ⇒ Object
constructor
Inclusive numeric range with optional step.
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(end_: nil, start: nil, step: nil) ⇒ Object
Inclusive numeric range with optional step. 9 β 9 9, end: 17 β9..17 0, end: 59, step: 15 β 0,15,30,45 βend` defaults to `start`; `step` defaults to 1.
|
|
# File 'lib/cadenya/models/agents/schedule_range.rb', line 22
|
Instance Attribute Details
#end_ ⇒ Integer?
10 |
# File 'lib/cadenya/models/agents/schedule_range.rb', line 10 optional :end_, Integer, api_name: :end |
#start ⇒ Integer?
15 |
# File 'lib/cadenya/models/agents/schedule_range.rb', line 15 optional :start, Integer |
#step ⇒ Integer?
20 |
# File 'lib/cadenya/models/agents/schedule_range.rb', line 20 optional :step, Integer |