Class: Knockapi::Models::ScheduleRepeatRule
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Knockapi::Models::ScheduleRepeatRule
- Defined in:
- lib/knockapi/models/schedule_repeat_rule.rb
Defined Under Namespace
Instance Attribute Summary collapse
-
#_typename ⇒ String?
The typename of the schema.
-
#day_of_month ⇒ Integer?
The day of the month to repeat the schedule.
-
#days ⇒ Array<Symbol, Knockapi::Models::ScheduleRepeatRule::Day>?
The days of the week to repeat the schedule.
-
#frequency ⇒ Symbol, Knockapi::Models::ScheduleRepeatRule::Frequency
The frequency of the schedule.
-
#hours ⇒ Integer?
The hour of the day to repeat the schedule.
-
#interval ⇒ Integer?
The interval of the schedule.
-
#minutes ⇒ Integer?
The minute of the hour to repeat the schedule.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(frequency:, _typename: nil, day_of_month: nil, days: nil, hours: nil, interval: nil, minutes: nil) ⇒ Object
constructor
The repeat rule for the schedule.
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(frequency:, _typename: nil, day_of_month: nil, days: nil, hours: nil, interval: nil, minutes: nil) ⇒ Object
The repeat rule for the schedule.
|
|
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 50
|
Instance Attribute Details
#_typename ⇒ String?
The typename of the schema.
16 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 16 optional :_typename, String, api_name: :__typename |
#day_of_month ⇒ Integer?
The day of the month to repeat the schedule.
22 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 22 optional :day_of_month, Integer, nil?: true |
#days ⇒ Array<Symbol, Knockapi::Models::ScheduleRepeatRule::Day>?
The days of the week to repeat the schedule.
28 29 30 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 28 optional :days, -> { Knockapi::Internal::Type::ArrayOf[enum: Knockapi::ScheduleRepeatRule::Day] }, nil?: true |
#frequency ⇒ Symbol, Knockapi::Models::ScheduleRepeatRule::Frequency
The frequency of the schedule.
10 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 10 required :frequency, enum: -> { Knockapi::ScheduleRepeatRule::Frequency } |
#hours ⇒ Integer?
The hour of the day to repeat the schedule.
36 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 36 optional :hours, Integer, nil?: true |
#interval ⇒ Integer?
The interval of the schedule.
42 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 42 optional :interval, Integer |
#minutes ⇒ Integer?
The minute of the hour to repeat the schedule.
48 |
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 48 optional :minutes, Integer, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/knockapi/models/schedule_repeat_rule.rb', line 78
|