Class: Kaltura::KalturaDistributionJobData
- Inherits:
-
KalturaJobData
- Object
- KalturaObjectBase
- KalturaJobData
- Kaltura::KalturaDistributionJobData
- Defined in:
- lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb
Direct Known Subclasses
KalturaDistributionDeleteJobData, KalturaDistributionFetchReportJobData, KalturaDistributionSubmitJobData, KalturaDistributionUpdateJobData
Instance Attribute Summary collapse
-
#distribution_profile ⇒ Object
Returns the value of attribute distribution_profile.
-
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
-
#entry_distribution ⇒ Object
Returns the value of attribute entry_distribution.
-
#entry_distribution_id ⇒ Object
Returns the value of attribute entry_distribution_id.
-
#media_files ⇒ Object
Stores array of media files that submitted to the destination site Could be used later for media update.
-
#provider_data ⇒ Object
Additional data that relevant for the provider only.
-
#provider_type ⇒ Object
Returns the value of attribute provider_type.
-
#remote_id ⇒ Object
Id of the media in the remote system.
-
#results ⇒ Object
The results as returned from the remote destination.
-
#sent_data ⇒ Object
The data as sent to the remote destination.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#distribution_profile ⇒ Object
Returns the value of attribute distribution_profile.
1163 1164 1165 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1163 def distribution_profile @distribution_profile end |
#distribution_profile_id ⇒ Object
Returns the value of attribute distribution_profile_id.
1162 1163 1164 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1162 def distribution_profile_id @distribution_profile_id end |
#entry_distribution ⇒ Object
Returns the value of attribute entry_distribution.
1165 1166 1167 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1165 def entry_distribution @entry_distribution end |
#entry_distribution_id ⇒ Object
Returns the value of attribute entry_distribution_id.
1164 1165 1166 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1164 def entry_distribution_id @entry_distribution_id end |
#media_files ⇒ Object
Stores array of media files that submitted to the destination site Could be used later for media update
1177 1178 1179 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1177 def media_files @media_files end |
#provider_data ⇒ Object
Additional data that relevant for the provider only
1170 1171 1172 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1170 def provider_data @provider_data end |
#provider_type ⇒ Object
Returns the value of attribute provider_type.
1168 1169 1170 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1168 def provider_type @provider_type end |
#remote_id ⇒ Object
Id of the media in the remote system
1167 1168 1169 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1167 def remote_id @remote_id end |
#results ⇒ Object
The results as returned from the remote destination
1172 1173 1174 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1172 def results @results end |
#sent_data ⇒ Object
The data as sent to the remote destination
1174 1175 1176 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1174 def sent_data @sent_data end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
1186 1187 1188 1189 1190 1191 1192 1193 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 |
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 1186 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 |