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



8212
8213
8214
# File 'lib/kaltura_types.rb', line 8212

def actions
  @actions
end

#bumper_dataObject

Returns the value of attribute bumper_data.



8215
8216
8217
# File 'lib/kaltura_types.rb', line 8215

def bumper_data
  @bumper_data
end

#flavor_assetsObject

Returns the value of attribute flavor_assets.



8210
8211
8212
# File 'lib/kaltura_types.rb', line 8210

def flavor_assets
  @flavor_assets
end

#messagesObject

Array of actions as received from the rules that invalidated



8214
8215
8216
# File 'lib/kaltura_types.rb', line 8214

def messages
  @messages
end

#playback_captionsObject

Returns the value of attribute playback_captions.



8209
8210
8211
# File 'lib/kaltura_types.rb', line 8209

def playback_captions
  @playback_captions
end

#sourcesObject

Returns the value of attribute sources.



8208
8209
8210
# File 'lib/kaltura_types.rb', line 8208

def sources
  @sources
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
# File 'lib/kaltura_types.rb', line 8218

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