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.



1171
1172
1173
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1171

def distribution_profile
  @distribution_profile
end

#distribution_profile_idObject

Returns the value of attribute distribution_profile_id.



1170
1171
1172
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1170

def distribution_profile_id
  @distribution_profile_id
end

#entry_distributionObject

Returns the value of attribute entry_distribution.



1173
1174
1175
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1173

def entry_distribution
  @entry_distribution
end

#entry_distribution_idObject

Returns the value of attribute entry_distribution_id.



1172
1173
1174
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1172

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



1185
1186
1187
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1185

def media_files
  @media_files
end

#provider_dataObject

Additional data that relevant for the provider only



1178
1179
1180
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1178

def provider_data
  @provider_data
end

#provider_typeObject

Returns the value of attribute provider_type.



1176
1177
1178
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1176

def provider_type
  @provider_type
end

#remote_idObject

Id of the media in the remote system



1175
1176
1177
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1175

def remote_id
  @remote_id
end

#resultsObject

The results as returned from the remote destination



1180
1181
1182
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1180

def results
  @results
end

#sent_dataObject

The data as sent to the remote destination



1182
1183
1184
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1182

def sent_data
  @sent_data
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1194

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