Class: Telnyx::Models::Legacy::Reporting::UsageReports::MdrUsageReportResponseLegacy
- Inherits:
-
Internal::Type::BaseModel
show all
- Defined in:
- lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb,
sig/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary
collapse
-
#initialize(id: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil) ⇒ Object
constructor
Legacy V2 MDR usage report response.
-
#to_hash ⇒ {
==, #==, #[], 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: nil, aggregation_type: nil, connections: nil, created_at: nil, end_time: nil, profiles: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil) ⇒ Object
Legacy V2 MDR usage report response
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 74
|
Instance Attribute Details
#aggregation_type ⇒ Integer?
Aggregation type: No aggregation = 0, By Messaging Profile = 1, By Tags = 2
20
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 20
optional :aggregation_type, Integer
|
#connections ⇒ Array<String>?
25
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 25
optional :connections, Telnyx::Internal::Type::ArrayOf[String]
|
#created_at ⇒ Time?
30
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 30
optional :created_at, Time
|
#end_time ⇒ Time?
35
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 35
optional :end_time, Time
|
#id ⇒ String?
14
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 14
optional :id, String
|
#profiles ⇒ Array<String>?
List of messaging profile IDs
41
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 41
optional :profiles, Telnyx::Internal::Type::ArrayOf[String]
|
#record_type ⇒ String?
46
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 46
optional :record_type, String
|
#report_url ⇒ String?
51
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 51
optional :report_url, String
|
#result ⇒ Hash{Symbol=>Object}?
56
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 56
optional :result, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]
|
#start_time ⇒ Time?
61
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 61
optional :start_time, Time
|
#status ⇒ Integer?
Status of the report (Pending = 1, Complete = 2, Failed = 3, Expired = 4)
67
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 67
optional :status, Integer
|
#updated_at ⇒ Time?
72
|
# File 'lib/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rb', line 72
optional :updated_at, Time
|
Instance Method Details
#to_hash ⇒ {
86
|
# File 'sig/telnyx/models/legacy/reporting/usage_reports/mdr_usage_report_response_legacy.rbs', line 86
def to_hash: -> {
|