Class: Kaltura::KalturaLiveStreamConfiguration

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Overview

A representation of a live stream configuration

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#backup_urlObject

Returns the value of attribute backup_url.



6057
6058
6059
# File 'lib/kaltura_types.rb', line 6057

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



6054
6055
6056
# File 'lib/kaltura_types.rb', line 6054

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



6056
6057
6058
# File 'lib/kaltura_types.rb', line 6056

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



6058
6059
6060
# File 'lib/kaltura_types.rb', line 6058

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



6055
6056
6057
# File 'lib/kaltura_types.rb', line 6055

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
# File 'lib/kaltura_types.rb', line 6061

def from_xml(xml_element)
  super
  if xml_element.elements['protocol'] != nil
    self.protocol = xml_element.elements['protocol'].text
  end
  if xml_element.elements['url'] != nil
    self.url = xml_element.elements['url'].text
  end
  if xml_element.elements['publishUrl'] != nil
    self.publish_url = xml_element.elements['publishUrl'].text
  end
  if xml_element.elements['backupUrl'] != nil
    self.backup_url = xml_element.elements['backupUrl'].text
  end
  if xml_element.elements['streamName'] != nil
    self.stream_name = xml_element.elements['streamName'].text
  end
end