Class: Bandwidth::Bxml::StopStream

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

Instance Method Summary collapse

Methods inherited from Verb

#generate_xml, #set_attributes, #to_bxml

Constructor Details

#initialize(attributes = {}) ⇒ StopStream

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_stream.rb', line 6

def initialize(attributes = {})
  super('StopStream', nil, attributes)
  
  @attribute_map = {
    name: 'name' # [String]: The name of the stream to stop. This is either the user selected name when sending the <StartStream> verb, or the system generated name returned in the Media Stream Started webhook if <StartStream> was sent with no name attribute.
  }
end