Class: Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataUsageReportResponse

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

Overview

See Also:

  • Telnyx::Resources::Legacy::Reporting::UsageReports::NumberLookup#list

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(id: nil, aggregation_type: nil, created_at: nil, end_date: nil, managed_accounts: nil, record_type: nil, report_url: nil, result: nil, start_date: nil, status: nil, updated_at: nil) ⇒ Object

Telco data usage report response

Parameters:

  • (defaults to: nil)

    Unique identifier for the report

  • (defaults to: nil)

    Type of aggregation used in the report

  • (defaults to: nil)

    Timestamp when the report was created

  • (defaults to: nil)

    End date of the report period

  • (defaults to: nil)

    List of managed account IDs included in the report

  • (defaults to: nil)

    Record type identifier

  • (defaults to: nil)

    URL to download the complete report

  • (defaults to: nil)

    Array of usage records

  • (defaults to: nil)

    Start date of the report period

  • (defaults to: nil)

    Current status of the report

  • (defaults to: nil)

    Timestamp when the report was last updated



# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 77


Instance Attribute Details

#aggregation_typeString?

Type of aggregation used in the report

Parameters:

Returns:



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

optional :aggregation_type, String

#created_atTime?

Timestamp when the report was created

Parameters:

Returns:



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

optional :created_at, Time

#end_dateDate?

End date of the report period

Parameters:

Returns:



32
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 32

optional :end_date, Date

#idString?

Unique identifier for the report

Parameters:

Returns:



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

optional :id, String

#managed_accountsArray<String>?

List of managed account IDs included in the report

Parameters:

Returns:



38
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 38

optional :managed_accounts, Telnyx::Internal::Type::ArrayOf[String]

#record_typeString?

Record type identifier

Parameters:

Returns:



44
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 44

optional :record_type, String

#report_urlString?

URL to download the complete report

Parameters:

Returns:



50
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 50

optional :report_url, String

#resultArray<Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataUsageRecord>?

Array of usage records

Returns:



56
57
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 56

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

#start_dateDate?

Start date of the report period

Parameters:

Returns:



63
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 63

optional :start_date, Date

#statusString?

Current status of the report

Parameters:

Returns:



69
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 69

optional :status, String

#updated_atTime?

Timestamp when the report was last updated

Parameters:

Returns:



75
# File 'lib/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rb', line 75

optional :updated_at, Time

Instance Method Details

#to_hash{

Returns:



82
# File 'sig/telnyx/models/legacy/reporting/usage_reports/telco_data_usage_report_response.rbs', line 82

def to_hash: -> {