Class: MetronomeSDK::Models::ScheduleDuration::ScheduleItem
Instance Attribute Summary collapse
Instance Method Summary
collapse
==, #==, #[], 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
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(id: , amount: , ending_before: , starting_at: ) ⇒ Object
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# File 'lib/metronome_sdk/models/schedule_duration.rb', line 21
class ScheduleItem < MetronomeSDK::Internal::Type::BaseModel
required :id, String
required :amount, Float
required :ending_before, Time
required :starting_at, Time
end
|
Instance Attribute Details
#amount ⇒ Float
30
|
# File 'lib/metronome_sdk/models/schedule_duration.rb', line 30
required :amount, Float
|
#ending_before ⇒ Time
35
|
# File 'lib/metronome_sdk/models/schedule_duration.rb', line 35
required :ending_before, Time
|
#id ⇒ String
25
|
# File 'lib/metronome_sdk/models/schedule_duration.rb', line 25
required :id, String
|
#starting_at ⇒ Time
40
|
# File 'lib/metronome_sdk/models/schedule_duration.rb', line 40
required :starting_at, Time
|