Class: Telnyx::Models::Legacy::Reporting::UsageReports::CdrUsageReportResponseLegacy

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb

Overview

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, connections: nil, created_at: nil, end_time: nil, product_breakdown: nil, record_type: nil, report_url: nil, result: nil, start_time: nil, status: nil, updated_at: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::Legacy::Reporting::UsageReports::CdrUsageReportResponseLegacy for more details.

Legacy V2 CDR usage report response

Parameters:

  • id (String) (defaults to: nil)

    Identifies the resource

  • aggregation_type (Integer) (defaults to: nil)

    Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3

  • connections (Array<String>) (defaults to: nil)
  • created_at (Time) (defaults to: nil)
  • end_time (Time) (defaults to: nil)
  • product_breakdown (Integer) (defaults to: nil)

    Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID

  • record_type (String) (defaults to: nil)
  • report_url (String) (defaults to: nil)
  • result (Hash{Symbol=>Object}) (defaults to: nil)
  • start_time (Time) (defaults to: nil)
  • status (Integer) (defaults to: nil)

    Status of the report: Pending = 1, Complete = 2, Failed = 3, Expired = 4

  • updated_at (Time) (defaults to: nil)


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

Instance Attribute Details

#aggregation_typeInteger?

Aggregation type: All = 0, By Connections = 1, By Tags = 2, By Billing Group = 3

Returns:

  • (Integer, nil)


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

optional :aggregation_type, Integer

#connectionsArray<String>?

Returns:

  • (Array<String>, nil)


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

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

#created_atTime?

Returns:

  • (Time, nil)


30
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 30

optional :created_at, Time

#end_timeTime?

Returns:

  • (Time, nil)


35
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 35

optional :end_time, Time

#idString?

Identifies the resource

Returns:

  • (String, nil)


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

optional :id, String

#product_breakdownInteger?

Product breakdown type: No breakdown = 0, DID vs Toll-free = 1, Country = 2, DID vs Toll-free per Country = 3

Returns:

  • (Integer, nil)


42
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 42

optional :product_breakdown, Integer

#record_typeString?

Returns:

  • (String, nil)


47
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 47

optional :record_type, String

#report_urlString?

Returns:

  • (String, nil)


52
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 52

optional :report_url, String

#resultHash{Symbol=>Object}?

Returns:

  • (Hash{Symbol=>Object}, nil)


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

optional :result, Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown]

#start_timeTime?

Returns:

  • (Time, nil)


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

optional :start_time, Time

#statusInteger?

Status of the report: Pending = 1, Complete = 2, Failed = 3, Expired = 4

Returns:

  • (Integer, nil)


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

optional :status, Integer

#updated_atTime?

Returns:

  • (Time, nil)


73
# File 'lib/telnyx/models/legacy/reporting/usage_reports/cdr_usage_report_response_legacy.rb', line 73

optional :updated_at, Time