Class: MetronomeSDK::Models::V2::ContractEditResponse::Data::Edit::UpdateCommit::AccessSchedule::AddScheduleItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractEditResponse::Data::Edit::UpdateCommit::AccessSchedule::AddScheduleItem
- Defined in:
- lib/metronome_sdk/models/v2/contract_edit_response.rb,
sig/metronome_sdk/models/v2/contract_edit_response.rbs
Instance Attribute Summary collapse
- #amount ⇒ Float
-
#ending_before ⇒ Time
RFC 3339 timestamp (exclusive).
-
#starting_at ⇒ Time
RFC 3339 timestamp (inclusive).
Instance Method Summary collapse
- #initialize(add_schedule_items: nil, remove_schedule_items: nil, update_schedule_items: nil) ⇒ 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(add_schedule_items: nil, remove_schedule_items: nil, update_schedule_items: nil) ⇒ Object
2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 |
# File 'lib/metronome_sdk/models/v2/contract_edit_response.rb', line 2652 class AddScheduleItem < MetronomeSDK::Internal::Type::BaseModel # @!attribute amount # # @return [Float] required :amount, Float # @!attribute ending_before # RFC 3339 timestamp (exclusive) # # @return [Time] required :ending_before, Time # @!attribute starting_at # RFC 3339 timestamp (inclusive) # # @return [Time] required :starting_at, Time # @!method initialize(amount:, ending_before:, starting_at:) # @param amount [Float] # # @param ending_before [Time] RFC 3339 timestamp (exclusive) # # @param starting_at [Time] RFC 3339 timestamp (inclusive) end |
Instance Attribute Details
#amount ⇒ Float
2656 |
# File 'lib/metronome_sdk/models/v2/contract_edit_response.rb', line 2656 required :amount, Float |
#ending_before ⇒ Time
RFC 3339 timestamp (exclusive)
2662 |
# File 'lib/metronome_sdk/models/v2/contract_edit_response.rb', line 2662 required :ending_before, Time |
#starting_at ⇒ Time
RFC 3339 timestamp (inclusive)
2668 |
# File 'lib/metronome_sdk/models/v2/contract_edit_response.rb', line 2668 required :starting_at, Time |
Instance Method Details
#to_hash ⇒ {
2604 |
# File 'sig/metronome_sdk/models/v2/contract_edit_response.rbs', line 2604
def to_hash: -> {
|