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.



6361
6362
6363
# File 'lib/kaltura_types.rb', line 6361

def backup_url
  @backup_url
end

#protocolObject

Returns the value of attribute protocol.



6358
6359
6360
# File 'lib/kaltura_types.rb', line 6358

def protocol
  @protocol
end

#publish_urlObject

Returns the value of attribute publish_url.



6360
6361
6362
# File 'lib/kaltura_types.rb', line 6360

def publish_url
  @publish_url
end

#stream_nameObject

Returns the value of attribute stream_name.



6362
6363
6364
# File 'lib/kaltura_types.rb', line 6362

def stream_name
  @stream_name
end

#urlObject

Returns the value of attribute url.



6359
6360
6361
# File 'lib/kaltura_types.rb', line 6359

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
# File 'lib/kaltura_types.rb', line 6365

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