Class: Kaltura::KalturaLiveStreamBitrate

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

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

#bitrateObject

Returns the value of attribute bitrate.



6997
6998
6999
# File 'lib/kaltura_types.rb', line 6997

def bitrate
  @bitrate
end

#heightObject

Returns the value of attribute height.



6999
7000
7001
# File 'lib/kaltura_types.rb', line 6999

def height
  @height
end

#tagsObject

Returns the value of attribute tags.



7000
7001
7002
# File 'lib/kaltura_types.rb', line 7000

def tags
  @tags
end

#widthObject

Returns the value of attribute width.



6998
6999
7000
# File 'lib/kaltura_types.rb', line 6998

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
# File 'lib/kaltura_types.rb', line 7012

def from_xml(xml_element)
	super
	if xml_element.elements['bitrate'] != nil
		self.bitrate = xml_element.elements['bitrate'].text
	end
	if xml_element.elements['width'] != nil
		self.width = xml_element.elements['width'].text
	end
	if xml_element.elements['height'] != nil
		self.height = xml_element.elements['height'].text
	end
	if xml_element.elements['tags'] != nil
		self.tags = xml_element.elements['tags'].text
	end
end