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



8356
8357
8358
# File 'lib/kaltura_types.rb', line 8356

def actions
  @actions
end

#bumper_dataObject

Returns the value of attribute bumper_data.



8359
8360
8361
# File 'lib/kaltura_types.rb', line 8359

def bumper_data
  @bumper_data
end

#flavor_assetsObject

Returns the value of attribute flavor_assets.



8354
8355
8356
# File 'lib/kaltura_types.rb', line 8354

def flavor_assets
  @flavor_assets
end

#messagesObject

Array of actions as received from the rules that invalidated



8358
8359
8360
# File 'lib/kaltura_types.rb', line 8358

def messages
  @messages
end

#playback_captionsObject

Returns the value of attribute playback_captions.



8353
8354
8355
# File 'lib/kaltura_types.rb', line 8353

def playback_captions
  @playback_captions
end

#sourcesObject

Returns the value of attribute sources.



8352
8353
8354
# File 'lib/kaltura_types.rb', line 8352

def sources
  @sources
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
# File 'lib/kaltura_types.rb', line 8362

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'], 'KalturaObject')
	end
end