Class: Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataAggregation

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb,
sig/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rbs

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(currency: nil, total_cost: nil, total_dips: nil, type: nil) ⇒ Object



# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb', line 33


Instance Attribute Details

#currencyString?

Currency code



13
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb', line 13

optional :currency, String

#total_costFloat?

Total cost for this aggregation



19
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb', line 19

optional :total_cost, Float

#total_dipsInteger?

Total number of lookups performed



25
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb', line 25

optional :total_dips, Integer

#typeString?

Type of telco data lookup



31
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rb', line 31

optional :type, String

Instance Method Details

#to_hash{



38
# File 'sig/telnyx/models/legacy/reporting/usage_reports/telco_data_aggregation.rbs', line 38

def to_hash: -> {