Class: Kaltura::KalturaLiveStreamBitrate
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStreamBitrate
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#bitrate ⇒ Object
Returns the value of attribute bitrate.
-
#height ⇒ Object
Returns the value of attribute height.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#width ⇒ Object
Returns the value of attribute width.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#bitrate ⇒ Object
Returns the value of attribute bitrate.
6855 6856 6857 |
# File 'lib/kaltura_types.rb', line 6855 def bitrate @bitrate end |
#height ⇒ Object
Returns the value of attribute height.
6857 6858 6859 |
# File 'lib/kaltura_types.rb', line 6857 def height @height end |
#tags ⇒ Object
Returns the value of attribute tags.
6858 6859 6860 |
# File 'lib/kaltura_types.rb', line 6858 def @tags end |
#width ⇒ Object
Returns the value of attribute width.
6856 6857 6858 |
# File 'lib/kaltura_types.rb', line 6856 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 |
# File 'lib/kaltura_types.rb', line 6870 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. = xml_element.elements['tags'].text end end |