Class: Kaltura::KalturaDistributionJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.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

#distribution_profileObject

Returns the value of attribute distribution_profile.



921
922
923
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 921

def distribution_profile
  @distribution_profile
end

#distribution_profile_idObject

Returns the value of attribute distribution_profile_id.



920
921
922
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 920

def distribution_profile_id
  @distribution_profile_id
end

#entry_distributionObject

Returns the value of attribute entry_distribution.



923
924
925
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 923

def entry_distribution
  @entry_distribution
end

#entry_distribution_idObject

Returns the value of attribute entry_distribution_id.



922
923
924
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 922

def entry_distribution_id
  @entry_distribution_id
end

#media_filesObject

Stores array of media files that submitted to the destination site Could be used later for media update



940
941
942
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 940

def media_files
  @media_files
end

#provider_dataObject

Additional data that relevant for the provider only



930
931
932
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 930

def provider_data
  @provider_data
end

#provider_typeObject

Returns the value of attribute provider_type.



927
928
929
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 927

def provider_type
  @provider_type
end

#remote_idObject

Id of the media in the remote system



926
927
928
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 926

def remote_id
  @remote_id
end

#resultsObject

The results as returned from the remote destination



933
934
935
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 933

def results
  @results
end

#sent_dataObject

The data as sent to the remote destination



936
937
938
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 936

def sent_data
  @sent_data
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



949
950
951
952
953
954
955
956
957
958
959
960
961
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 949

def from_xml(xml_element)
	super
	self.distribution_profile_id = xml_element.elements['distributionProfileId'].text
	self.distribution_profile = KalturaClientBase.object_from_xml(xml_element.elements['distributionProfile'], 'KalturaDistributionProfile')
	self.entry_distribution_id = xml_element.elements['entryDistributionId'].text
	self.entry_distribution = KalturaClientBase.object_from_xml(xml_element.elements['entryDistribution'], 'KalturaEntryDistribution')
	self.remote_id = xml_element.elements['remoteId'].text
	self.provider_type = xml_element.elements['providerType'].text
	self.provider_data = KalturaClientBase.object_from_xml(xml_element.elements['providerData'], 'KalturaDistributionJobProviderData')
	self.results = xml_element.elements['results'].text
	self.sent_data = xml_element.elements['sentData'].text
	self.media_files = KalturaClientBase.object_from_xml(xml_element.elements['mediaFiles'], 'KalturaDistributionRemoteMediaFile')
end