Class: Kaltura::KalturaFreewheelGenericDistributionJobProviderData

Inherits:
KalturaConfigurableDistributionJobProviderData show all
Defined in:
lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaConfigurableDistributionJobProviderData

#field_values

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#cue_pointsObject

Returns the value of attribute cue_points.



58
59
60
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 58

def cue_points
  @cue_points
end

#thumb_asset_file_pathObject

Demonstrate passing single path to the job



57
58
59
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 57

def thumb_asset_file_path
  @thumb_asset_file_path
end

#video_asset_file_pathsObject

Demonstrate passing array of paths to the job



55
56
57
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 55

def video_asset_file_paths
  @video_asset_file_paths
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



61
62
63
64
65
66
67
68
69
70
71
72
# File 'lib/kaltura_plugins/kaltura_freewheel_generic_distribution_client_plugin.rb', line 61

def from_xml(xml_element)
	super
	if xml_element.elements['videoAssetFilePaths'] != nil
		self.video_asset_file_paths = KalturaClientBase.object_from_xml(xml_element.elements['videoAssetFilePaths'], 'KalturaString')
	end
	if xml_element.elements['thumbAssetFilePath'] != nil
		self.thumb_asset_file_path = xml_element.elements['thumbAssetFilePath'].text
	end
	if xml_element.elements['cuePoints'] != nil
		self.cue_points = KalturaClientBase.object_from_xml(xml_element.elements['cuePoints'], 'KalturaCuePoint')
	end
end