Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateCommit::AccessSchedule::AddScheduleItem

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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



2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2018

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

#amountFloat

Returns:

  • (Float)


2022
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2022

required :amount, Float

#ending_beforeTime

RFC 3339 timestamp (exclusive)

Returns:

  • (Time)


2028
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2028

required :ending_before, Time

#starting_atTime

RFC 3339 timestamp (inclusive)

Returns:

  • (Time)


2034
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 2034

required :starting_at, Time