Class: Telnyx::Resources::Legacy::Reporting::BatchDetailRecords

Inherits:
Object
  • Object
show all
Defined in:
lib/telnyx/resources/legacy/reporting/batch_detail_records.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/voice.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/messaging.rb,
lib/telnyx/resources/legacy/reporting/batch_detail_records/speech_to_text.rb

Defined Under Namespace

Classes: Messaging, SpeechToText, Voice

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ BatchDetailRecords

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of BatchDetailRecords.

Parameters:



23
24
25
26
27
28
29
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 23

def initialize(client:)
  @client = client
  @messaging = Telnyx::Resources::Legacy::Reporting::BatchDetailRecords::Messaging.new(client: client)
  @speech_to_text =
    Telnyx::Resources::Legacy::Reporting::BatchDetailRecords::SpeechToText.new(client: client)
  @voice = Telnyx::Resources::Legacy::Reporting::BatchDetailRecords::Voice.new(client: client)
end

Instance Attribute Details

#messagingTelnyx::Resources::Legacy::Reporting::BatchDetailRecords::Messaging (readonly)

Messaging batch detail records



10
11
12
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 10

def messaging
  @messaging
end

#speech_to_textTelnyx::Resources::Legacy::Reporting::BatchDetailRecords::SpeechToText (readonly)

Speech to text batch detail records



14
15
16
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 14

def speech_to_text
  @speech_to_text
end

#voiceTelnyx::Resources::Legacy::Reporting::BatchDetailRecords::Voice (readonly)

Voice batch detail records



18
19
20
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 18

def voice
  @voice
end