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.



6919
6920
6921
# File 'lib/kaltura_types.rb', line 6919

def bitrate
  @bitrate
end

#heightObject

Returns the value of attribute height.



6921
6922
6923
# File 'lib/kaltura_types.rb', line 6921

def height
  @height
end

#tagsObject

Returns the value of attribute tags.



6922
6923
6924
# File 'lib/kaltura_types.rb', line 6922

def tags
  @tags
end

#widthObject

Returns the value of attribute width.



6920
6921
6922
# File 'lib/kaltura_types.rb', line 6920

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
# File 'lib/kaltura_types.rb', line 6934

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