Class: Telnyx::Models::VoiceSDKCallReportListResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/telnyx/models/voice_sdk_call_report_list_response.rb

Overview

Defined Under Namespace

Modules: Logs, Stats

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(call_id: nil, call_report_id: nil, created_at: nil, flush_reason: nil, logs: nil, organization_id: nil, segment: nil, stats: nil, stored_at: nil, summary: nil, telnyx_leg_id: nil, telnyx_session_id: nil, user_agent: nil, user_id: nil, version: nil, voice_sdk_id: nil, voice_sdk_id_decoded: nil, voice_sdk_session_id: nil) ⇒ Object

Some parameter documentations has been truncated, see Telnyx::Models::VoiceSDKCallReportListResponse for more details.

A raw call report stats JSON payload. The schema is intentionally permissive because Voice SDK clients can add fields over time.

Parameters:

  • call_id (String) (defaults to: nil)

    Unique call identifier.

  • call_report_id (String) (defaults to: nil)

    User-scoped storage grouping identifier derived from the authenticated user. Thi

  • created_at (Time) (defaults to: nil)

    Creation timestamp when present.

  • flush_reason (Hash{Symbol=>Object}) (defaults to: nil)

    Reason the SDK flushed this stats report segment, for example an intermediate so

  • logs (Array<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0>, Telnyx::Models::VoiceSDKCallReportListResponse::Logs::Entries) (defaults to: nil)

    Raw logs payload emitted by the Voice SDK and stored without normalization. Live

  • organization_id (String) (defaults to: nil)

    Organization associated with the stored call report when provided by the Voice S

  • segment (Integer) (defaults to: nil)

    Zero-based stats segment index when the SDK sends segmented or intermediate repo

  • stats (Array<Hash{Symbol=>Object}>, Telnyx::Models::VoiceSDKCallReportListResponse::Stats::UnionMember1) (defaults to: nil)

    Raw stats payload emitted by the Voice SDK and stored without normalization. The

  • stored_at (Time) (defaults to: nil)

    Time when the call report was stored.

  • summary (Hash{Symbol=>Object}) (defaults to: nil)

    High-level call metadata.

  • telnyx_leg_id (String) (defaults to: nil)

    Telnyx call leg identifier for correlating the report with call-control, SIP, an

  • telnyx_session_id (String) (defaults to: nil)

    Telnyx RTC session identifier for correlating the report with Voice SDK signalin

  • user_agent (String) (defaults to: nil)

    Voice SDK user agent string reported by the client. This is the preferred SDK/pl

  • user_id (String) (defaults to: nil)

    Authenticated user that owns the call report.

  • version (String) (defaults to: nil)

    Legacy SDK version value when the client reports one separately from the user ag

  • voice_sdk_id (String) (defaults to: nil)

    Voice SDK instance identifier.

  • voice_sdk_id_decoded (Hash{Symbol=>Object}) (defaults to: nil)

    Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.

  • voice_sdk_session_id (String) (defaults to: nil)

    Voice SDK session correlation identifier used to group stats segments for the sa



# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 132

Instance Attribute Details

#call_idString?

Unique call identifier.

Returns:

  • (String, nil)


11
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 11

optional :call_id, String

#call_report_idString?

User-scoped storage grouping identifier derived from the authenticated user. This is not a unique per-call report identifier and may be shared by multiple calls for the same user.

Returns:

  • (String, nil)


19
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 19

optional :call_report_id, String

#created_atTime?

Creation timestamp when present.

Returns:

  • (Time, nil)


25
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 25

optional :created_at, Time

#flush_reasonHash{Symbol=>Object}?

Reason the SDK flushed this stats report segment, for example an intermediate socket-close flush.

Returns:

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


32
33
34
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 32

optional :flush_reason,
Telnyx::Internal::Type::HashOf[Telnyx::Internal::Type::Unknown],
api_name: :flushReason

#logsArray<Telnyx::Models::VoiceSDKCallReportListResponse::Logs::UnionMember0>, ...

Raw logs payload emitted by the Voice SDK and stored without normalization. Live responses commonly return an array of log entries, but object-shaped log payloads are also allowed for compatibility.



42
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 42

optional :logs, union: -> { Telnyx::Models::VoiceSDKCallReportListResponse::Logs }

#organization_idString?

Organization associated with the stored call report when provided by the Voice SDK reporting path.

Returns:

  • (String, nil)


49
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 49

optional :organization_id, String

#segmentInteger?

Zero-based stats segment index when the SDK sends segmented or intermediate reports.

Returns:

  • (Integer, nil)


56
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 56

optional :segment, Integer

#statsArray<Hash{Symbol=>Object}>, ...

Raw stats payload emitted by the Voice SDK and stored without normalization. The exact shape can vary by SDK platform and version. Live responses commonly return an array of interval snapshots, but object-shaped stats payloads are also allowed for compatibility.

Returns:



65
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 65

optional :stats, union: -> { Telnyx::Models::VoiceSDKCallReportListResponse::Stats }

#stored_atTime?

Time when the call report was stored.

Returns:

  • (Time, nil)


71
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 71

optional :stored_at, Time

#summaryHash{Symbol=>Object}?

High-level call metadata.

Returns:

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


77
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 77

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

#telnyx_leg_idString?

Telnyx call leg identifier for correlating the report with call-control, SIP, and media troubleshooting data.

Returns:

  • (String, nil)


84
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 84

optional :telnyx_leg_id, String

#telnyx_session_idString?

Telnyx RTC session identifier for correlating the report with Voice SDK signaling and media-session logs.

Returns:

  • (String, nil)


91
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 91

optional :telnyx_session_id, String

#user_agentString?

Voice SDK user agent string reported by the client. This is the preferred SDK/platform/version dimension when present.

Returns:

  • (String, nil)


98
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 98

optional :user_agent, String

#user_idString?

Authenticated user that owns the call report.

Returns:

  • (String, nil)


104
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 104

optional :user_id, String

#versionString?

Legacy SDK version value when the client reports one separately from the user agent.

Returns:

  • (String, nil)


111
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 111

optional :version, String

#voice_sdk_idString?

Voice SDK instance identifier.

Returns:

  • (String, nil)


117
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 117

optional :voice_sdk_id, String

#voice_sdk_id_decodedHash{Symbol=>Object}?

Decoded Voice SDK identifier metadata emitted by voice-sdk-proxy when available.

Returns:

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


123
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 123

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

#voice_sdk_session_idString?

Voice SDK session correlation identifier used to group stats segments for the same SDK session.

Returns:

  • (String, nil)


130
# File 'lib/telnyx/models/voice_sdk_call_report_list_response.rb', line 130

optional :voice_sdk_session_id, String