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



8269
8270
8271
# File 'lib/kaltura_types.rb', line 8269

def actions
  @actions
end

#bumper_dataObject

Returns the value of attribute bumper_data.



8272
8273
8274
# File 'lib/kaltura_types.rb', line 8272

def bumper_data
  @bumper_data
end

#flavor_assetsObject

Returns the value of attribute flavor_assets.



8267
8268
8269
# File 'lib/kaltura_types.rb', line 8267

def flavor_assets
  @flavor_assets
end

#messagesObject

Array of actions as received from the rules that invalidated



8271
8272
8273
# File 'lib/kaltura_types.rb', line 8271

def messages
  @messages
end

#playback_captionsObject

Returns the value of attribute playback_captions.



8266
8267
8268
# File 'lib/kaltura_types.rb', line 8266

def playback_captions
  @playback_captions
end

#sourcesObject

Returns the value of attribute sources.



8265
8266
8267
# File 'lib/kaltura_types.rb', line 8265

def sources
  @sources
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
# File 'lib/kaltura_types.rb', line 8275

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