Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit::AccessSchedule::AddScheduleItem
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCredit::AccessSchedule::AddScheduleItem
- Defined in:
- lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb,
sig/metronome_sdk/models/v2/contract_get_edit_history_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
2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2995 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
2999 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2999 required :amount, Float |
#ending_before ⇒ Time
RFC 3339 timestamp (exclusive)
3005 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3005 required :ending_before, Time |
#starting_at ⇒ Time
RFC 3339 timestamp (inclusive)
3011 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 3011 required :starting_at, Time |
Instance Method Details
#to_hash ⇒ {
2917 |
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 2917
def to_hash: -> {
|