Class: Bandwidth::Bxml::StopTranscription

Inherits:
Verb
  • Object
show all
Defined in:
lib/bandwidth-sdk/models/bxml/verbs/stop_transcription.rb

Instance Method Summary collapse

Methods inherited from Verb

#generate_xml, #set_attributes, #to_bxml

Constructor Details

#initialize(attributes = {}) ⇒ StopTranscription

Initializer

Parameters:

  • attributes (Hash) (defaults to: {})

    The attributes to add to the element. Defaults to an empty hash.



6
7
8
9
10
11
12
# File 'lib/bandwidth-sdk/models/bxml/verbs/stop_transcription.rb', line 6

def initialize(attributes = {})
  super('StopTranscription', nil, attributes)
  
  @attribute_map = {
    name: 'name' # [String]: The name of the real-time transcription to stop. This is either the user selected name when sending the <StartTranscription> verb, or the system generated name returned in the Real-Time Transcription Started webhook if <StartTranscription> was sent with no name attribute. If no name is specified, then all active call transcriptions will be stopped.
  }
end