Class: Kaltura::KalturaUnicornDistributionJobProviderData

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

#catalog_guidObject

The Catalog GUID the video is in or will be ingested into.



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

def catalog_guid
  @catalog_guid
end

#flavor_asset_versionObject

Flavor asset version.



60
61
62
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 60

def flavor_asset_version
  @flavor_asset_version
end

#media_changedObject

Indicates that the media content changed and therefore the job should wait for HTTP callback notification to be closed.



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

def media_changed
  @media_changed
end

#notification_base_urlObject

The schema and host name to the Kaltura server, e.g. www.kaltura.com



62
63
64
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 62

def notification_base_url
  @notification_base_url
end

#titleObject

The Title assigned to the video. The Foreign Key will be used if no title is provided.



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

def title
  @title
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# File 'lib/kaltura_plugins/kaltura_unicorn_distribution_client_plugin.rb', line 68

def from_xml(xml_element)
	super
	if xml_element.elements['catalogGuid'] != nil
		self.catalog_guid = xml_element.elements['catalogGuid'].text
	end
	if xml_element.elements['title'] != nil
		self.title = xml_element.elements['title'].text
	end
	if xml_element.elements['mediaChanged'] != nil
		self.media_changed = xml_element.elements['mediaChanged'].text
	end
	if xml_element.elements['flavorAssetVersion'] != nil
		self.flavor_asset_version = xml_element.elements['flavorAssetVersion'].text
	end
	if xml_element.elements['notificationBaseUrl'] != nil
		self.notification_base_url = xml_element.elements['notificationBaseUrl'].text
	end
end