Class: Dodopayments::Models::Meter
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: , aggregation: , business_id: , created_at: , event_name: , measurement_unit: , name: , updated_at: , description: nil, filter: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see Meter for more details.
==, #==, #[], 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: , aggregation: , business_id: , created_at: , event_name: , measurement_unit: , name: , updated_at: , description: nil, filter: nil) ⇒ Object
|
# File 'lib/dodopayments/models/meter.rb', line 63
|
Instance Attribute Details
#business_id ⇒ String
20
|
# File 'lib/dodopayments/models/meter.rb', line 20
required :business_id, String
|
#created_at ⇒ Time
25
|
# File 'lib/dodopayments/models/meter.rb', line 25
required :created_at, Time
|
#description ⇒ String?
50
|
# File 'lib/dodopayments/models/meter.rb', line 50
optional :description, String, nil?: true
|
#event_name ⇒ String
30
|
# File 'lib/dodopayments/models/meter.rb', line 30
required :event_name, String
|
A filter structure that combines multiple conditions with logical conjunctions (AND/OR).
Supports up to 3 levels of nesting to create complex filter expressions. Each filter has a conjunction (and/or) and clauses that can be either direct conditions or nested filters.
61
|
# File 'lib/dodopayments/models/meter.rb', line 61
optional :filter, -> { Dodopayments::MeterFilter }, nil?: true
|
#id ⇒ String
10
|
# File 'lib/dodopayments/models/meter.rb', line 10
required :id, String
|
#measurement_unit ⇒ String
35
|
# File 'lib/dodopayments/models/meter.rb', line 35
required :measurement_unit, String
|
#name ⇒ String
40
|
# File 'lib/dodopayments/models/meter.rb', line 40
required :name, String
|
#updated_at ⇒ Time
45
|
# File 'lib/dodopayments/models/meter.rb', line 45
required :updated_at, Time
|