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.
6950 6951 6952 |
# File 'lib/kaltura_types.rb', line 6950 def bitrate @bitrate end |
#height ⇒ Object
Returns the value of attribute height.
6952 6953 6954 |
# File 'lib/kaltura_types.rb', line 6952 def height @height end |
#tags ⇒ Object
Returns the value of attribute tags.
6953 6954 6955 |
# File 'lib/kaltura_types.rb', line 6953 def end |
#width ⇒ Object
Returns the value of attribute width.
6951 6952 6953 |
# File 'lib/kaltura_types.rb', line 6951 def width @width end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 |
# File 'lib/kaltura_types.rb', line 6965 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 |