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.



7062
7063
7064
# File 'lib/kaltura_types.rb', line 7062

def bitrate
  @bitrate
end

#heightObject

Returns the value of attribute height.



7064
7065
7066
# File 'lib/kaltura_types.rb', line 7064

def height
  @height
end

#tagsObject

Returns the value of attribute tags.



7065
7066
7067
# File 'lib/kaltura_types.rb', line 7065

def tags
  @tags
end

#widthObject

Returns the value of attribute width.



7063
7064
7065
# File 'lib/kaltura_types.rb', line 7063

def width
  @width
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
# File 'lib/kaltura_types.rb', line 7077

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