Class: Kaltura::KalturaLiveStreamDetails
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaLiveStreamDetails
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#broadcast_status ⇒ Object
Returns the value of attribute broadcast_status.
-
#primary_stream_status ⇒ Object
The status of the primary stream.
-
#secondary_stream_status ⇒ Object
The status of the secondary stream.
-
#view_mode ⇒ Object
Returns the value of attribute view_mode.
-
#was_broadcast ⇒ Object
Returns the value of attribute was_broadcast.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#broadcast_status ⇒ Object
Returns the value of attribute broadcast_status.
7024 7025 7026 |
# File 'lib/kaltura_types.rb', line 7024 def broadcast_status @broadcast_status end |
#primary_stream_status ⇒ Object
The status of the primary stream
7019 7020 7021 |
# File 'lib/kaltura_types.rb', line 7019 def primary_stream_status @primary_stream_status end |
#secondary_stream_status ⇒ Object
The status of the secondary stream
7021 7022 7023 |
# File 'lib/kaltura_types.rb', line 7021 def secondary_stream_status @secondary_stream_status end |
#view_mode ⇒ Object
Returns the value of attribute view_mode.
7022 7023 7024 |
# File 'lib/kaltura_types.rb', line 7022 def view_mode @view_mode end |
#was_broadcast ⇒ Object
Returns the value of attribute was_broadcast.
7023 7024 7025 |
# File 'lib/kaltura_types.rb', line 7023 def was_broadcast @was_broadcast end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 |
# File 'lib/kaltura_types.rb', line 7042 def from_xml(xml_element) super if xml_element.elements['primaryStreamStatus'] != nil self.primary_stream_status = xml_element.elements['primaryStreamStatus'].text end if xml_element.elements['secondaryStreamStatus'] != nil self.secondary_stream_status = xml_element.elements['secondaryStreamStatus'].text end if xml_element.elements['viewMode'] != nil self.view_mode = xml_element.elements['viewMode'].text end if xml_element.elements['wasBroadcast'] != nil self.was_broadcast = xml_element.elements['wasBroadcast'].text end if xml_element.elements['broadcastStatus'] != nil self.broadcast_status = xml_element.elements['broadcastStatus'].text end end |