Class: Telnyx::Resources::RecordingTranscriptions
- Inherits:
-
Object
- Object
- Telnyx::Resources::RecordingTranscriptions
- Defined in:
- lib/telnyx/resources/recording_transcriptions.rb
Instance Method Summary collapse
-
#delete(recording_transcription_id, request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionDeleteResponse
Permanently deletes a recording transcription.
-
#initialize(client:) ⇒ RecordingTranscriptions
constructor
private
A new instance of RecordingTranscriptions.
-
#list(request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionListResponse
Returns a list of your recording transcriptions.
-
#retrieve(recording_transcription_id, request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionRetrieveResponse
Retrieves the details of an existing recording transcription.
Constructor Details
#initialize(client:) ⇒ RecordingTranscriptions
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 RecordingTranscriptions.
67 68 69 |
# File 'lib/telnyx/resources/recording_transcriptions.rb', line 67 def initialize(client:) @client = client end |
Instance Method Details
#delete(recording_transcription_id, request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionDeleteResponse
Permanently deletes a recording transcription.
55 56 57 58 59 60 61 62 |
# File 'lib/telnyx/resources/recording_transcriptions.rb', line 55 def delete(recording_transcription_id, params = {}) @client.request( method: :delete, path: ["recording_transcriptions/%1$s", recording_transcription_id], model: Telnyx::Models::RecordingTranscriptionDeleteResponse, options: params[:request_options] ) end |
#list(request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionListResponse
Returns a list of your recording transcriptions.
35 36 37 38 39 40 41 42 |
# File 'lib/telnyx/resources/recording_transcriptions.rb', line 35 def list(params = {}) @client.request( method: :get, path: "recording_transcriptions", model: Telnyx::Models::RecordingTranscriptionListResponse, options: params[:request_options] ) end |
#retrieve(recording_transcription_id, request_options: {}) ⇒ Telnyx::Models::RecordingTranscriptionRetrieveResponse
Retrieves the details of an existing recording transcription.
17 18 19 20 21 22 23 24 |
# File 'lib/telnyx/resources/recording_transcriptions.rb', line 17 def retrieve(recording_transcription_id, params = {}) @client.request( method: :get, path: ["recording_transcriptions/%1$s", recording_transcription_id], model: Telnyx::Models::RecordingTranscriptionRetrieveResponse, options: params[:request_options] ) end |