Class: Kaltura::KalturaPlaybackContext
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPlaybackContext
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#actions ⇒ Object
Array of actions as received from the rules that invalidated.
-
#flavor_assets ⇒ Object
Returns the value of attribute flavor_assets.
-
#messages ⇒ Object
Array of actions as received from the rules that invalidated.
-
#playback_captions ⇒ Object
Returns the value of attribute playback_captions.
-
#sources ⇒ Object
Returns the value of attribute sources.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#actions ⇒ Object
Array of actions as received from the rules that invalidated
7904 7905 7906 |
# File 'lib/kaltura_types.rb', line 7904 def actions @actions end |
#flavor_assets ⇒ Object
Returns the value of attribute flavor_assets.
7902 7903 7904 |
# File 'lib/kaltura_types.rb', line 7902 def flavor_assets @flavor_assets end |
#messages ⇒ Object
Array of actions as received from the rules that invalidated
7906 7907 7908 |
# File 'lib/kaltura_types.rb', line 7906 def @messages end |
#playback_captions ⇒ Object
Returns the value of attribute playback_captions.
7901 7902 7903 |
# File 'lib/kaltura_types.rb', line 7901 def @playback_captions end |
#sources ⇒ Object
Returns the value of attribute sources.
7900 7901 7902 |
# File 'lib/kaltura_types.rb', line 7900 def sources @sources end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 |
# File 'lib/kaltura_types.rb', line 7909 def from_xml(xml_element) super if xml_element.elements['sources'] != nil self.sources = KalturaClientBase.object_from_xml(xml_element.elements['sources'], 'KalturaPlaybackSource') end if xml_element.elements['playbackCaptions'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['playbackCaptions'], 'KalturaCaptionPlaybackPluginData') end if xml_element.elements['flavorAssets'] != nil self.flavor_assets = KalturaClientBase.object_from_xml(xml_element.elements['flavorAssets'], 'KalturaFlavorAsset') end if xml_element.elements['actions'] != nil self.actions = KalturaClientBase.object_from_xml(xml_element.elements['actions'], 'KalturaRuleAction') end if xml_element.elements['messages'] != nil self. = KalturaClientBase.object_from_xml(xml_element.elements['messages'], 'KalturaAccessControlMessage') end end |