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
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
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
2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2283 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
2287 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2287 required :amount, Float |
#ending_before ⇒ Time
RFC 3339 timestamp (exclusive)
2293 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2293 required :ending_before, Time |
#starting_at ⇒ Time
RFC 3339 timestamp (inclusive)
2299 |
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2299 required :starting_at, Time |