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.
-
#bumper_data ⇒ Object
Returns the value of attribute bumper_data.
-
#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
8176 8177 8178 |
# File 'lib/kaltura_types.rb', line 8176 def actions @actions end |
#bumper_data ⇒ Object
Returns the value of attribute bumper_data.
8179 8180 8181 |
# File 'lib/kaltura_types.rb', line 8179 def bumper_data @bumper_data end |
#flavor_assets ⇒ Object
Returns the value of attribute flavor_assets.
8174 8175 8176 |
# File 'lib/kaltura_types.rb', line 8174 def flavor_assets @flavor_assets end |
#messages ⇒ Object
Array of actions as received from the rules that invalidated
8178 8179 8180 |
# File 'lib/kaltura_types.rb', line 8178 def end |
#playback_captions ⇒ Object
Returns the value of attribute playback_captions.
8173 8174 8175 |
# File 'lib/kaltura_types.rb', line 8173 def playback_captions @playback_captions end |
#sources ⇒ Object
Returns the value of attribute sources.
8172 8173 8174 |
# File 'lib/kaltura_types.rb', line 8172 def sources @sources end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 |
# File 'lib/kaltura_types.rb', line 8182 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 if xml_element.elements['bumperData'] != nil self.bumper_data = KalturaClientBase.object_from_xml(xml_element.elements['bumperData'], 'KalturaObject') end end |