Class: Kaltura::KalturaHuluDistributionJobProviderData

Inherits:
KalturaConfigurableDistributionJobProviderData show all
Defined in:
lib/kaltura_plugins/kaltura_hulu_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

#caption_local_pathsObject

Returns the value of attribute caption_local_paths.



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

def caption_local_paths
  @caption_local_paths
end

#cue_pointsObject

Returns the value of attribute cue_points.



56
57
58
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 56

def cue_points
  @cue_points
end

#file_base_nameObject

Returns the value of attribute file_base_name.



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

def file_base_name
  @file_base_name
end

#thumb_asset_file_pathObject

Returns the value of attribute thumb_asset_file_path.



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

def thumb_asset_file_path
  @thumb_asset_file_path
end

#video_asset_file_pathObject

Returns the value of attribute video_asset_file_path.



54
55
56
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 54

def video_asset_file_path
  @video_asset_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# File 'lib/kaltura_plugins/kaltura_hulu_distribution_client_plugin.rb', line 61

def from_xml(xml_element)
	super
	if xml_element.elements['videoAssetFilePath'] != nil
		self.video_asset_file_path = xml_element.elements['videoAssetFilePath'].text
	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
	if xml_element.elements['fileBaseName'] != nil
		self.file_base_name = xml_element.elements['fileBaseName'].text
	end
	if xml_element.elements['captionLocalPaths'] != nil
		self.caption_local_paths = KalturaClientBase.object_from_xml(xml_element.elements['captionLocalPaths'], 'KalturaString')
	end
end