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
8133 8134 8135 |
# File 'lib/kaltura_types.rb', line 8133 def actions @actions end |
#flavor_assets ⇒ Object
Returns the value of attribute flavor_assets.
8131 8132 8133 |
# File 'lib/kaltura_types.rb', line 8131 def flavor_assets @flavor_assets end |
#messages ⇒ Object
Array of actions as received from the rules that invalidated
8135 8136 8137 |
# File 'lib/kaltura_types.rb', line 8135 def end |
#playback_captions ⇒ Object
Returns the value of attribute playback_captions.
8130 8131 8132 |
# File 'lib/kaltura_types.rb', line 8130 def playback_captions @playback_captions end |
#sources ⇒ Object
Returns the value of attribute sources.
8129 8130 8131 |
# File 'lib/kaltura_types.rb', line 8129 def sources @sources end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 |
# File 'lib/kaltura_types.rb', line 8138 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.playback_captions = 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 |