Class: Telnyx::Models::Legacy::Reporting::BatchDetailRecords::CdrDetailedReqResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_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, call_types: nil, connections: nil, created_at: nil, end_time: nil, filters: nil, managed_accounts: nil, record_type: nil, record_types: nil, report_name: nil, report_url: nil, retry_: nil, source: nil, start_time: nil, status: nil, timezone: nil, updated_at: nil) ⇒ Object

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

Response object for CDR detailed report

Parameters:

  • id (String) (defaults to: nil)

    Unique identifier for the report

  • call_types (Array<Integer>) (defaults to: nil)

    List of call types (Inbound = 1, Outbound = 2)

  • connections (Array<Integer>) (defaults to: nil)

    List of connections

  • created_at (String) (defaults to: nil)

    Creation date of the report

  • end_time (String) (defaults to: nil)

    End time in ISO format

  • filters (Array<Telnyx::Models::Legacy::Reporting::Filter>) (defaults to: nil)

    List of filters

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

    List of managed accounts

  • record_type (String) (defaults to: nil)
  • record_types (Array<Integer>) (defaults to: nil)

    List of record types (Complete = 1, Incomplete = 2, Errors = 3)

  • report_name (String) (defaults to: nil)

    Name of the report

  • report_url (String) (defaults to: nil)

    URL to download the report

  • retry_ (Integer) (defaults to: nil)

    Number of retries

  • source (String) (defaults to: nil)

    Source of the report. Valid values: calls (default), call-control, fax-api, webr

  • start_time (String) (defaults to: nil)

    Start time in ISO format

  • status (Integer) (defaults to: nil)

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

  • timezone (String) (defaults to: nil)

    Timezone for the report

  • updated_at (String) (defaults to: nil)

    Last update date of the report



# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 111

Instance Attribute Details

#call_typesArray<Integer>?

List of call types (Inbound = 1, Outbound = 2)

Returns:

  • (Array<Integer>, nil)


19
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 19

optional :call_types, Telnyx::Internal::Type::ArrayOf[Integer]

#connectionsArray<Integer>?

List of connections

Returns:

  • (Array<Integer>, nil)


25
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 25

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

#created_atString?

Creation date of the report

Returns:

  • (String, nil)


31
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 31

optional :created_at, String

#end_timeString?

End time in ISO format

Returns:

  • (String, nil)


37
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 37

optional :end_time, String

#filtersArray<Telnyx::Models::Legacy::Reporting::Filter>?

List of filters



43
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 43

optional :filters, -> { Telnyx::Internal::Type::ArrayOf[Telnyx::Legacy::Reporting::Filter] }

#idString?

Unique identifier for the report

Returns:

  • (String, nil)


13
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 13

optional :id, String

#managed_accountsArray<String>?

List of managed accounts

Returns:

  • (Array<String>, nil)


49
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 49

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

#record_typeString?

Returns:

  • (String, nil)


54
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 54

optional :record_type, String

#record_typesArray<Integer>?

List of record types (Complete = 1, Incomplete = 2, Errors = 3)

Returns:

  • (Array<Integer>, nil)


60
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 60

optional :record_types, Telnyx::Internal::Type::ArrayOf[Integer]

#report_nameString?

Name of the report

Returns:

  • (String, nil)


66
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 66

optional :report_name, String

#report_urlString?

URL to download the report

Returns:

  • (String, nil)


72
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 72

optional :report_url, String

#retry_Integer?

Number of retries

Returns:

  • (Integer, nil)


78
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 78

optional :retry_, Integer, api_name: :retry

#sourceString?

Source of the report. Valid values: calls (default), call-control, fax-api, webrtc

Returns:

  • (String, nil)


85
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 85

optional :source, String

#start_timeString?

Start time in ISO format

Returns:

  • (String, nil)


91
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 91

optional :start_time, String

#statusInteger?

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

Returns:

  • (Integer, nil)


97
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 97

optional :status, Integer

#timezoneString?

Timezone for the report

Returns:

  • (String, nil)


103
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 103

optional :timezone, String

#updated_atString?

Last update date of the report

Returns:

  • (String, nil)


109
# File 'lib/telnyx/models/legacy/reporting/batch_detail_records/cdr_detailed_req_response.rb', line 109

optional :updated_at, String