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:



20
21
22
23
24
25
26
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 20

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)



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

def messaging
  @messaging
end

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



12
13
14
# File 'lib/telnyx/resources/legacy/reporting/batch_detail_records.rb', line 12

def speech_to_text
  @speech_to_text
end

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



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

def voice
  @voice
end