Class: MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateSubscription::QuantityUpdate
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MetronomeSDK::Models::V2::ContractGetEditHistoryResponse::Data::UpdateSubscription::QuantityUpdate
show all
- 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
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:, ending_before: nil, quantity_updates: nil, seat_updates: nil) ⇒ Object
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4156
class QuantityUpdate < MetronomeSDK::Internal::Type::BaseModel
required :starting_at, Time
optional :quantity, Float
optional :quantity_delta, Float
end
|
Instance Attribute Details
#quantity ⇒ Float?
4165
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4165
optional :quantity, Float
|
#quantity_delta ⇒ Float?
4170
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4170
optional :quantity_delta, Float
|
#starting_at ⇒ Time
4160
|
# File 'lib/metronome_sdk/models/v2/contract_get_edit_history_response.rb', line 4160
required :starting_at, Time
|
Instance Method Details
#to_hash ⇒ {
4067
|
# File 'sig/metronome_sdk/models/v2/contract_get_edit_history_response.rbs', line 4067
def to_hash: -> {
|