Class: Kaltura::KalturaPlaybackContext

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#actionsObject

Array of actions as received from the rules that invalidated



8164
8165
8166
# File 'lib/kaltura_types.rb', line 8164

def actions
  @actions
end

#bumper_dataObject

Returns the value of attribute bumper_data.



8167
8168
8169
# File 'lib/kaltura_types.rb', line 8167

def bumper_data
  @bumper_data
end

#flavor_assetsObject

Returns the value of attribute flavor_assets.



8162
8163
8164
# File 'lib/kaltura_types.rb', line 8162

def flavor_assets
  @flavor_assets
end

#messagesObject

Array of actions as received from the rules that invalidated



8166
8167
8168
# File 'lib/kaltura_types.rb', line 8166

def messages
  @messages
end

#playback_captionsObject

Returns the value of attribute playback_captions.



8161
8162
8163
# File 'lib/kaltura_types.rb', line 8161

def playback_captions
  @playback_captions
end

#sourcesObject

Returns the value of attribute sources.



8160
8161
8162
# File 'lib/kaltura_types.rb', line 8160

def sources
  @sources
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
# File 'lib/kaltura_types.rb', line 8170

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.messages = 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'], 'KalturaTypedArray')
  end
end