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

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:

  • id (String) (defaults to: nil)

    Unique identifier for the report

  • aggregation_type (String) (defaults to: nil)

    Type of aggregation used in the report

  • created_at (Time) (defaults to: nil)

    Timestamp when the report was created

  • end_date (Date) (defaults to: nil)

    End date of the report period

  • managed_accounts (Array<String>) (defaults to: nil)

    List of managed account IDs included in the report

  • record_type (String) (defaults to: nil)

    Record type identifier

  • report_url (String) (defaults to: nil)

    URL to download the complete report

  • result (Array<Telnyx::Models::Legacy::Reporting::UsageReports::TelcoDataUsageRecord>) (defaults to: nil)

    Array of usage records

  • start_date (Date) (defaults to: nil)

    Start date of the report period

  • status (String) (defaults to: nil)

    Current status of the report

  • updated_at (Time) (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 76

Instance Attribute Details

#aggregation_typeString?

Type of aggregation used in the report

Returns:

  • (String, nil)


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

optional :aggregation_type, String

#created_atTime?

Timestamp when the report was created

Returns:

  • (Time, nil)


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

optional :created_at, Time

#end_dateDate?

End date of the report period

Returns:

  • (Date, nil)


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

optional :end_date, Date

#idString?

Unique identifier for the report

Returns:

  • (String, nil)


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

optional :id, String

#managed_accountsArray<String>?

List of managed account IDs included in the report

Returns:

  • (Array<String>, nil)


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

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

#record_typeString?

Record type identifier

Returns:

  • (String, nil)


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

optional :record_type, String

#report_urlString?

URL to download the complete report

Returns:

  • (String, nil)


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

optional :report_url, String

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

Array of usage records



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

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

#start_dateDate?

Start date of the report period

Returns:

  • (Date, nil)


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

optional :start_date, Date

#statusString?

Current status of the report

Returns:

  • (String, nil)


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

optional :status, String

#updated_atTime?

Timestamp when the report was last updated

Returns:

  • (Time, nil)


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

optional :updated_at, Time