Class: Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataUsageRecord

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_record.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(aggregations: nil, record_type: nil, user_id: nil) ⇒ Object

Parameters:



# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_record.rb', line 28

Instance Attribute Details

#aggregationsArray<Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataAggregation>?

List of aggregations by lookup type



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

optional :aggregations,
-> { Telnyx::Internal::Type::ArrayOf[Telnyx::Legacy::Reporting::UsageReports::TelcoDataAggregation] }

#record_typeString?

Record type identifier

Returns:

  • (String, nil)


20
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_record.rb', line 20

optional :record_type, String

#user_idString?

User ID

Returns:

  • (String, nil)


26
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_record.rb', line 26

optional :user_id, String