Class: Kaltura::KalturaFacebookDistributionJobProviderData

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

#captions_infoObject

Returns the value of attribute captions_info.



88
89
90
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 88

def captions_info
  @captions_info
end

#thumb_asset_idObject

Returns the value of attribute thumb_asset_id.



87
88
89
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 87

def thumb_asset_id
  @thumb_asset_id
end

#video_asset_file_pathObject

Returns the value of attribute video_asset_file_path.



86
87
88
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 86

def video_asset_file_path
  @video_asset_file_path
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



91
92
93
94
95
96
97
98
99
100
101
102
# File 'lib/kaltura_plugins/kaltura_facebook_distribution_client_plugin.rb', line 91

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['thumbAssetId'] != nil
		self.thumb_asset_id = xml_element.elements['thumbAssetId'].text
	end
	if xml_element.elements['captionsInfo'] != nil
		self.captions_info = KalturaClientBase.object_from_xml(xml_element.elements['captionsInfo'], 'KalturaFacebookCaptionDistributionInfo')
	end
end